Re: cvsup-mirror and my other local servers

2005-04-22 Thread Kent Stewart
On Friday 22 April 2005 04:40 pm, Derrick MacPherson wrote:
 On Fri, 2005-04-22 at 16:14 -0700, Kent Stewart wrote:
 CUT
 
  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 21 | tee cvsup.log
  cvsup -g -L 2 stable-supfile 21 | 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

 K. I'm mirroring the freebsd cvs to an internal machine by using the
 ports cvsup-mirror, so as far as I can tell thats the only
 difference. How does that change what the cvs server is telling the
 client is available? and is using cvsup-mirror not a good idea for
 this?

That is what I am running on crystal. You are adding cvs characteristics 
to a cvsup mirror. Somewhere in there, I think you are confused but I 
don't know where.

The cvsup mirror works perfectly. It cuts down on your use of a slow 
internet and lets you use a 100Mbs internal network. The whole purpose 
is to cut down on traffic to your favorite mirror and cvsup-mirror does 
an excellant job of doing that.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup-mirror and my other local servers

2005-04-22 Thread Kent Stewart
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
[EMAIL PROTECTED] [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 21 | tee cvsup.log
cvsup -g -L 2 stable-supfile 21 | 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup-mirror and my other local servers

2005-04-22 Thread Derrick MacPherson
On Fri, 2005-04-22 at 16:14 -0700, Kent Stewart wrote:

CUT

 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 21 | tee cvsup.log
 cvsup -g -L 2 stable-supfile 21 | 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
 

K. I'm mirroring the freebsd cvs to an internal machine by using the
ports cvsup-mirror, so as far as I can tell thats the only difference.
How does that change what the cvs server is telling the client is
available? and is using cvsup-mirror not a good idea for this?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup-mirror and my other local servers

2005-04-22 Thread Kent Stewart
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 [EMAIL PROTECTED]
  [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.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup-mirror and my other local servers

2005-04-22 Thread Derrick MacPherson
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 [EMAIL PROTECTED]
 [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. 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup-mirror and my other local servers

2005-04-22 Thread Derrick MacPherson
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 [EMAIL PROTECTED]
   [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?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]