You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Difference between revisions of "Gerrit Notification Bot"

From Wikitech
Jump to navigation Jump to search
imported>Krinkle
m (Krinkle moved page Obsolete:Gerrit Notification Bot to Gerrit Notification Bot over redirect)
imported>20after4
m (Category:Bots)
 
Line 3: Line 3:
 
== Source ==
 
== Source ==
 
* https://gerrit-review.googlesource.com/#/admin/projects/plugins/its-phabricator
 
* https://gerrit-review.googlesource.com/#/admin/projects/plugins/its-phabricator
* Configuration: It is configured in Gerrit's configuration, see: [[phab:diffusion/OPUP/browse/production/modules/gerrit/templates/gerrit.config.erb|gerrit.config.erb]] (search for "its-phabricator") and the files beneath [[phab:diffusion/OPUP/browse/production/modules/gerrit/files/etc/its/|/etc/its]]
+
* Configuration: It is configured in Gerrit's configuration, see: [[phab:diffusion/OPUP/browse/production/modules/gerrit/templates/gerrit.config.erb|gerrit.config.erb]] (search for "its-phabricator") and the files beneath [[phab:diffusion/OPUP/browse/production/modules/gerrit/files/homedir/review_site/etc/its/|/etc/its]]
  
 
== Functionality ==
 
== Functionality ==
Line 20: Line 20:
 
[[Category:Services]]
 
[[Category:Services]]
 
[[Category:Gerrit]]
 
[[Category:Gerrit]]
 +
[[Category:Bots]]

Latest revision as of 20:51, 15 January 2020

Gerrit Notification Bot (aka gerritbot) is the username used by a Gerrit plugin to perform actions on Phabricator.

Source

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.

See also