Hi all,
finally the first version of the GitHub plugin for Gerrit is complete and available for review:
A Gerrit 2.8-SNAPSHOT with GitHub plugin will be running in a few hours at:
In a nutshell works with a 3-steps approach.
Step-1: GitHub repository import and replication with Gerrit
Select the list of GitHub repositories you want to start managing with Gerrit.
Those will be then cloned and Gerrit replication configuration automatically updated to use GitHub as remote slave for those.
NOTE: you don't need any SSH key in GitHub for that, the plugin will use the GitHub OAuth token stored in the secure.config
Step-2: Import Pull Requests as Gerrit changes
For all the GitHub repositories that have been imported in Gerrit, checks if there are opened Pull Requests and allows to select the ones to import.
Step-3: Use GitHub pull requests with the normal Gerrit Change review workflow
Pull requests are visible because of the topic pull request # associated to them (e.g. GitHub #88 in the picture).
Each commit will be imported as a different Change, unless the commits have a "Change-ID: xxxx" field associated.
Commits belonging to the same Pull Request can be selected by clicking on the Gerrit topic name.
--- * ---
Comments, suggestions and ideas are very welcome ;-)
Luca.