← Back to team overview

mahara-contributors team mailing list archive

[Bug 1266630] Re: Set up an automatic gerrit hook to notify Launchpad when a new patch is created for a bug.

 

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Tags added: gerrit infrastructure

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1266630

Title:
  Set up an automatic gerrit hook to notify Launchpad when a new patch
  is created for a bug.

Status in Mahara ePortfolio:
  In Progress

Bug description:
  We've got a "change-merged" hook script set up in reviews.mahara.org,
  which automatically posts a comment to Launchpad when a patch is
  merged and the patch commit message contains a launchpad bug number.

  I think it would be nice to have a similar script to automatically
  post a comment when a patch is first uploaded into gerrit. That way, a
  person looking at the Launchpad bug will be able to easily see that
  there's a patch waiting to be reviewed for that bug. Currently, we ask
  developers to post such a comment manually, but they often forget to
  do that.

  So, since there's an appropriate gerrit hook (
  https://git.eclipse.org/r/Documentation/config-
  hooks.html#_patchset_created ) we might as well do it automatically.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1266630/+subscriptions


References