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

copier update? #853

Open
2 of 5 tasks
34j opened this issue Dec 31, 2024 · 2 comments
Open
2 of 5 tasks

copier update? #853

34j opened this issue Dec 31, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@34j
Copy link
Contributor

34j commented Dec 31, 2024

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

I am a little frustrated that this repository is supposed to be a template, yet the content gets changed by your personal all-repos along with your other repositories.

Describe alternatives you've considered

  • Add a CI that automatically opens PRs to follow updates easier ?
  • Provide a way to subscribe your all-repos PRs ?
  • (If you think this is a hassle then there would be no meaning using copier.)

Additional context

I have already created about 20~30 packages using this template and it is very tedious (and nearly impossible) to run copier update manually for each repository. Thanks in advance

Code of Conduct

  • I agree to follow this project's Code of Conduct

Are you willing to resolve this issue by submitting a Pull Request?

  • Yes, I have the time, and I know how to start.
  • Yes, I have the time, but I don't know how to start. I would need guidance.
  • No, I don't have the time, although I believe I could do it if I had the time...
  • No, I don't have the time and I wouldn't even know how to start.
@34j 34j added the enhancement New feature or request label Dec 31, 2024
@abe-101
Copy link

abe-101 commented Dec 31, 2024

@browniebroke recently brought Cruft to my attention.
It strive to solve the problem you mention.

I've only used it with Cookiecutter templates but i wonder if it
ll work with copier
or perhaps there's a similar tool for copier

@browniebroke
Copy link
Owner

I am a little frustrated that this repository is supposed to be a template, yet the content gets changed by your personal all-repos along with your other repositories.

It's a project template for -first and foremost- my own needs, and yes, I change a lot of stuff here as I change it into my other repos. I don't understand why changes made here with (or without) all-repos are preventing running copier update.

If you think this is a hassle then there would be no meaning using copier.

To add to my previous point, I don't really make use of copier update as a number of my repos were either created by hand or generated when this template was still a cookiecutter template (without copier). My intention with changing cookiecutter to copier was to make use of the update feature but I haven't got around to move to that fully yet, and by the sounds of it, it seems like it has some rough edges...

I have already created about 20~30 packages using this template and it is very tedious (and nearly impossible) to run copier update manually for each repository. Thanks in advance

The all-repos tool has a autofix_lib.run(...) which enables you to run any command on all your repos. I'm not sure whether it would work, but have you tried to run it with autofix_lib.run("copier", "update")?

All in all, this is a template for my own needs first and you're free to not use it. Happy to review ideas brought up by the community but at the end of the day, the decision to integrate a feature will come down to whether I'll use it myself. Sorry if this sounds selfish, but I don't intend to support every use case under the sun here.

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

No branches or pull requests

3 participants