You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Glanville, Jay" <Ja...@NaturalConvergence.com> on 2004/07/14 16:09:33 UTC

Bugzilla hook scripts?

Has anyone written scripts to integrate Subversion into Bugzilla?

Basically, I'm looking for a post-checkin script that if a successful
checkin comment contains a specific regular expression (something like
/bug (\d+)+ (fixed)?/i), then:
- copy the checkin comment into the bugs listed in reg ex group 1.
- add an HTML link to the bug's comment linking back to the ViewSVN or
WebDEV checkin entry
- if the (fixed)? portion of the reg ex exists, then set the status of
the bug to FIXED/RESOLVED.

Another think I'm looking for is a pre-checkin script such that if the
branch of the checkin has been labeled as "restricted", and the checkin
comment doesn't have a live bug number in it, then reject the checkin.

I'm assuming that others have written integration hooks for Subversion
and their bug tracker: I've found some already for clear case in
subversion's contrib directory.  However, I've looked in other areas
(the user and developer lists for references to Bugzilla, the subversion
forums, the subversion wiki, and on google) all without success.

So, has anyone already written Bugzilla integration scripts?

Thanks

JDG

--
Jay Glanville

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org