Gerrit/Phabricator integration
Appearance
Phabricator project: #Gerrit
< Gerrit
Gerrit Notification Bot (aka gerritbot) is the username used by a Gerrit plugin to perform actions on Phabricator.
Source
The bot is implemented as a Gerrit plugin: https://gerrit-review.googlesource.com/#/admin/projects/plugins/its-phabricator (GitHub)
The configuration is done via Gerrit daemon main config. See: gerrit.config.erb (search for "its-phabricator") and the files beneath /etc/its
Functionality
- If
Bug: TXXX
is used as a footer in a Gerrit commit message, Gerrit Notification Bot will:- Add a comment to task TXXX cross-referencing the Gerrit commit
- Add the tag
#Patch-For-Review
to task TXXX
- If a Gerrit commit is merged or abandoned that contains "Bug: TXXX" as a footer in its commit message, Gerrit Notification Bot will:
- Add a comment to bug TXXX cross-referencing the Gerrit commit
Maintainer
If there's a problem, file a bug in Phabricator against #GerritBot.
Archive
The feature was previously provided by script: grrrit-wm