-
Notifications
You must be signed in to change notification settings - Fork 3
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
Let renovate run less frequently #182
Comments
cc @rarkins |
@Frikki @TylorS I'm happy to help.. it's one of my goals to make Renovate so that you eventually see it less and less. However everything is a trade-off. For example:
My preferred approach to reducing the "noise" in a repo is to branch-push automerge as many dependencies as possible, i.e.:
That way most of those upgrades will be "silent" and just appear in your I plan to write up a guide/doc on all these approaches and their pros/cons but also happy to answer direct questions here in the meantime. Maybe a very simple place to start is to configure renovate to run on weekends only and see how you go getting them merged. |
@rarkins Thank you for your time and contribution. A few things, though. It is important to our git history that merges are made with |
I'm not 100% sure that I follow your requirements so I'll try to repeat them back with my answers and you can let me know if I'm misunderstanding anything.
Renovate can be configured so that it always has 1 and only 1 commit per PR, if that helps. Also it supports two ways to perform automerges - branch push (which I described), where we essentially just update the base branch to point to our Renovate commit that is 1 commit ahead of base branch, or branch merge commit where we use the GitHub API to explicitly merge the renovate branch into base branch. Here is the API we use for the second "merge commit" approach: https://developer.github.com/v3/repos/merging/
Meaning: if Renovate is updating
Sure, so anyone who's branched off master prior to commits would by definition be out of date - or "incorrect packages" as you say?
You're meaning that having lots of commits to
I don't know what you specifically mean by this. One more thing: Renovate doesn't have to target your default branch i.e. The only way to not have some work is not to update packages, then? Or more practically.. only update them right before a release? The longer you delay and the more you group - e.g. if you decide to have a single Renovate branch for all minor and patch updates - the more you risk breaks and maybe last minute hunts for which dependency broke things. Anyway, Renovate is intended to support whatever workflow you prefer - I don't believe in "only one way" to do things - it's just a matter of making sure I understand what you want after you weigh up the pros/cons. |
FYI, I wrote an expanded doc on Noise Reduction for Renovate, if you've got the time to read. |
Investigate if we can configure renovate to only make PRs once a week (or so). If possible, implement it!
The text was updated successfully, but these errors were encountered: