Date: Fri, 26 Oct 2007 10:24:42 -0500 From: Brooks Davis <brooks@freebsd.org> To: Erik Cederstrand <erik@cederstrand.dk>, Rudolf Cejka <cejkar@fit.vutbr.cz>, freebsd-hubs@freebsd.org Subject: Re: cvup mirrors and exact CVS dates Message-ID: <20071026152442.GC96092@lor.one-eyed-alien.net> In-Reply-To: <20071026100207.GA97828@straylight.m.ringlet.net> References: <4720954D.5040808@cederstrand.dk> <472178DD.3000503@net.utcluj.ro> <472184DB.8040500@cederstrand.dk> <20071026084209.GA39301@fit.vutbr.cz> <4721AD13.3050000@cederstrand.dk> <20071026100207.GA97828@straylight.m.ringlet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--uXxzq0nDebZQVNAZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 26, 2007 at 01:02:07PM +0300, Peter Pentchev wrote: > On Fri, Oct 26, 2007 at 11:02:11AM +0200, Erik Cederstrand wrote: > > Rudolf Cejka wrote: > >> Erik Cederstrand wrote (2007/10/26): > >>> Ok, that's usable for me, to just fetch sources from now() - 1 hour. = I=20 > >>> just=20 > >> Yes, simply download sources atleast one hour old, but better would be > >> two or three hours. If you want to be absolutely sure, you can check my > >> mirror operation at ftp://ftp.cz.FreeBSD.org/pub/logs/cvsup/, where all > >> cvsup logs are (they are of course valid just for cvsup.cz.FreeBSD.org= ). > >=20 > > Ok. Two or three hours would be fine, too. > >=20 > >>> Maybe a complete CVS repo would give me that info? > >> I think that the best is really cvsup with date=3DYYYY.MM.DD.HH.MM.SS > >> in your supfile, but I'm not sure, which time it is, you should check > >> it first. > >=20 > > I reread my previous email, and I may not have made myself clear. I'm= =20 > > trying to answer the question: "Are CVS dates aaaa.bb.cc.dd.ee.ff and= =20 > > uuuu.vv.ww.xx.yy.zz equal, in terms of source code?". Anyway, there mig= ht=20 > > be no easy way to answer this, and it's not a top priority for me. >=20 > The only certain and reliable way that I can think of is parsing all > the *,v CVS files and extracting the change dates from them. As you > may realize, that's a lot of work, or at least a task that is quite > time-consuming and disk-intensive - but I can think of no other way. I think you can do well enough if you use a mirror with a one hour update cycle and a time at least two hours in the past. It's possible that may be wrong, but it's going to be close enough in practice. -- Brooks --uXxzq0nDebZQVNAZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHIga5XY6L6fI4GtQRArbNAJ99bC5vl4Jfq70vgmHGMGe5RabMygCghN0b 1MLm7UcrZntyaCqbLiN9MBc= =WR6A -----END PGP SIGNATURE----- --uXxzq0nDebZQVNAZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071026152442.GC96092>