From owner-freebsd-hubs@FreeBSD.ORG Fri Jun 13 18:02:38 2003 Return-Path: Delivered-To: freebsd-hubs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8B2D37B401 for ; Fri, 13 Jun 2003 18:02:38 -0700 (PDT) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 663FF43FBD for ; Fri, 13 Jun 2003 18:02:37 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.12.3p2/8.12.3) with ESMTP id h5E12aPM024585 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 13 Jun 2003 18:02:36 -0700 (PDT) (envelope-from jdp@strings.polstra.com) Received: (from jdp@localhost) by strings.polstra.com (8.12.6/8.12.6/Submit) id h5E12ZgG010887; Fri, 13 Jun 2003 18:02:35 -0700 (PDT) (envelope-from jdp) Date: Fri, 13 Jun 2003 18:02:35 -0700 (PDT) Message-Id: <200306140102.h5E12ZgG010887@strings.polstra.com> To: hubs@freebsd.org From: John Polstra In-Reply-To: References: <20030612180244.GG21995@electra.cse.Buffalo.EDU> Organization: Polstra & Co., Seattle, WA X-Bogosity: No, tests=bogofilter, spamicity=0.500000, version=0.11.2 Subject: Re: The recent thread... handling new releases X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Distributions Hubs: mail sup ftp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 01:02:39 -0000 In article , Garance A Drosihn wrote: > I have wondered if cvsup could be smart enough to download files > under one name, and then afterwards (on a later run) know to just > rename that file to the official name for a public release. > Eg, some way to say > > if file .IMAGE001 exists > and if the bytesize is 123456789 > and if the MD5 of it is f4f4acfc8322c267618f93c52d465e4c > then rename .IMAGE001 > to 5.2-RELEASE-i386-disc1.iso > endif > > > Proceed with standard cvsup processing. Hmm, I'm having trouble getting excited about putting that functionality into CVSup. It just seems too application-specific. What CVSup does is supposed to be conceptually simple: mirror files from one place to another. > This would at least reduce the exposure from people who say > "A FILE EXISTS, THE RELEASE *MUST* HAVE HAPPENED!!!!", usually > at the first millisecond that any official-looking filename > appears on any ftp server. I think you guys are making the problem more complicated than it needs to be. Can't you do something like this? - Put the new release into a directory named (for example) ".5.1-RELEASE-STAGING-AREA". - Let all the bits trickle out to the mirrors. - Any user dumb enough to download stuff from ".5.1-RELEASE-STAGING-AREA" will get what he deserves and deserve what he gets. - After the mirrors have had time to get all the bits, add a symlink "5.1-RELEASE -> .5.1-RELEASE-STAGING-AREA". - Presto, the release has appeared atomically. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Two buttocks cannot avoid friction." -- Malawi saying