Date: Thu, 27 Dec 2012 06:39:19 +1100 From: John Marshall <john.marshall@riverwillow.com.au> To: freebsd-hubs@freebsd.org Subject: Re: CVSup Mirror Statistics Timestamp Problem Message-ID: <20121226193919.GA90824@rwpc15.mby.riverwillow.net.au> In-Reply-To: <20120830232937.GE61657@rwpc15.mby.riverwillow.net.au> References: <20120830232937.GE61657@rwpc15.mby.riverwillow.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 31 Aug 2012, 09:29 +1000, John Marshall wrote: > In the thread about Subversion mirrors,=20 >=20 > On Thu, 30 Aug 2012, 23:41 +0100, Simon L. B. Nielsen wrote: > > If people are wondering why we are working on how to do mirroring > > differently, please see current status: > > http://www.mavetju.org/unix/freebsd-mirrors/ (cvsup is stat seems > > broken, but FTP still shows the general picture). >=20 > Simon refers to the very useful mirror monitoring site created and > maintained by edwin@. I also maintain my own monitor for a much smaller > subset of mirrors in which I have particular interest. >=20 > Most of the mirror age information relies on some kind of regularly > updated TIMESTAMP from the master which is replicated to each of the > mirrors. That's easy with the FTP mirrors because ftp-master provides > /pub/FreeBSD/TIMESTAMP. The nearest thing we had been able to find for > CVSup mirrors was the timestamp in the $FreeBSD$ tag in > CVSROOT-ports/modules, since a fresh version of that file was being > generated most days. Since ports has moved to Subversion, the modules > file has not been updated and I haven't been able to find a substitute > "TIMESTAMP" that we can use to check the age of CVSup mirrors. I note > that this wouldn't be a problem if it were possible to get at CVS > history from a CVSup client. >=20 > Any suggestions? A few weeks ago I found an answer. It looks like the svn-->cvs exporter is now adding the file src/LASTCOMMIT.txt which contains the svn commit timestamp and log message from the most recent commit. I am using the timestamp in that svn commit message as the timestamp for determining the age of CVSup mirrors. "It works for me". http://www.riverwillow.net.au/~john/mirmon/cvsup.html --=20 John Marshall --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDbUmcACgkQw/tAaKKahKKynQCgzboCK+Vv6XuHNiHOJ5S/a1OF BGkAn32fZVvLrAyADWO5tVOzvNgVD+dE =Ts5J -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121226193919.GA90824>