-
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
Automate Configuration Migrations #1502
Comments
It’s definitely my plan to raise a PR for this, but I want to review quite a few logs first to make sure they’re right. I know of one bug with it for instance (empty errors array gets appended sometimes). For the app I probably won’t make automerge the default but it could be configurable for self hosted users to enable. |
We definitely have a small, but growing number, of repositories with minor configuration changes indicated by Renovate. Our hope is to keep our overhead low on the side of the team deploying Renovate, and to be consistent in how we communicate configuration changes (through automated PRs). Having it off by default would be fine with me, as it would be easy enough to enable in our on-premise deployment. |
For now I'm classifying this as status:blocked because I want to complete the refactoring of migration code first, so that key ordering is preserved as much as possible. Without it, migration PRs will be harder to read. |
Blocked by #11459 |
I think this can be unblocked now, and we should release it using a feature flag |
The branch name should be |
I've did some research and fiddled around. One approach I tried was to hook into the main flow of renovate with custom This approach happens to be quite cumbersome , as the migrated config can have deleted lines or renamed value pairs and a lot of extra housekeeping is needed for this one to work. one other solution is to simply write to a file the updated migrated config and create a PR for it. Would appreciate your input on this and as to how to proceed further |
We can detect the user's indentation. There's already a library for this which we use in a couple of places. |
This is only a POC, there is still much to be done. done via the manager -> datasource -> versioning route |
I think this might be over complicating things. We just want a standalone PR similar to how onboarding ones are done. Unrelated to managers, datasources and versioning |
🎉 This issue has been resolved in version 32.90.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Recently I've noticed the following output for a few projects using an on-premise deployment of Renovate:
It looks like the property
baseBranches
changed.Would it be possible to have Renovate automate the process of upgrading a project's configuration for these minor changes?
Perhaps submitting a pull request with the new, migrated, configuration. Also auto-accept in the event that the change is non-breaking, and status checks pass?
The text was updated successfully, but these errors were encountered: