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

Add version check #92

Closed
twpayne opened this issue Jan 9, 2019 · 2 comments · Fixed by #272
Closed

Add version check #92

twpayne opened this issue Jan 9, 2019 · 2 comments · Fixed by #272
Labels
enhancement New feature or request

Comments

@twpayne
Copy link
Owner

twpayne commented Jan 9, 2019

As chezmoi gathers features, source directories might depend on features that are not present in older versions of chezmoi. chezmoi should include a way to specify the minimum version of chezmoi for the source directory to apply correctly, and issue an error or warning when the current version of chezmoi is too old.

@twpayne twpayne added enhancement New feature or request v1.0.0 labels Jan 9, 2019
@twpayne twpayne removed the v1.0.0 label Jan 17, 2019
@kkirsche
Copy link
Contributor

Do you envision this being granular, at a file or directory level or per feature / capability, or more coarse like a general this version or newer style check?

@twpayne
Copy link
Owner Author

twpayne commented Mar 16, 2019

I think a general "minimum chezmoi version" field in the source state somewhere (maybe in a .chezmoiversion file) is sufficient.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants