Copier support #25538
Replies: 8 comments 10 replies
-
Hi there, You're asking us to support a new package manager. We need to know some basic information about this package manager first. Please copy/paste the new package manager questionnaire, and fill it out in full. Once the questionnaire is filled out we'll decide if we want to support this new manager. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
You should be able to do it with a combination of using a customManager and postUpgradeTasks. For native support fill out the questionare. |
Beta Was this translation helpful? Give feedback.
-
New package manager questionnaireDid you read our documentation on adding a package manager?
BasicsWhat's the name of the package manager?What language(s) does this package manager support?It is a tool that generates/scaffolds any text files, according to the template. The templates are Git repos, and they use Git tags for versioning. How popular is this package manager?Currently, 1.3k stars on GitHub, and 139 forks. Does this language have other (competing?) package managers?
What are the big selling points for this package manager?It is not for updating dependencies, but it is intended to keep the scaffolded code up-to-date. For example, README file is part of scaffolding, and if a badge needs to be updated, the automatic re-run of copier (executed by Renovatebot) would prepare a PR to update the badge. Detecting package filesWhat kind of package files, and names, does this package manager use?Every project scaffolded using copier has the following file: Which
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your swift responses! 👍 Indeed, I think that this could be doable using the mentioned parameters, but I believe it would be nice to have support for copier. Actually, it would be sufficient for me to have an example on how to configure Renovatebot for copier (so I wouldn't have to fight with regex etc.) 🙏 |
Beta Was this translation helpful? Give feedback.
-
Seems the GitLab Infra team is already doing that. See https://gitlab.com/gitlab-com/gl-infra/common-ci-tasks/-/merge_requests/146 |
Beta Was this translation helpful? Give feedback.
-
Edit: I removed all Copier-specific options to avoid stalling the base functionality any further. Some of the now missing functionality can be implemented in Copier instead, the rest should be triaged separately. Overview of Copier (roughly) Copier templates are repositories with templated paths and file contents, along with a special configuration file ( In my PR, I'm adding the following options:
|
Beta Was this translation helpful? Give feedback.
-
Hi guys, could we continue here? Updating a copier template is one of my main use cases for using renovate. |
Beta Was this translation helpful? Give feedback.
-
If anyone followed this discussion, but not the issue/PR: Initial Copier support was released today in version |
Beta Was this translation helpful? Give feedback.
-
Tell us more.
Hi, we are using copier to scaffold new projects. It would be great if Renovate could update the copier-generated projects, so it would execute the copier with the new version of template, using the stored answers.
Beta Was this translation helpful? Give feedback.
All reactions