[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: |
Todd Denniston |
Subject: |
Re: Obtaining a list of all projects in CVS |
Date: |
Tue, 28 Nov 2000 12:03:26 -0500 |
"Derek R. Price" wrote:
>
> 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
>
along the same lines to get the modules alone
cvs -n checkout -p CVSROOT/modules
seems to work even though I do not have direct (not a mounted file system)
access
to the cvs repo.
i.e. if you do
cvs -d :pserver:address@hidden:/home2/cvsroot login
get password from http://www.cvshome.org/dev/index.html#anon
cvs -d :pserver:address@hidden:/home2/cvsroot -n checkout -p
CVSROOT/modules
you get to see the cvs modules file