[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Bugzilla hook scripts?

From: Glanville, Jay <Jay.Glanville_at_NaturalConvergence.com>
Date: 2004-07-14 18:09:33 CEST

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
Received on Wed Jul 14 18:09:57 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.