[Top][All Lists]

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

Re: List of tag - Module

From: Todd Denniston
Subject: Re: List of tag - Module
Date: Tue, 10 Mar 2009 12:31:42 -0400
User-agent: Thunderbird (X11/20081209)

Alan D. Salewski wrote, On 03/10/2009 11:09 AM:
On Tue, Mar 10, 2009 at 12:47:46PM +0100, tiroseno tiroseno spake thus:

I'm trying to get a list of tags of one module, but I don't find any command
to get it.

Is it posible?


The tags are associated with files, not to a module.

Since it is possible to add a tag to a single file within a module, to
generate a complete set you would have to examine all files (including
those that have been removed) for all tags.

In practice, however, all files for a module get tagged together, so
your best bet is to just look for the tags on a file that is likely to
have been part of the project since the beginning. Often times there is
a 'README' or 'ChangeLog' file at the top level of a project directory
that is suitable for this.

    $ cvs status -v ChangeLog


cvs2cl -t Module
will give you a file that contains all the tag names, I _think_ even including cvs removed files.

cvs2cl -t --xml -f ChangeLog.xml Module
grep "<tag>" ChangeLog.xml

grep "<tag>" ChangeLog.xml |sort |uniq
is useful for knowing all the tags, but it is not in an order of application.

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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