Re: Accessing the complete log (rlog)

2009-02-12 Thread Yann-Gaël Guéhéneuc

Thank you all for your kind and quick help!

Indeed, I am really interested only in the commitlogs so I will
probably try Dan's solution first, then if I need more data, I'll follow
Mel or Giorgos's solutions!

Cheers!
Yann

Giorgos Keramidas wrote:
> On Thu, 12 Feb 2009 11:30:10 -0600, Dan Nelson  
> wrote:
>> Yet another option is to use the Subversion repository instead of CVS:
>>
>>   svn log -v -r 1:HEAD svn://svn.freebsd.org/base
>>
>> will dump all commitlogs starting with the first.  Probably not
>> recommended if you are going to scan through every commit, but handy
>> if you want to pick and choose, and much much faster than CVS.  What
>> changes were made to ufs between 1995 and 1996:
>>
>>   svn log -r '{1995-01-01}:{1996-01-01}' 
>> svn://svn.freebsd.org/base/head/sys/ufs
> 
> If you want even faster results, you can *mirror* the svn repository
> with svnsync :)
> 
> Then the diff options are exactly the same, but for the repo-url you can
> use `file:///local/path/to/mirror', i.e.:
> 
> svn log -r '{1995-01-01}:{1996-01-01}' file:///svnroot/base/head/sys/ufs
> 

-- 
Yann-Gaël Guéhéneuc
Ph.D. et ing. / Ph.D. and eng.
Professeur agrégé / Associate professor
DGIGL, École Polytechnique  1-514-340-5121 #7116 (Téléphone / Phone)
C.P. 6079, succ. Centre-Ville   1-514-340-5139   (Télécopie / Fax)
Montréal, QC, H3C 3A7, Canada   www.ptidej.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing the complete log (rlog)

2009-02-12 Thread Giorgos Keramidas
On Thu, 12 Feb 2009 11:30:10 -0600, Dan Nelson  wrote:
> Yet another option is to use the Subversion repository instead of CVS:
>
>   svn log -v -r 1:HEAD svn://svn.freebsd.org/base
>
> will dump all commitlogs starting with the first.  Probably not
> recommended if you are going to scan through every commit, but handy
> if you want to pick and choose, and much much faster than CVS.  What
> changes were made to ufs between 1995 and 1996:
>
>   svn log -r '{1995-01-01}:{1996-01-01}' 
> svn://svn.freebsd.org/base/head/sys/ufs

If you want even faster results, you can *mirror* the svn repository
with svnsync :)

Then the diff options are exactly the same, but for the repo-url you can
use `file:///local/path/to/mirror', i.e.:

svn log -r '{1995-01-01}:{1996-01-01}' file:///svnroot/base/head/sys/ufs

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing the complete log (rlog)

2009-02-12 Thread Dan Nelson
In the last episode (Feb 10), Mel said:
> On Tuesday 10 February 2009 22:13:09 Yann-Gaël Guéhéneuc wrote:
> > Is it possible that you CVS server does not support "rlog" because of
> > recursion?  Do you think it could be possible to enable rlog?
> 
> Easy work-around:
> hop over to /usr/share/examples/cvs/cvs-supfile. Read/edit.
> Install /usr/ports/net/cvsup-without-gui.
> Run cvsup -L2 /path/to/edited/cvs-supfile
> 
> cvs log locally, all you want ;)
> 
> Space needed:
> # du -sh /home/ncvs
> 3.7G/home/ncvs

If you cvsup the whole source tree and are just interested in reading the
commitlogs themselves, archived commitlogs going back to 1995 are stored at
/home/ncvs/CVSROOT-src/commitlogs .

You can also get them in mailing-list format by downloading the cvs-all list
archives from ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/ .

Yet another option is to use the Subversion repository instead of CVS:

 svn log -v -r 1:HEAD svn://svn.freebsd.org/base

will dump all commitlogs starting with the first.  Probably not recommended
if you are going to scan through every commit, but handy if you want to pick
and choose, and much much faster than CVS.  What changes were made to ufs
between 1995 and 1996:

 svn log -r '{1995-01-01}:{1996-01-01}' svn://svn.freebsd.org/base/head/sys/ufs

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Accessing the complete log (rlog)

2009-02-11 Thread Mel
On Tuesday 10 February 2009 22:13:09 Yann-Gaël Guéhéneuc wrote:

>   Is it possible that you CVS server does not support "rlog" because of
> recursion? Do you think it could be possible to enable rlog?

Easy work-around:
hop over to /usr/share/examples/cvs/cvs-supfile. Read/edit.
Install /usr/ports/net/cvsup-without-gui.
Run cvsup -L2 /path/to/edited/cvs-supfile

cvs log locally, all you want ;)

Space needed:
# du -sh /home/ncvs
3.7G/home/ncvs

(Though I think reading the commitlogs for starters would help a lot. 
Committers are actually providing proper(tm) information there).

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Accessing the complete log (rlog)

2009-02-10 Thread Yann-Gaël Guéhéneuc

Dear FreeBSD,

With some colleagues, we would like to study the evolution of FreeBSD.
I would like to download the "changelog" file of all files/revisions of
FreeBSD, typically using the following commands:

export CVSROOT=:pserver:anon...@anoncvs.fr.freebsd.org:/home/ncvs
cvs login
(Password: anoncvs)
cvs rlog . > FreeBSD.cvs.changelog

However, when using this command I get the error:

cvs rlog: Logging .
cvs rlog: Logging CVSROOT
cvs [rlog aborted]: received abort signal
Assertion failed: (strstr (repository, "/./") == NULL), function
do_recursion, file
/usr/src/gnu/usr.bin/cvs/cvs/../../../../contrib/cvs/src/recurse.c, line
643.

Is it possible that you CVS server does not support "rlog" because of
recursion? Do you think it could be possible to enable rlog?

Thank you very much in advance,
Yann

-- 
Yann-Gaël Guéhéneuc
Ph.D. et ing. / Ph.D. and eng.
Professeur agrégé / Associate professor
DGIGL, École Polytechnique  1-514-340-5121 #7116 (Téléphone / Phone)
C.P. 6079, succ. Centre-Ville   1-514-340-5139   (Télécopie / Fax)
Montréal, QC, H3C 3A7, Canada   www.ptidej.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"