Git post-receive hook to add a comment to related issue in bugzilla
skunnyk at alteroot.org
Tue May 30 23:36:32 CEST 2017
A new git post-receive hook is in place, it parse the git commit
message, detect if there is a bug number referenced, and automatically
posts commits references to bugzilla related issue.
An example: https://bugzilla.xfce.org/show_bug.cgi?id=12159#c4
Regex is "(?<=Bug)[:# ]*[0-9]+" for now.
This is a really cool new feature (thanks Simon for the idea/specs).
It’s not perfect and it need more work, but it is now available on all
repositories (appart from user repo and archives).
Also, syntax and bugs highlighting has been enabled on
as a syntax highlighting example
look at the nice css around the bug number reference in the commit title :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xfce4-dev