Renovate: Support for Gerrit

Created on 17 Jul 2019  路  4Comments  路  Source: renovatebot/renovate

What would you like Renovate to be able to do?
It would be great to have support for Gerrit based Git repositories including the Gerrit change workflow.

Describe the solution you'd like
Create a Gerrit change for each dependency update and also update this changes on every run. Hashtags may be used to label changes (like GitHub labels).

Describe alternatives you've considered
Gerrit provides a REST API which could be used to query/modify changes.

Additional context
Gerrit is still used in a lot of projects especially by Google (https://gerrit.googlesource.com/, https://fuchsia.googlesource.com/).

help wanted priority-3-normal

Most helpful comment

Yes! Started with the implementation in my fork: https://github.com/derkoe/renovate/tree/feat/4109-gerrit

All 4 comments

Renovate uses branches extensively. Will this map to Gerrit's concepts?

Yes - i'll map to a "change" in Gerrit. The only difference is that Gerrit only allows one commit in such a "change" so all changes after the first commit have to be amended and then pushed.

Maybe I'll find some time in the next weeks to provide a proof of concept implementation

Renovate only every makes one commit off master and force pushes over the top if it needs to make a change. So far sounds compatible?

Yes! Started with the implementation in my fork: https://github.com/derkoe/renovate/tree/feat/4109-gerrit

Was this page helpful?
0 / 5 - 0 ratings