Oh, cool, OK, you know the module name. Cool. Well, let's see....
=============
[build@ul020-dmz tmp]$
CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic
[build@ul020-dmz tmp]$ cvs -Q co CVSROOT
[build@ul020-dmz tmp]$ find CVSROOT/ -name history
=============
Hm. There doesn't seem to be a history file in the Jakarta CVSROOT.
Well, there's always rlog:
=============
[build@ul020-dmz tmp]$ cvs -q rlog -R jakarta-lucene | grep -v Attic |
more
/x1/home/cvs/jakarta-lucene/.cvsignore,v
/x1/home/cvs/jakarta-lucene/Attic/API.html,v
/x1/home/cvs/jakarta-lucene/BUILD.txt,v
=============
Just trim off the "/x1/home/cvs" and the ",v". That list contains 236
files, which seems to be the actual number of files in the module:
=============
[build@ul020-dmz tmp]$ cvs -Q export -D"tomorrow" jakarta-lucene
[build@ul020-dmz tmp]$ find jakarta-lucene/ -type f | wc -l
236
[build@ul020-dmz tmp]$
=============
So perhaps rlog is the way to go...
Yours,
Tom
> -----Original Message-----
> From: Jon Froehlich [mailto:jfroehli@;uci.edu]
> Sent: Wednesday, October 30, 2002 3:00 PM
> To: 'Jakarta General List'
> Subject: RE: running history command on apache CVS modules...
>
>
> Thanks for your response Tom.
>
> Running the export command actually copies the files from the
> repository
> to my local machine. In my case, this is a waste of
> bandwidth. I just
> need a history listing of all the files in a specified module.
>
> You said as far as you knew that there's no built-in way to get a list
> of modules if all you know is the repository root; however,
> we know the
> repository root AND our project name.
>
> For example, how would I receive a history listing of all the files in
> the Jakarta-lucene project?
>
> Thanks again guys - your responses are much appreciated.
>
> j
>
> ---------------------------------
> Jon Froehlich
> UCal-Irvine Graduate Student
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Tom Copeland [mailto:tom@;infoether.com]
> Sent: Wednesday, October 30, 2002 11:10 AM
> To: 'Jakarta General List'
> Subject: RE: running history command on apache CVS modules...
>
> Hi Jon -
>
> "cvs history -a" lists repository access history for all
> users. You can
> grep or sed some module names out of there, but no guarantees. AFAIK,
> there's no built-in way to get a list of modules if all you
> know is the
> repository root - unless of course you have access to the machine and
> just ls $CVSROOT.
>
> If you just want to get a list of files, how about:
>
> =================
> [build@ul020-dmz tmp]$
> CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic
> [build@ul020-dmz tmp]$ cvs -Q export -D "tomorrow" jakarta-ant
> [build@ul020-dmz tmp]$ find . -type f | more
> ./jakarta-ant/docs/.new.appendix_
> ./jakarta-ant/docs/ant15_todo.html
> ./jakarta-ant/docs/ant_in_anger.html
> ./jakarta-ant/docs/ant_task_guidelines.html
> ./jakarta-ant/docs/antnews.html
> ./jakarta-ant/.cvsignore
> ./jakarta-ant/KEYS
> ./jakarta-ant/LICENSE
> ./jakarta-ant/LICENSE.dom
> ./jakarta-ant/LICENSE.junit
>
> etc., etc
> ================
>
> You also might want to poke around here -
> http://ccvs.cvshome.org/servlets/SearchList?listName=info -
> lots of good
> stuff in the info-cvs archives.
>
> Yours,
>
> Tom
>
>
>
> > -----Original Message-----
> > From: Jon Froehlich [mailto:jfroehli@;uci.edu]
> > Sent: Wednesday, October 30, 2002 1:49 PM
> > To: 'Jakarta General List'
> > Subject: RE: running history command on apache CVS modules...
> >
> >
> > Well, since I've used the history -l -a -c command
> > successfully on other
> > repositories I don't think that's the problem.
> >
> > Nonetheless, let's simplify things even more and just run a simple
> >
> > cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic history -a
> >
> > This should list all of the modules in the Jakarta project
> right? In
> > fact, I would expect it to look something like this
> > (http://cvs.apache.org/viewcvs.cgi/#dirlist). However, this
> > is not the
> > case.
> >
> > So, let me ask you this. What is the cvs command to list all of the
> > files located in a Jakarta module?
> >
> > Thank you for your help,
> > j
> >
> > ---------------------------------
> > Jon Froehlich
> > UCal-Irvine Graduate Student
> > [EMAIL PROTECTED]
> >
> >
> > -----Original Message-----
> > From: Danny Angus [mailto:danny@;apache.org]
> > Sent: Wednesday, October 30, 2002 2:49 AM
> > To: Jakarta General List
> > Subject: RE: running history command on apache CVS modules...
> >
> > -m and -c come before -a and -l..
> >
> > Usage: cvs history [-report] [-flags] [-options args] [files...]
> >
> > Reports:
> > -T Produce report on all TAGs
> > -c Committed (Modified) files
> > -o Checked out modules
> > -m <module> Look for specified module (repeatable)
> > -x [TOEFWUCGMAR] Extract by record type
> > -e Everything (same as -x, but all
> record types)
> > Flags:
> > -a All users (Default is self)
> > -l Last modified (committed or modified report)
> > -w Working directory must match
> > Options:
> > -D <date> Since date (Many formats)
> > -b <str> Back to record with str in module/file/repos
> > field
> > -f <file> Specified file (same as command line)
> > (repeatable)
> > -n <modulename> In module (repeatable)
> > -p <repos> In repository (repeatable)
> > -r <rev/tag> Since rev or tag (looks inside RCS files!)
> > -t <tag> Since tag record placed in history file (by
> > anyone).
> > -u <user> For user name (repeatable)
> > -z <tz> Output for time zone <tz> (e.g. -z -0700)
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:dlr@;finemaltcoding.com]
> > > Sent: 30 October 2002 07:35
> > > To: Jon Froehlich
> > > Cc: Jakarta General List
> > > Subject: Re: running history command on apache CVS modules...
> > >
> > >
> > > "Jon Froehlich" <[EMAIL PROTECTED]> writes:
> > >
> > > > Is it possible to run the cvs history command on modules in the
> > Jakarta
> > > > Project cvs repository with anoncvs access? If so, what is the
> > command
> > > > string?
> > > >
> > > > I have been trying things like this:
> > > > cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic
> > history -a -m
> > > > jakarta-lucene
> > > >
> > > > I am trying to receive a comprehensive listing of files for any
> > given
> > > > Jakarta module (e.g. jakarta-lucene) without having to run a
> > checkout
> > > > command.
> > > >
> > > > For example:
> > > > I can run the cvs history commands on sourceforge.net modules
> > without a
> > > > problem using the following example syntax:
> > > > cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/gaim
> > history
> > > > -l -a -c
> > > > The server then sends a listing of all of the files
> related to the
> > > > "gaim" module. I am hoping to find a similar method for the
> > > > cvs.apache.org server.
> > >
> > > Are you getting errors from the CVS server? What's the
> output look
> > > like?
> > > --
> > >
> > > Daniel Rall <[EMAIL PROTECTED]>
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:general-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:general-help@;jakarta.apache.org>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:general-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:general-help@;jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:general-> [EMAIL PROTECTED]>
> > For
> > additional commands,
> > e-mail: <mailto:general-help@;jakarta.apache.org>
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:general-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:general-help@;jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:general-> [EMAIL PROTECTED]>
> For
> additional commands,
> e-mail: <mailto:general-help@;jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <mailto:general-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:general-help@;jakarta.apache.org>