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

Automated (partial) update for generated projects #3

Open
apirogov opened this issue May 11, 2023 · 2 comments
Open

Automated (partial) update for generated projects #3

apirogov opened this issue May 11, 2023 · 2 comments
Labels
enhancement New feature or request idea Just an idea, possibly speculative, needs more planning and thinking.

Comments

@apirogov
Copy link
Contributor

apirogov commented May 11, 2023

This could prove difficult to provide in a useful way, but it would be great if repositories based on this template have some mechanism to:

  • check whether a new version of the template is available
  • create a PR suggesting changes reflecting the new template

It could work similarly to e.g. carpentries/workbench-template-md (instantiated e.g. here)

At least for the CI scripts and certain non-templated configuration files this might be both realistic and convenient, simplifying project maintenance.

Still, this needs some more thinking and discussions to clarify what and how and with how much effort could and should be updated in a semi-automated fashion.

@apirogov apirogov added the enhancement New feature or request label May 11, 2023
@apirogov apirogov added the idea Just an idea, possibly speculative, needs more planning and thinking. label Jun 15, 2023
@apirogov apirogov modified the milestone: Ideas Nov 29, 2023
@apirogov
Copy link
Contributor Author

apirogov commented Nov 29, 2023

After further thinking it feels like rather difficult and infeasible.

Carpentries projects are much more homogeneous, by design. This template is supposed to be used in various ways and adapted in unexpected places. Such a feature would require a lot of effort with unclear benefit.

Alternative idea:

When initializing project, ask if the user wants to know about new versions of the template.

If confirmed, add/activate some CI script that would create an issue for the project like "check out the new template" and points to the changelog.

This might be the least invasive and pragmatic way to nudge users to keep their repo structure up to date. However, it is unclear if anyone would be interested in using such a thing.

@apirogov
Copy link
Contributor Author

This could be useful https://github.com/cruft/cruft/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idea Just an idea, possibly speculative, needs more planning and thinking.
Projects
None yet
Development

No branches or pull requests

1 participant