Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support user configs #879

Open
browniebroke opened this issue Feb 3, 2025 · 4 comments · May be fixed by #900
Open

Support user configs #879

browniebroke opened this issue Feb 3, 2025 · 4 comments · May be fixed by #900
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@browniebroke
Copy link
Owner

browniebroke commented Feb 3, 2025

Is your feature request related to a problem? Please describe.

Copier recently added support for user defined configs, where one can set some "global" variables in a config file to pre-fill them when running a template. They suggest a few "well-known" variables which this template should try to adopt: https://copier.readthedocs.io/en/latest/settings/#well-known-variables

That will probably end up being a breaking change for the template as the inputs will change and will prevent folks to run copier update.

Describe alternatives you've considered

n/a

Additional context

PR: copier-org/copier#1940

Documentation: https://copier.readthedocs.io/en/latest/settings/

@browniebroke browniebroke added enhancement New feature or request help wanted Extra attention is needed labels Feb 3, 2025
@34j 34j linked a pull request Feb 22, 2025 that will close this issue
6 tasks
@34j
Copy link
Contributor

34j commented Feb 22, 2025

I asked about this here: https://github.com/orgs/copier-org/discussions/1980
Although this (#900) will probably only make it necessary to re-enter the variables or create a config file.

@browniebroke
Copy link
Owner Author

Very cool this thing about migration 👍

@34j
Copy link
Contributor

34j commented Feb 22, 2025

Very cool this thing about migration 👍

Yes but note that you need the version at the time this change was made.
Since I do not know when you will merge the PR, you will (eventually) need to take over #900 yourself or open your own PR and specify the version.

@browniebroke
Copy link
Owner Author

Making a note for myself to the docs: https://copier.readthedocs.io/en/stable/configuring/#migrations

I think I need to start tagging versions of this template which would help with the problems you raised in #853 as you could follow the releases of the project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants