From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 23:14:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CF0616A4E0 for ; Fri, 22 Apr 2005 23:14:26 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C4D243D2D for ; Fri, 22 Apr 2005 23:14:26 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id j3MNEOpS013429; Fri, 22 Apr 2005 16:14:24 -0700 From: Kent Stewart To: Derrick MacPherson Date: Fri, 22 Apr 2005 16:14:24 -0700 User-Agent: KMail/1.8 References: <1114187244.7638.27.camel@Mandarin-04.mainframe.ca> <200504221550.33904.kstewart@owt.com> <1114210934.5227.4.camel@Mandarin-04.mainframe.ca> In-Reply-To: <1114210934.5227.4.camel@Mandarin-04.mainframe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504221614.24882.kstewart@owt.com> cc: freebsd-questions@freebsd.org Subject: Re: cvsup-mirror and my other local servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 23:14:26 -0000 On Friday 22 April 2005 04:02 pm, Derrick MacPherson wrote: > On Fri, 2005-04-22 at 15:50 -0700, Kent Stewart wrote: > > On Friday 22 April 2005 03:08 pm, Derrick MacPherson wrote: > > > On Fri, 2005-04-22 at 09:27 -0700, Derrick MacPherson wrote: > > > > I have about 8 freebsd boxes, I am using one with the ports > > > > cvsup-mirror as the central cvs source for my other boxes, but > > > > when I point them at the master cvs server I get this error: > > > > > > > > cvsup -h cvs stable-supfile > > > > Connected to cvs > > > > Server message: Unknown collection "src-all" > > > > Skipping collection src-all/cvs > > > > Finished successfully > > > > > > > > and in the server logs: > > > > Apr 22 09:22:15 cvs cvsupd[24459]: +8 > > > > derrick@jupiter.mainframe.ca [SNAP_16_1h/17.0] > > > > Apr 22 09:22:15 cvs cvsupd[24459]: =8 Unknown collection > > > > "src-all" Apr 22 09:22:16 cvs cvsupd[24459]: -8 [0Kin+0Kout] > > > > Finished successfully > > > > > > > > I think i'm missing something quite small, but can't google > > > > what looks like a correct answer. I've not changed > > > > configuration much beyond the initial default installation > > > > config. Can someone point me in the right direction? > > > > > > > > cvs# uname -a > > > > FreeBSD cvs.mainframe.ca 5.3-RELEASE FreeBSD 5.3-RELEASE #5 > > > > > > > > Also, if I'm to set up a cvs server for my 4.1X boxes, can i > > > > use the same server? if so how do I differentiate the 2 > > > > distros? And what about ports, are they the same for 4.x and > > > > 5.x? > > > > > > Any suggestions on this one? I'm heading off in a couple hours > > > for vacation for a week, and was hoping to have this working by > > > the end of the day. > > > > I have a mirror but all I had to do is replace the host in the > > cvsup file with my local computer running cvsupd. > > Thats what I did as well, using the /usr/share/examples/cvsup/ cvsup > files that i've always used. Is that wrong? There is a lot of stuff that comes along but here is what I do. I have a script file called upstable. It looks like # m upstable #! /bin/sh cd /root/cvsup #cvsup -g -L 2 4.x-stable-supfile 2>&1 | tee cvsup.log cvsup -g -L 2 stable-supfile 2>&1 | tee /var/log/build/cvsup.log cd /var/log/build/ # Now convert the log to html` cvsuplog < cvsup.log > cvsup-`date "+%Y%m%d-%H%M"`.html Now /root/cvsup/stable-supfile looks like # cat stable* # $FreeBSD: src/share/examples/cvsup/stable-supfile # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/handbook/mirrors.html. #*default host=cvsup16.freebsd.org *default host=crystal *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix # If your network link is a T1 or faster, comment out the following line. #*default compress ## Main Source Tree. # src-all Crystal is the host name of my local computer running cvsupd. If I am concerned about what is on it. I change the host and get my update from cvsup16. If I want to cvsup RELENG_5, I just change the tag and the scripts work on both versions. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html