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

Improve copier questions and behavior on update #4

Closed
dalito opened this issue Jan 19, 2025 · 1 comment · Fixed by #5
Closed

Improve copier questions and behavior on update #4

dalito opened this issue Jan 19, 2025 · 1 comment · Fixed by #5
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dalito
Copy link
Owner

dalito commented Jan 19, 2025

The cookiecutter-related hooks directory can be removed. The scripts contain validation logic and post-setup messages. Both can be replaced by standard options in copier.yaml.

Copier allows to ask questions based on conditions. This can be used to ask less, for example if use_schemasheets is answered with "No" all related questions on details can be skipped.

On update but also when switching a project created with linkml-project-cookiecutter to this template, less files should be changed/overwritten. Limiting changes on update is possible to some extend now but will probably further improve, see copier-org/copier#1733.

@dalito dalito added the enhancement New feature or request label Jan 19, 2025
@dalito dalito self-assigned this Jan 19, 2025
@dalito
Copy link
Owner Author

dalito commented Jan 19, 2025

In order to make the template more useful for providing continuous, easy-to-merge updates to the derived projects, the template needs to be partially re-designed. This will break compatibility with the linkml-project-cookiecutter template and is not planned for 0.1.x releases/tags.

@dalito dalito added this to the Release 0.1.0 milestone Jan 19, 2025
@dalito dalito closed this as completed in #5 Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant