From owner-freebsd-hubs@FreeBSD.ORG Mon Oct 22 15:27:08 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD27416A41B for ; Mon, 22 Oct 2007 15:27:08 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from phoebe.cse.buffalo.edu (phoebe.cse.buffalo.edu [128.205.32.89]) by mx1.freebsd.org (Postfix) with ESMTP id 14EB813C494 for ; Mon, 22 Oct 2007 15:27:07 +0000 (UTC) (envelope-from kensmith@cse.Buffalo.EDU) Received: from [128.205.32.4] (opus.cse.buffalo.edu [128.205.32.4]) (authenticated bits=0) by phoebe.cse.buffalo.edu (8.14.1/8.13.7) with ESMTP id l9MFQrGg088876 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 22 Oct 2007 11:26:53 -0400 (EDT) (envelope-from kensmith@cse.buffalo.edu) From: Ken Smith To: freebsd-hubs@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PWWyiiNAysllMxMXf+t3" Organization: U. Buffalo CSE Department Date: Mon, 22 Oct 2007 11:26:52 -0400 Message-Id: <1193066812.10536.13.camel@opus.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port X-DCC-Buffalo.EDU-Metrics: phoebe.cse.buffalo.edu 1029; Body=0 Fuz1=0 Fuz2=0 X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on phoebe.cse.buffalo.edu Subject: 5.5 FTP install and release packages X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 15:27:08 -0000 --=-PWWyiiNAysllMxMXf+t3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I got clearance to remove the FreeBSD-5.5 FTP install bits and the release package set from ftp-master. The ISO files will remain, as will the packages-5-stable package tree (which is what anyone should be using to install 5.X packages from at this point, packages-5.5-release is sufficiently stale...). I'll do the removal late tomorrow (Tuesday 10/13/2007). --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-PWWyiiNAysllMxMXf+t3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHHME0/G14VSmup/YRAuRyAJ0Qe3ndaaYpWjBVlXUoGsW+0+gzUwCdGmhk GgK+ruqWlqv/Eq21pjFoJSo= =y2vA -----END PGP SIGNATURE----- --=-PWWyiiNAysllMxMXf+t3-- From owner-freebsd-hubs@FreeBSD.ORG Thu Oct 25 16:00:28 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3641116A481 for ; Thu, 25 Oct 2007 16:00:28 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id D628B13C4A3 for ; Thu, 25 Oct 2007 16:00:27 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id 0D91F36EDBC for ; Thu, 25 Oct 2007 15:08:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id V-cod88NdsCP for ; Thu, 25 Oct 2007 15:08:37 +0200 (CEST) Received: from [192.168.1.149] (stud1-15.itu.dk [130.226.140.15]) by superman.itu.dk (Postfix) with ESMTP id 9707A9E6CF for ; Thu, 25 Oct 2007 15:08:26 +0200 (CEST) Message-ID: <4720954D.5040808@cederstrand.dk> Date: Thu, 25 Oct 2007 15:08:29 +0200 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: freebsd-hubs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 16:00:28 -0000 Hi! I'm chugging along with the performance tracker project[1]. I have a script constantly building jails using the newest CURRENT sources, and since reproduceability is one of the goals, I have some questions regarding cvsup mirrors and CVS in general (hope it's OK on this list): 1) To identify the jails, I name them after the CVS date I put in the cvsup file. Now, if the date is now() (converted to UTC), can I be sure that any given mirror (retrieved by fastest_cvsup) has the same set of files? Or will some mirrors be behind and happily give me sources that are older than what the main CVS server would report for that specific CVS date? 2) On the same note, is there any way to uniquely identify a global revision of the FreeBSD source tree, comparable to revisions in Subversion? From what I understand, there is no way to know if e.g. CVS dates 2007.10.25.13.45.00 and 2007.10.25.13.46.00 represent the same source code, except updating to both dates and seeing if any files change. Please Cc: me, I'm not on the list. Thanks! Erik Cederstrand [1] http://wiki.freebsd.org/PerformanceTracker From owner-freebsd-hubs@FreeBSD.ORG Fri Oct 26 05:19:36 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4914016A417 for ; Fri, 26 Oct 2007 05:19:36 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from bavaria.utcluj.ro (unknown [IPv6:2001:b30:5000:2:20e:cff:fe4b:ca01]) by mx1.freebsd.org (Postfix) with ESMTP id B852413C4BE for ; Fri, 26 Oct 2007 05:19:35 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from localhost (localhost [127.0.0.1]) by bavaria.utcluj.ro (Postfix) with ESMTP id 5567550834; Fri, 26 Oct 2007 08:19:34 +0300 (EEST) X-Virus-Scanned: by the daemon playing with your mail on local.mail.utcluj.ro Received: from bavaria.utcluj.ro ([127.0.0.1]) by localhost (bavaria.utcluj.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kVAtxKX2Tjy0; Fri, 26 Oct 2007 08:19:28 +0300 (EEST) Received: from [10.132.3.191] (hades.eduroam.int.utcluj.ro [10.132.3.191]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bavaria.utcluj.ro (Postfix) with ESMTP id 4AF1950888; Fri, 26 Oct 2007 08:19:28 +0300 (EEST) Message-ID: <472178DD.3000503@net.utcluj.ro> Date: Fri, 26 Oct 2007 08:19:25 +0300 From: Cristian KLEIN User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Erik Cederstrand References: <4720954D.5040808@cederstrand.dk> In-Reply-To: <4720954D.5040808@cederstrand.dk> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hubs@freebsd.org Subject: Re: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 05:19:36 -0000 Erik Cederstrand wrote: > Hi! > > I'm chugging along with the performance tracker project[1]. I have a > script constantly building jails using the newest CURRENT sources, and > since reproduceability is one of the goals, I have some questions > regarding cvsup mirrors and CVS in general (hope it's OK on this list): > > 1) To identify the jails, I name them after the CVS date I put in the > cvsup file. Now, if the date is now() (converted to UTC), can I be sure > that any given mirror (retrieved by fastest_cvsup) has the same set of > files? Or will some mirrors be behind and happily give me sources that > are older than what the main CVS server would report for that specific > CVS date? Suppose the mirrors we are talking about are up'n'running, some mirrors may be as much as 1 hour behind with the source tree. > 2) On the same note, is there any way to uniquely identify a global > revision of the FreeBSD source tree, comparable to revisions in > Subversion? From what I understand, there is no way to know if e.g. CVS > dates 2007.10.25.13.45.00 and 2007.10.25.13.46.00 represent the same > source code, except updating to both dates and seeing if any files change. This is my understanding too. Each file has a separate version number and there is no global revision number. If you still require such a feature, how about taking max(mtime()) as a global revision number? From owner-freebsd-hubs@FreeBSD.ORG Fri Oct 26 06:49:19 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FC6F16A41A for ; Fri, 26 Oct 2007 06:49:19 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id EFABA13C48D for ; Fri, 26 Oct 2007 06:49:18 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id 0A00237EAC; Fri, 26 Oct 2007 08:10:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id xlxUPR4DmnYK; Fri, 26 Oct 2007 08:10:37 +0200 (CEST) Received: from [192.168.1.149] (stud1-15.itu.dk [130.226.140.15]) by superman.itu.dk (Postfix) with ESMTP id DBEAB9E58D; Fri, 26 Oct 2007 08:10:36 +0200 (CEST) Message-ID: <472184DB.8040500@cederstrand.dk> Date: Fri, 26 Oct 2007 08:10:35 +0200 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Cristian KLEIN References: <4720954D.5040808@cederstrand.dk> <472178DD.3000503@net.utcluj.ro> In-Reply-To: <472178DD.3000503@net.utcluj.ro> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hubs@freebsd.org Subject: Re: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 06:49:19 -0000 Cristian KLEIN wrote: > Erik Cederstrand wrote: >> [...] >> 1) To identify the jails, I name them after the CVS date I put in the >> cvsup file. Now, if the date is now() (converted to UTC), can I be sure >> that any given mirror (retrieved by fastest_cvsup) has the same set of >> files? Or will some mirrors be behind and happily give me sources that >> are older than what the main CVS server would report for that specific >> CVS date? > > Suppose the mirrors we are talking about are up'n'running, some mirrors may be > as much as 1 hour behind with the source tree. Ok, that's usable for me, to just fetch sources from now() - 1 hour. I just want to make absolutely sure that when the tracker encounters a performance regression, developers are able to csup to the offending version and expect to see the exact same files as the tracker was working on. >> 2) On the same note, is there any way to uniquely identify a global >> revision of the FreeBSD source tree, comparable to revisions in >> Subversion? From what I understand, there is no way to know if e.g. CVS >> dates 2007.10.25.13.45.00 and 2007.10.25.13.46.00 represent the same >> source code, except updating to both dates and seeing if any files change. > > This is my understanding too. Each file has a separate version number and there > is no global revision number. If you still require such a feature, how about > taking max(mtime()) as a global revision number? Unfortunately (on my system at least), that just tells me when I csupped the source (which I already know), not when the file was checked into CVS. Maybe a complete CVS repo would give me that info? Thanks, Erik From owner-freebsd-hubs@FreeBSD.ORG Fri Oct 26 09:28:05 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8C1C16A417 for ; Fri, 26 Oct 2007 09:28:05 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id 61E9213C465 for ; Fri, 26 Oct 2007 09:28:05 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id 12A6C32CDE2; Fri, 26 Oct 2007 11:06:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id eQRJMhUpJ8-v; Fri, 26 Oct 2007 11:05:41 +0200 (CEST) Received: from [192.168.1.149] (stud1-15.itu.dk [130.226.140.15]) by superman.itu.dk (Postfix) with ESMTP id 0E29E9E19C; Fri, 26 Oct 2007 11:02:13 +0200 (CEST) Message-ID: <4721AD13.3050000@cederstrand.dk> Date: Fri, 26 Oct 2007 11:02:11 +0200 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Rudolf Cejka References: <4720954D.5040808@cederstrand.dk> <472178DD.3000503@net.utcluj.ro> <472184DB.8040500@cederstrand.dk> <20071026084209.GA39301@fit.vutbr.cz> In-Reply-To: <20071026084209.GA39301@fit.vutbr.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hubs@freebsd.org Subject: Re: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 09:28:05 -0000 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. Thanks, Erik From owner-freebsd-hubs@FreeBSD.ORG Fri Oct 26 10:28:51 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F79916A418 for ; Fri, 26 Oct 2007 10:28:51 +0000 (UTC) (envelope-from roam@ringlet.net) Received: from straylight.ringlet.net (nat116.cnsys.bg [85.95.80.116]) by mx1.freebsd.org (Postfix) with SMTP id A84C013C4BC for ; Fri, 26 Oct 2007 10:28:50 +0000 (UTC) (envelope-from roam@ringlet.net) Received: (qmail 97859 invoked by uid 1000); 26 Oct 2007 10:02:07 -0000 Date: Fri, 26 Oct 2007 13:02:07 +0300 From: Peter Pentchev To: Erik Cederstrand Message-ID: <20071026100207.GA97828@straylight.m.ringlet.net> Mail-Followup-To: Erik Cederstrand , Rudolf Cejka , freebsd-hubs@freebsd.org References: <4720954D.5040808@cederstrand.dk> <472178DD.3000503@net.utcluj.ro> <472184DB.8040500@cederstrand.dk> <20071026084209.GA39301@fit.vutbr.cz> <4721AD13.3050000@cederstrand.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <4721AD13.3050000@cederstrand.dk> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-hubs@freebsd.org Subject: Re: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 10:28:51 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 might= =20 > 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. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 =2Esiht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHIbsf7Ri2jRYZRVMRAo7XAJ9GHQGZnTHBSLy2xlMaD/WYHSJQ5gCfZ5xD LivyMZax1skel6tgRcRQZB4= =1kLJ -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- From owner-freebsd-hubs@FreeBSD.ORG Fri Oct 26 15:42:59 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEFA816A469 for ; Fri, 26 Oct 2007 15:42:59 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 47E0E13C4CE for ; Fri, 26 Oct 2007 15:42:58 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l9QFOh9X096433; Fri, 26 Oct 2007 10:24:43 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l9QFOgCE096432; Fri, 26 Oct 2007 10:24:42 -0500 (CDT) (envelope-from brooks) Date: Fri, 26 Oct 2007 10:24:42 -0500 From: Brooks Davis To: Erik Cederstrand , Rudolf Cejka , freebsd-hubs@freebsd.org Message-ID: <20071026152442.GC96092@lor.one-eyed-alien.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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uXxzq0nDebZQVNAZ" Content-Disposition: inline In-Reply-To: <20071026100207.GA97828@straylight.m.ringlet.net> User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Fri, 26 Oct 2007 10:24:44 -0500 (CDT) Cc: Subject: Re: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 15:42:59 -0000 --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-- From owner-freebsd-hubs@FreeBSD.ORG Fri Oct 26 16:15:37 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17BD416A469 for ; Fri, 26 Oct 2007 16:15:37 +0000 (UTC) (envelope-from jason@wilma.widomaker.com) Received: from wilma.widomaker.com (ip204-238-183-243.east.widomaker.com [204.238.183.243]) by mx1.freebsd.org (Postfix) with ESMTP id 6FFC013C48A for ; Fri, 26 Oct 2007 16:15:36 +0000 (UTC) (envelope-from jason@wilma.widomaker.com) Received: from wilma.widomaker.com (localhost [127.0.0.1]) by wilma.widomaker.com (8.13.8/8.13.6) with ESMTP id l9QG3jul001013; Fri, 26 Oct 2007 12:03:45 -0400 (EDT) (envelope-from jason@wilma.widomaker.com) Received: (from jason@localhost) by wilma.widomaker.com (8.13.8/8.13.6/Submit) id l9QG3ebJ001012; Fri, 26 Oct 2007 12:03:40 -0400 (EDT) (envelope-from jason) Date: Fri, 26 Oct 2007 12:03:40 -0400 From: Jason Harris To: Erik Cederstrand , Rudolf Cejka , freebsd-hubs@freebsd.org Message-ID: <20071026160339.GA788@wilma.widomaker.com> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20071026100207.GA97828@straylight.m.ringlet.net> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 16:15:37 -0000 --EeQfGwPcQSOJBaQU 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: > > 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. For me, the c[v]sup logs like /var/db/sup/ports-all/checkouts.cvs:. or=20 /var/db/sup/src-all/checkouts.cvs:RELENG_6 look like just what you want. One line from the former, for example: C ports/MOVED,v . . 2#871#110#11933239746#7682403#444 1.1508 2007.10.25.14.= 52.54 2#871#110#11933239746#2449903#660 corresponds to what "cvs log ports/MOVED" reports for the revision and checkin time: revision 1.1508 date: 2007/10/25 14:52:54; author: hrs; state: Exp; lines: +2 -1 Remove print/yatex-mule because Mule is obsolete now. and note that csup does appear to be setting the mtime on my filesystem (ufs, local, soft-updates) to match the CVS checkin timestamp: %env TZ=3DUTC /usr/bin/stat ports/MOVED 95 1436884 -rw-rw---- 1 jason wheel 5753136 244990 "Oct 26 15:27:46 2007"= "Oct 25 14:52:54 2007" "Oct 26 15:27:46 2007" "Oct 25 14:52:54 2007" 4096 = 512 0 ports/MOVED or perhaps more clearly: %stat.pl ports/MOVED ports/MOVED: dev 95, inode 1436884, mode 33200, nlinks 1 uid 1000, gid 0, size 244990, rdev 5753136 blksize 4096, blocks 512 atime 1193412466, mtime 1193323974, ctime 1193412466 atime =3D 2007-10-26 15:27:46 GMT mtime =3D 2007-10-25 14:52:54 GMT ctime =3D 2007-10-26 15:27:46 GMT But if you really want to be sure, modify csup to also log the MD5 hashes it gets as part of the protocol (and confirms after patching each file). --=20 Jason Harris | NIC: JH329, PGP: This _is_ PGP-signed, isn't it? jharris@widomaker.com _|_ web: http://keyserver.kjsl.com/~jharris/ Got photons? (TM), (C) 2004 --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iJ0EARECAF0FAkciD9tWGGh0dHA6Ly9rZXlzZXJ2ZXIua2pzbC5jb206MTEzNzEv cGtzL2xvb2t1cD9vcD1nZXQmc2VhcmNoPTB4RDM5REEwRTMmd2VoYXZleW91bm93 PXRydWUACgkQSypIl9OdoOPvigCfRxqD8o7SaChCZKv2KJqXGr+xqAUAmwUrEjgW 7M7CyUk78n6FlwdP+xd0 =ks6b -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU-- From owner-freebsd-hubs@FreeBSD.ORG Fri Oct 26 16:15:55 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E996B16A469 for ; Fri, 26 Oct 2007 16:15:55 +0000 (UTC) (envelope-from brdbrd@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id BDBF913C4A7 for ; Fri, 26 Oct 2007 16:15:55 +0000 (UTC) (envelope-from brdbrd@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so738252rvb for ; Fri, 26 Oct 2007 09:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Mvz085n51JEvHfNAXe2UyzrrSVGcSX6HfJblYYJLsdY=; b=M2BLtWcCaY+28F2lz8DlCLXCToZ+hBDZWNOH/66B4INArUR81Sm7zKfEpl2J+5hgqEQ5b+vNdJmMkcxjoGzHq6RObiRDH+mUyiFfibRfUWe/lKeHgpxEOzicLwm80M7jaY1E0GwSJpZyjhQkr8H0AekPklJdmohurwZzsXJ05ts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=QR5ehXIYS7piOZL5dxAAlOqQ0p0KwRBRSOJHRM8Q9+2V6oN9vLETlxEh+g1puLBOLPWMFfZzcYtBd98y+qep+7S81+Ef2TUrZ9dn0xg3B60O5o3o5ClVpOxR0gKVxt/7SGA3qDyVAk6WKo6CzEZcfJiJAUc/K7JahragYAY6NmA= Received: by 10.141.20.7 with SMTP id x7mr1594469rvi.1193413805923; Fri, 26 Oct 2007 08:50:05 -0700 (PDT) Received: by 10.140.202.3 with HTTP; Fri, 26 Oct 2007 08:50:05 -0700 (PDT) Message-ID: <35ffa5710710260850g1afb0fb0tf5a2c5d1b71142e2@mail.gmail.com> Date: Fri, 26 Oct 2007 09:50:05 -0600 From: "Brad Davis" Sender: brdbrd@gmail.com To: "Erik Cederstrand" In-Reply-To: <4720954D.5040808@cederstrand.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4720954D.5040808@cederstrand.dk> X-Google-Sender-Auth: 8fa6e7c1d557f0cc Cc: freebsd-hubs@freebsd.org Subject: Re: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 16:15:56 -0000 On 10/25/07, Erik Cederstrand wrote: > Hi! > > I'm chugging along with the performance tracker project[1]. I have a > script constantly building jails using the newest CURRENT sources, and > since reproduceability is one of the goals, I have some questions > regarding cvsup mirrors and CVS in general (hope it's OK on this list): > > 1) To identify the jails, I name them after the CVS date I put in the > cvsup file. Now, if the date is now() (converted to UTC), can I be sure > that any given mirror (retrieved by fastest_cvsup) has the same set of > files? Or will some mirrors be behind and happily give me sources that > are older than what the main CVS server would report for that specific > CVS date? > > 2) On the same note, is there any way to uniquely identify a global > revision of the FreeBSD source tree, comparable to revisions in > Subversion? From what I understand, there is no way to know if e.g. CVS > dates 2007.10.25.13.45.00 and 2007.10.25.13.46.00 represent the same > source code, except updating to both dates and seeing if any files change. I don't think building jails would accomplish the goal of this task as it is still using the underlying OS version to do everything. For snapshots.us.freebsd.org I use CVSCMDARGS="-D 00:00:00 UTC" to build every day. that way I know exactly when the code was from. It also helps I'm using a cvsup server I control (cvsup14), so I know exactly when it updates. I kick off the build at 03:00 so there is plenty of time for changes to filter down from cvsup-master. Most cvsup servers are on a one hour update cycle. Regards, Brad Davis From owner-freebsd-hubs@FreeBSD.ORG Fri Oct 26 19:46:18 2007 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCA4916A468 for ; Fri, 26 Oct 2007 19:46:18 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8E50A13C4B0 for ; Fri, 26 Oct 2007 19:46:18 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id AB0FF36F4E9; Fri, 26 Oct 2007 21:46:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id L1z0afBg6kT5; Fri, 26 Oct 2007 21:46:14 +0200 (CEST) Received: from wimac.littlebit.dk (unknown [85.233.238.191]) by superman.itu.dk (Postfix) with ESMTP id 6549E9E6F2; Fri, 26 Oct 2007 21:46:14 +0200 (CEST) Message-ID: <472243E6.3000703@cederstrand.dk> Date: Fri, 26 Oct 2007 21:45:42 +0200 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Jason Harris 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> <20071026160339.GA788@wilma.widomaker.com> In-Reply-To: <20071026160339.GA788@wilma.widomaker.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hubs@freebsd.org Subject: Re: cvup mirrors and exact CVS dates X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 19:46:19 -0000 Jason Harris wrote: > 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: > >>> 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. > > For me, the c[v]sup logs like /var/db/sup/ports-all/checkouts.cvs:. or > /var/db/sup/src-all/checkouts.cvs:RELENG_6 look like just what you > want. One line from the former, for example: Ah, now we're getting there :-) # grep "^C " /var/db/sup/src-all/checkouts.cvs:. | awk '{print $7}' | sed 's/^9/199/' | sort -u | tail -n 10 gives me the ten latest commit dates. It would be cool to somehow connect this with the tinderboxes, to mark date intervals with broken builds. But that's another project... Thanks to everyone for your kind help! Erik