[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Triggers" & links to defect tracking systems

From: David H. Thornley
Subject: Re: "Triggers" & links to defect tracking systems
Date: Tue, 08 May 2001 09:29:31 -0500

"Mark D. Baushke" wrote:
> >
> > Hi,
> > Is there any facility in CVS to add hooks for customized actions?
> > For instance, requiring a Bug Number when you check in a file,
> > verifying that bugnum against your defect tracking system, etc.
> It is possible to do some integration of Bug Number and a defect
> tracking system by having the rcsinfo template provide a form for you
> to fill in the bug number and haveing the verifyinfo trigger used to
> validate that the log message provided by the user has a valid bug
> number or other information.
What I was thinking of doing was using the loginfo hook to
check the checkin comment to see that there is a PR number,
and then verify that this is a valid PR with checkin approval
(we've been having problems with some people checking in stuff
without permission, and I'd rather put at least one tooth into
the "don't do that" message).

Does anybody foresee a problem with that?

> I am not aware of any othters, but it might be desirable for the
> commitinfo step to be able to prompt the user for information such as
> the bug number or other information in order to better catch typos in
> a bug number earlier. While this is possible if you are using a local
> repository or the rsh/ssh transport, I don't know of any way to do it
> with the :pserver: method of interaction.
And here I'm just getting the shop on pserver.  Fortunately,
I'm not looking for interactivity, just compliance.

David H. Thornley                          Software Engineer
at CES International, Inc.:  address@hidden or (763)-694-2556
at home: (612)-623-0552 or address@hidden or

reply via email to

[Prev in Thread] Current Thread [Next in Thread]