mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #16147
[Bug 1266630] [NEW] Set up an automatic gerrit hook to notify Launchpad when a new patch is created for a bug.
Public bug reported:
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.
** Affects: mahara
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References