[Top][All Lists]

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

Re: Automatically tagging the repository after (almost) every commit

From: Jouni Heikniemi
Subject: Re: Automatically tagging the repository after (almost) every commit
Date: Wed, 17 Jul 2002 11:47:11 +0300 (EEST)

On Wed, 17 Jul 2002, Reinstein, Shlomo wrote:

> Can I achieve the same if the repository sits in a CVS server? If so, how?
> I realize that I can use "rtag" in the loginfo script to tag the repository,
> knowing the 1st line of the commit message. But I don't know whether or not
> I should tag the repository - this information is only in the first Perl
> script.

First, I'd question the need for that kind of tagging, but I hope you
really know it's the best way to achieve whatever you're doing :-)

I think you don't want to imagine (much less implement) the solution that
it would take to get all those params etcetera to the loginfo script, so I
suggest you start implementing all the tagging logic into the perl wrapper
your users are running. Try doing a `cvs log` after the commit has
finished, pick up the proper log message and then compose a tag. That way
you wouldn't have to hook the loginfo for this purpose at all.


reply via email to

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