From owner-freebsd-current Tue Jun 1 22:22:32 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 4DD2D14D50 for ; Tue, 1 Jun 1999 22:22:30 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id WAA26555; Tue, 1 Jun 1999 22:22:29 -0700 (PDT) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id WAA42632; Tue, 1 Jun 1999 22:22:28 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199905311851.LAA11628@troutmask.apl.washington.edu> Date: Tue, 01 Jun 1999 22:22:28 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Steve Kargl Subject: Re: Announcing a new cvsup server - cvsup6.freebsd.org Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve Kargl wrote: > > If you want a robust (but probably really slow) algorithm, you > could use the revision number of a file. I'd really prefer to have something for the whole collection. If it has to check every file, then it will take about as long as doing an update. I want it to be able to decide very quickly on a per-collection basis before updating anything. > Isn't this a monotonically increasing number? The version numbers should monotonically increase. But they don't always do so, in practice. CVS repository managers occasionally have to do damage control that entails deleting deltas. > Would it be possible to compute md5 signatures on a per-file per-collection > basis? The cvsup server would have, for example, src-bin.md5 which > contains a list of all files in the src-bin collection and their > md5 signatures. When a connection is made to the server, the server > sends src-bin.md5 to the client. The client compares the local > src-bin.md5 with the server's src-bin.md5. Any difference would > indicate a file has changed, and the client then requests the > server to send the changed file(s). But comparing checksums only tells you whether the files are (probably) the same or not. It doesn't tell you which one is more up-to-date. John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message