From owner-freebsd-current@FreeBSD.ORG Tue Jan 13 15:43:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31A2016A4CE for ; Tue, 13 Jan 2004 15:43:23 -0800 (PST) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 959E643D3F for ; Tue, 13 Jan 2004 15:43:05 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i0DNgaAI008727; Tue, 13 Jan 2004 18:42:37 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20040113225632.GA80120@memnoch.jk.homeunix.net> References: <20040112132544.D54803@pooker.samsco.home> <20040113225632.GA80120@memnoch.jk.homeunix.net> Date: Tue, 13 Jan 2004 18:42:35 -0500 To: John Kennedy , freebsd-current@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: FreeBSD CVS Question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 23:43:23 -0000 At 2:56 PM -0800 1/13/04, John Kennedy wrote: > With 5.x stabilizing, I'm looking at having multiple FreeBSD >trees in play again and I'm trying to optimize my bandwidth. > > Rather than hit the FreeBSD servers with multiple machines >cvsuping 4.x and 5.x, I'm almost finished a scheme to cvsup >the CVS sources and then do a local CVS checkout with the >appropriate branch of FreeBSD. Sad to say, I suspect you did a lot of extra work that you could have avoided. What I did was install the freebsd port named 'cvsup-mirror' on one of my freebsd machines. That port turns my machine into a cvsup-server machine. I customized it a bit, so I do not mirror things like FreeBSD-www FreeBSD-gnats and FreeBSD-mail. Then, for all my other freebsd machines, I just use the standard cvsup control files, except that I point them at my machine instead of a standard cvsup server. > Right now, this seems like a total win because I have a >narrow pipe out to the big internet and fat pipe locally. It depends on what you mean by "a local CVS checkout". On the machines which are doing a CVS checkout, how are they getting to your local copy of the CVS repository? If that repository is NFS-mounted, then you are probably in good shape. If your machines are doing a CVS checkout over RSH or SSH, then your server may be doing a LOT more work than you realize. >...the only thing that seems to be wrong is the version IDs >when the files get checkout out of RCS/CVS ("$FreeBSD$"). I'm >assuming that is because FreeBSD has hacked up a copy of RCS >and changed some of the names. No, it's that the FreeBSD repository does some fairly clever things with various files that it has in CVSROOT. I am not sure why you would not have those same files. But really, you'd probably be better off investigating the cvsup-mirror port. It did not take me too long to setup, and it has worked very well for me. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu