Date: Fri, 13 Jun 2003 18:02:35 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: hubs@freebsd.org Subject: Re: The recent thread... handling new releases Message-ID: <200306140102.h5E12ZgG010887@strings.polstra.com> In-Reply-To: <p05210620bb0e7675d934@[128.113.24.47]> References: <20030612180244.GG21995@electra.cse.Buffalo.EDU> <p05210620bb0e7675d934@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <p05210620bb0e7675d934@[128.113.24.47]>, Garance A Drosihn <drosih@rpi.edu> 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 > <repeat for other images> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306140102.h5E12ZgG010887>