info-cvs
[Top][All Lists]
Advanced

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

Filtering cvs log information by tag


From: geoff . sallee
Subject: Filtering cvs log information by tag
Date: 3 Apr 2007 17:05:55 -0700
User-agent: G2/1.0

Here's my problem:  I have to write a Java web application that will
compare files from two tags in CVS.  We'll call the tags TagA and
TagB.  TagB is the most recent tag, and people should be checking
their code in under TagB, but sometimes they mess up and check it in
under TagA.  I need to compare the modification dates (or versions,
either should work) on each tagged file to find all the files that are
tagged with TagA but should be tagged with TagB (i.e. the most recent
versions), and run a report that tells which files are incorrectly
tagged.  The thing is, log, rlog, and status can't be filtered by tag,
as far as I can tell, which means that I have to get a bunch of
unnecessary tag information for each file (there are literally
hundreds of tags in this CVS repository).  This makes it unwieldy to
do on the fly from a web application, since it takes on the order of
4-5 minutes to get the information from 'cvs log', and the log data
returned is 300 megabytes, which then has to be parsed and put into
HTML.  What I'm wondering is if there is any capability to filter
files based on tags without doing a checkout.  The only other option
I've come up with would be to run a script on the backend that gets
the log data, parses it, and creates html itself, but this is less
than ideal as this reporting tool needs to be integrated into an
existing application.  Any help would be greatly appreciated.  Also,
if I have been unclear, let me know and I will do my best to shed more
light on the situation.

Regards,
Geoff Sallee



reply via email to

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