Replies: 1 comment
-
Choices are probably specially handled, while exclusions are not. That would be a feature request 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Copier 9.7.1
I'm specifying the question
manage_spaces
like this:The first
_excludes
example in the docs here implies that it should be possible to use Jinjaif
blocks in a string to indicate which files should be excluded. Reproducing that for easy reference:And that works! Only one or the other set of files gets copied when I do this:
Now I want to make that DRYer by following this dynamic choices example, which similarly implies that it should be possible to wrap a Jinja template around YAML structure. Reproducing here:
But this doesn't work:
When I do this, none of these files are excluded.
I've been wracking my brain on this for hours. What am I missing?!
Beta Was this translation helpful? Give feedback.
All reactions