-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Create config:best-practices
preset
#16100
Comments
why did you choose |
The idea is to add a new preset which is more "opinionated" than |
Goal of the new presetMake it easy for people to "do the right thing" by giving them a Renovate developer approved way to configure the bot. 😄 What other things to include?@JamieMagee and @viceice Do you have any suggestions for other things that we should put in our new We also have some recommendations from Renovate docs, dependency pinning, So what's best. Do we want to include any of those into the preset?
|
Pinning all dev dependencies |
It sounds like we have enough information to start working on this feature? I'll need a developer to write the actual preset though. I'll be happy to work on the docs to highlight the new preset. 😉 |
@rarkins how about adding this issue to the Now we're renaming Having both presets allows users to:
|
It's not breaking, but good idea to highlight it at the same time |
@viceice can you add this issue to your |
I'm willing to to open a pull request to add this preset. I'm also wondering since this is a new preset why the link to v36, a new preset does not introduce a breaking change right? So a highlight in the v36 release might be wanted but should not stop adding it to v35 already? |
I have opened a draft pr to the main branch, I'll target v36 if required. |
You're right, the new preset My idea is to "launch" the
Having both |
I'll target the v36 branch as soon as it exists 👍 |
I guess we could merge it against v35 but then "announce" it as part of the v36 notes, which have a higher chance of being read than a regular feature release |
At that's left to do then is:
The new page for the best practice preset can then be introduced in the new major version. |
config:best-practice
presetconfig:best-practices
preset
Do we still want a separate file just to explain the new preset? We could explain the new preset in the "Upgrade best practices" file that I'm already writing instead. @rarkins can you pick from these options?
|
(1) |
🎉 This issue has been resolved in version 36.104.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
We, as Renovate developers, want to have a way to tell our users: "here's what we recommend you do". A
config:best-practice
preset will help us do this.Users can choose to extend from our
config:best-practice
preset. Nobody is "forced" into a workflow they may not like.If you have any ideas on how this should be implemented, please tell us here.
Todo by Renovate programmer:
config:best-practices
preset, which includes:devDependencies
Todo by @HonkingGoose:
config:best-practices
preset in the new best practices upgrade file in PR docs: update best practices #22233config:best-practice(s)
presetextends
array)Related issues:
config:base
->config:recommended
#12024helpers:pinGitHubActionDigests
toconfig:base
#11987Is this a feature you are interested in implementing yourself?
Partially, I'll let somebody else do the code work, and I'll do the documentation work.
The text was updated successfully, but these errors were encountered: