Skip to content

Replace hooks by copier features and improve updates #5

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

Merged
merged 6 commits into from
Jan 19, 2025

Conversation

dalito
Copy link
Owner

@dalito dalito commented Jan 19, 2025

Changes:

  • Replace cookiecutter-related hooks by standard copier features in copier.yaml
  • Ask only the questions required, skipping superfluous ones.
  • Prevent copier from changing files that already exist (see _skip_if_exists section in copier.yaml)
    • Note that even with this change applying the template to existing projects and updating causes too many changes. This is due to the design of the original linkml-project-cookiecutter which did not consider code-lifecycle-management as top priority.
  • Add notes on migrating existing linkml-project-cookiecutter-based projects to this template.

Closes #4

@dalito dalito force-pushed the issue4-less-questions-better-update branch 8 times, most recently from a03e971 to 87006fe Compare January 19, 2025 14:22
@dalito dalito force-pushed the issue4-less-questions-better-update branch from 87006fe to 68d58e7 Compare January 19, 2025 15:08
@dalito dalito added this to the Release 0.1.0 milestone Jan 19, 2025
@dalito dalito merged commit 76eab81 into main Jan 19, 2025
1 check passed
@dalito dalito deleted the issue4-less-questions-better-update branch January 19, 2025 15:55
@dalito dalito added the _repo Related to the template-repository label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_repo Related to the template-repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve copier questions and behavior on update
1 participant