[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Obtaining a list of all projects in CVS
From: |
Derek R. Price |
Subject: |
Re: Obtaining a list of all projects in CVS |
Date: |
Tue, 28 Nov 2000 10:45:18 -0500 |
Antony Stace wrote:
> Is there a command which will list information about all the projects in
> the CVS repository? Ie, what projects exist, what files are being
> worked on in each project, etc. Or do I need to write a script to get
> this type of info?
There isn't one. 'cvs co -c' and 'cvs co -s' will work if the modules
admin file is up to date but you shouldn't set up a modules file for this
reason.
The easiest way is to use 'ls' in the toplevel of the repo if you have
access.
You can try the following to get a complete file list, and you might be
able to deduce the project list from that:
cvs -nq rdiff -s -D"Jan 1, 1970" . |awk '{print $2}'
There's also a wrapper script floating aroud that I'm told does what you
ask. Search the mail archives.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden OpenAvenue ( http://OpenAvenue.com )
--
"I tried to think but nothing happened!"
- Curly