Open mliebischer opened 2 weeks ago
Maybe I'm just too stupid, but how can I specify a variable other than CHAMELEON_CACHE in environment_paths?
CHAMELEON_CACHE
environment_paths
Example:
Command:
cookiecutter -f --no-input --config-file instance.yaml https://github.com/plone/cookiecutter-zope-instance --checkout 2.1.0
Output:
UserWarning: Invalid default received: ['TEST', 'CHAMELEON_CACHE'] provided for multi-choice variable environment_paths, but valid choices are ['CHAMELEON_CACHE']
Seems like CHAMELEON_CACHE is only allowed value, see cookiecutter.json
Compare this with db_blobs_mode, which also only has a few allowed values.
db_blobs_mode
Tested with v2.1.0
This should be fixed in cookiecutter 2.6.0, which includes the fix of https://github.com/cookiecutter/cookiecutter/issues/2009 see also #15
Maybe I'm just too stupid, but how can I specify a variable other than
CHAMELEON_CACHE
inenvironment_paths
?Example:![image](https://github.com/plone/cookiecutter-zope-instance/assets/15084997/6b262943-e292-4799-a340-dd0b472f153b)
Command:
Output:
Seems like
CHAMELEON_CACHE
is only allowed value, see cookiecutter.jsonCompare this with
db_blobs_mode
, which also only has a few allowed values.Tested with v2.1.0