[cvsnt] metadata in CVS

keith d. zimmerman lists at kdz13.net
Tue Feb 3 16:37:22 GMT 2004

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

Hi again Aditya,

again, comments inline...

Aditya Gandhi wrote:

> Hi all,
> Looking for some thoughts on tagging some docs a certain way....
> I am planning to use CVS as code and doc repository and have a need to
> be able to have some metadata for files based on which I need to create
> some reports.
> Ex.- Plan could be a type of a document and I might need to query my
> repository to find all plan documents and get a history of all changes
> that have happened to all such files since a baseline.
> What options do I have to do such a thing....

One option would be using the viewcvs commit database I mentioned in my 
previous e-mail

> Here are some of my thoughts...  Would appreciate if people can comment
> on this or any other alternatives that come to their mind
> Can I tag all such documents with a tag say 'PLAN' and then use a cvs
> command to do the above. If so what will such a command look like?

> I know one option could be creating a macro in WinCVS which does
> something like this 
> 1. cvs log -S -R rPLAN <module name> to get names of the all files that
> had been tagged using PLAN
> 2. Process and use this list as input to a new command -> cvs log <file
> names>
> Some of the problems that I can foresee with this
> 1. If the number of files is huge then one might end up hitting the CVS
> (?WinCVS)limit for the number of chars that can go in for file names
> (~32000 char)
can't you simply do this with a single command?  IE:
	cvs log -SN -rPLAN <module name>

> 2. Once tagged as PLAN a document can not be untagged (Is that true...
> how can one remove a particular tag from a doc?)
cvs tag -d PLAN filename, filename,...


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook