From owner-freebsd-hackers Sat Sep 27 18:24:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA25348 for hackers-outgoing; Sat, 27 Sep 1997 18:24:31 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA25340 for ; Sat, 27 Sep 1997 18:24:25 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id KAA05050; Sun, 28 Sep 1997 10:54:11 +0930 (CST) Message-ID: <19970928105411.00690@lemis.com> Date: Sun, 28 Sep 1997 10:54:11 +0930 From: Greg Lehey To: Nate Williams Cc: Chuck Robey , Richard Wackerbarth , "Jordan K. Hubbard" , hackers@FreeBSD.ORG Subject: Re: How do I check out a snapshot? References: <199709272233.QAA27878@rocky.mt.sri.com> <199709272247.QAA28003@rocky.mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199709272247.QAA28003@rocky.mt.sri.com>; from Nate Williams on Sat, Sep 27, 1997 at 04:47:59PM -0600 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, Sep 27, 1997 at 04:47:59PM -0600, Nate Williams wrote: > Chuck Robey writes: >>>> Suppose that the snapshots are always generated by using a CVS checkout >>>> that never references the head directly. In other words, in a manner >>>> that others can reproduce at a later time. (For example, a checkout >>>> by date, using yesterday's date) >>> >>> Except that means lots more work for the release engineer. The RE has >>> enough problems just making a release, making sure that the code is >>> 'synchronized' to a certain date would make it that much harder. I >>> think it would be 'easier' to simply tag the tree. >> >> I think you mistake his intent, Nate. I think he meant it this way. The >> RE updates his tree, writes down the date/time that it's updated to. > > But, the tree isn't exactly in sync. with the 'real' CVS tree, so the > code may not be exactly the same. With 'real' releases, the actual CVS > tree is locked down by the RE, so his tree will be the same, since > no-one is allowed to modify it. This isn't the case with SNAPS. > > So, the time/date he uses in his private tree may have other changes > that occur when people commit code to the 'real' tree. > > The whole FreeBSD process is a multi-threaded/SMP kind of thing, so you > gotta think about race conditions and all those other OS kinds of > things. :) I still don't see the problem. CVS already has the solution: the RE selects a certain date for the snap, basically whatever he wants. He waits for the time to pass, pulls a copy of the repository (though this is not really necessary), and then checks out -current as of the time he decided for the snap. Anybody else who has a tree at least that up-to-date can do exactly the same thing. Greg