Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 1999 17:54:50 +0200
From:      Thomas Keusch <thomas@members.ping.de>
To:        freebsd-questions@members.ping.de
Subject:   cvsupd setup tutorial
Message-ID:  <19990830175450.A21802@members.ping.de>

next in thread | raw e-mail | index | archive | help

Hi!

Is there a cvsupd tutorial anywhere? I searched using AltaVista but did not
come up with anything useful.

I have a local CVS repository (from the WC FreeBSD 3.2R CDs) in /home/ncvs,
and now want to serve it to cvsup clients, but the only thing that gets
installed with /usr/ports/net/cvsupd-bin is the cvsupd executable and
cvsupd.8, the manpage.

I read the man page and tried to set it up, but I seem to lack even basic
knowledge about the whole process of running such a beast, so it doesn't
work.

I run the daemon (currently on a terminal to look for output) as follows:

cvsupd -l @daemon -e -c collections


The collections dir (/usr/local/etc/cvsup/collections) looks like this:

box:/usr/local/etc/cvsup/collections $ l
total 3
drwxr-xr-x  2 root  wheel  512 Aug 30 17:22 doc
drwxr-xr-x  2 root  wheel  512 Aug 30 17:22 ports-all
drwxr-xr-x  2 root  wheel  512 Aug 30 17:22 src-all

Where each dir has a "list" and a "releases" file, e.g. for src-all:

box:/usr/local/etc/cvsup/collections $ cat src-all/list
upgrade pattern *

box:/usr/local/etc/cvsup/collections $ cat src-all/releases
cvs list=list prefix=/home/ncvs/src-all


With this setup running I get the following error on the client side, when I
run "cvsup -g -L 2 standard-supfile":

Parsing supfile "standard-supfile"
Looking up address of cvsup.visionaire.net
Connecting to cvsup.visionaire.net
Connected to cvsup.visionaire.net
Server software version: REL_16_0
Negotiating file attribute support
Exchanging collection information
Server message: Collection "src-all" release "cvs" is not available here
Establishing multiplexed-mode data connection
Skipping collection src-all/cvs
Running
Shutting down connection to server
Finished successfully

On the server side of things the same connection is logged as follows:

Aug 30 17:50:30 box cvsupd[15412]: CVSup server started
Aug 30 17:50:30 box cvsupd[15412]: Software version: REL_16_0
Aug 30 17:50:30 box cvsupd[15412]: Protocol version: 16.0
Aug 30 17:50:30 box cvsupd[15412]: Ready to service requests
Aug 30 17:50:33 box cvsupd[15412]: +0 root@darkstar.visionaire.net
                                     [REL_16_0/16.0]
Aug 30 17:50:33 box cvsupd[15412]: =0 Collection "src-all" release "cvs"
                                     is not available here
Aug 30 17:50:34 box cvsupd[15412]: -0 [0Kin+0Kout] Finished successfully
Aug 30 17:50:34 box cvsupd[15412]: Going down

/home/ncvs looks like this:
box:/usr/local/etc/cvsup/collections $ l /home/ncvs/
total 5
drwxr-xr-x   5 root  wheel  1536 May 15 04:00 CVSROOT
drwxr-xr-x  12 root  wheel   512 Feb 10  1999 doc
drwxr-xr-x  50 root  wheel  1024 May 14 16:05 ports
drwxr-xr-x  24 root  wheel  1024 May 14 18:00 src



Any help appreciated.


Please CC mails to me, as I currently can't send from the account I'm
subscribed with, so that I can reply from this one nevertheless.

-- 

 thomas (@members box)                  .powered.by.debian/linux.
                                           .served.by.FreeBSD.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990830175450.A21802>