Add Manager for Cruft #24000
Replies: 5 comments 20 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.
-
New package manager questionnaireDid you read our documentation on adding a package manager?
BasicsName of package managercruft What language does this support?cruft/cookiecutter How popular is this package manager?
Does this language have other (competing?) package managers?
Not, that I know of. Package File DetectionWhat type of package files and names does it use?
What fileMatch pattern(s) should be used?hardcoded filename Is it likely that many users would need to extend this pattern for custom file names?
Is the fileMatch pattern likely to get many "false hits" for files that have nothing to do with package management?No Parsing and ExtractionCan package files have "local" links to each other that need to be resolved?No Is there a reason why package files need to be parsed together (in serial) instead of independently?No What format/syntax is the package file in?
How do you suggest parsing the file?
Does the package file structure distinguish between different "types" of dependencies? e.g. production dependencies, development dependencies, etc?
List all the sources/syntaxes of dependencies that can be extractedThere is always only one dependency, that is a Commit in another (Git) repository. Describe which types of dependencies above are supported and which will be implemented in future
VersioningWhat versioning scheme does the package file(s) use?Git commit hash Does this versioning scheme support range constraints, e.g.
|
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
I created a minimal setup to show what an update would look like. It consists of the following three repositories:
In the following I'll explain how I created the repositories and the PRs inside of them. The SetupFirst I created the template repository. Back then the HEAD pointed to commit 5536d4fdb58ddb5c9b1dcf1eff05cc58ed2ddc38 - initial cookiecutter template. I then created the two downstream projects by doing the following (example for the plain repo):
The Update❗ this is where RenovateBot would get in
|
Beta Was this translation helpful? Give feedback.
-
Hi there, This is intended as a polite, automated request that users avoid We know it might be common elsewhere but we participate in hundreds of discussions a week and would need to turn off GitHub mobile notifications if we were mentioned in every one. As a general rule, we will read and respond to all discussions in this repository, so there is no need to mention us. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
Tell us more.
Hey,
Cruft is a tool that lets you create new repositories from templates (e.g. cookiecutter templates) and keepthem in sync when the template repository changes.
https://cruft.github.io/cruft/
Do you think this would be a good addition as a manager in RenovateBot? Was it already discussed maybe? (I couldn't find anything in this repo.)
If you think this would be a nice addition, I would gladly try my best to implement it. If someone could point me to some documentation on how to start :)
Beta Was this translation helpful? Give feedback.
All reactions