info-cvs
[Top][All Lists]
Advanced

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

RE: Organising tags for an automated build system


From: Glew, Andy
Subject: RE: Organising tags for an automated build system
Date: Mon, 13 May 2002 10:31:36 -0700

> If I use a date-based tag format like AUTOMATED-BUILD_{DATE}
> I end up writing scripts that figure out which tag is the 
> most recent tag
> for every module.
> If I use a general tagname like AUTOMATED-BUILD I think I need 
> to remove such a tag before a new one is created ? Or does 
> cvs automagically 
> assumes that I need the most recent one ?

I've always had to embed the date in the tag.
In addition, I may have a floating tag without a date,
but it has to be moved.

I *wish* that CVS would allow multiple instances of the 
same tag for a file.  I would use the latest, or, 
if I have a non-current version checked out, possibly
the most recent tag.

I.e.
        
for a tag XXXX that occurs multiple times in the same file
select
     * most recent version of that tag on the main branch

     * most recent version of that tag on a specified branch
     * most recent version of that tag on a specified branch
              (or its ancestors) 
              that is older than a given version or time.
     * ... newer 
    
     * most recent version of the tag on any branch
     ... newer/older

I spend an awful lot of time trying to figure the above out
from the log myself.

I *wish* that CVS recorded the date/time at which a tag was
applied.

However, this doesn't obviate the need for creating a tag
that has the date or something else tying it together...
Most of us create our own script for that.



reply via email to

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