cvup mirrors and exact CVS dates
Brooks Davis
brooks at freebsd.org
Fri Oct 26 08:42:59 PDT 2007
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
> >>> just
> >> 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).
> >
> > Ok. Two or three hours would be fine, too.
> >
> >>> Maybe a complete CVS repo would give me that info?
> >> I think that the best is really cvsup with date=YYYY.MM.DD.HH.MM.SS
> >> in your supfile, but I'm not sure, which time it is, you should check
> >> it first.
> >
> > I reread my previous email, and I may not have made myself clear. I'm
> > trying to answer the question: "Are CVS dates aaaa.bb.cc.dd.ee.ff and
> > uuuu.vv.ww.xx.yy.zz equal, in terms of source code?". Anyway, there might
> > be no easy way to answer this, and it's not a top priority for me.
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hubs/attachments/20071026/649f9121/attachment.pgp
More information about the freebsd-hubs
mailing list