Experiment Golang's GerritBot for synchronizing GitHub pull requests to Gerrit
dmsimard opened this issue · comments
David Moreau Simard commented
Golang reviews patches on Gerrit while allowing pull requests to be sent.
They do this with GerritBot which takes care of synchronizing pull requests to gerrit changes.
At a first glance, it looks fairly reliable and automatically takes care of things like:
- Squashing multiple commits from a PR to a single commit in Gerrit
- Linking the Gerrit change to the PR (with a commit footer like
GitHub-Pull-Request: golang/go#31627
) - Re-posting comments from gerrit to github
A successful implementation would allow contributors to send pull requests to the different ARA projects.
This is what it looks like from GitHub:
And this is what it looks like from Gerrit:
David Moreau Simard commented
It turns out that sqlalchemy also mirror their PRs to gerrit but they do it differently: https://news.ycombinator.com/item?id=24921021