Re: CVSync web page

2007-10-17 Thread Christian Weisgerber
Landry Breuil [EMAIL PROTECTED] wrote:

 i've just set up a little CVSync mirror, and following cvsync.html, i
 stumble on the cvs [checkout aborted]: /cvs/CVSROOT: No such file or
 directory issue when trying to checkout from my fresh mirror.

Why doesn't your mirror have CVSROOT?  You're missing part of the
repository.

 Maybe it is worth saying on the page that cvs repository has to be
 init'ed with 'cvs -d /cvs init' before being usable for checkouts...

Certainly not.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: CVSync web page

2007-10-17 Thread Landry Breuil
On 10/17/07, Christian Weisgerber [EMAIL PROTECTED] wrote:
 Landry Breuil [EMAIL PROTECTED] wrote:

  i've just set up a little CVSync mirror, and following cvsync.html, i
  stumble on the cvs [checkout aborted]: /cvs/CVSROOT: No such file or
  directory issue when trying to checkout from my fresh mirror.

 Why doesn't your mirror have CVSROOT?  You're missing part of the
 repository.

Maybe upstream is missing something.. i'm cc'ing maintainer in case
he's not subscribed to misc.
i just launched 'cvsync
cvsync://mirror.osn.de/openbsd-ports/rcs/?prefix=/cvs', and tried with
a full config file too, as explained on the page..


  Maybe it is worth saying on the page that cvs repository has to be
  init'ed with 'cvs -d /cvs init' before being usable for checkouts...

 Certainly not.

Ok, so my 'workaround' wasn't correct .. i suppose my cvsync copy is
broken now ?

Landry



Re: CVSync web page

2007-10-17 Thread Christian Weisgerber
Landry Breuil [EMAIL PROTECTED] wrote:

  Why doesn't your mirror have CVSROOT?  You're missing part of the
  repository.
 
 Maybe upstream is missing something.. i'm cc'ing maintainer in case
 he's not subscribed to misc.

Sure looks complete at the collection level.

$ cvsync cvsync://mirror.osn.de/ 
Connecting to mirror.osn.de port 
Connected to 194.45.27.107 port 
Running...
 Name: openbsd, Release: rcs
  Comment: OpenBSD CVS Repository
 Name: openbsd-cvsroot, Release: rcs
  Comment: OpenBSD CVSROOT
 Name: openbsd-ports, Release: rcs
  Comment: OpenBSD Ports
 Name: openbsd-src, Release: rcs
  Comment: OpenBSD Source
 Name: openbsd-www, Release: rcs
  Comment: OpenBSD WWW
 Name: openbsd-x11, Release: rcs
  Comment: OpenBSD X11
 Name: openbsd-xf4, Release: rcs
  Comment: OpenBSD XF4
 Name: openbsd-xenocara, Release: rcs
  Comment: OpenBSD xenocara
Finished successfully

 i just launched 'cvsync
 cvsync://mirror.osn.de/openbsd-ports/rcs/?prefix=/cvs', and tried with
 a full config file too, as explained on the page..

With that URL you only fetch the ports collection.

The top level of the repository looks like this:

CVSROOT
X11
XF4
ports
src
www
xenocara

If you skip some parts, you still need CVSROOT (corresponding to
the openbsd-cvsroot collection above) for CVS operations.

Of course, when you said mirror I assumed you wanted to get the
whole thing.

 Ok, so my 'workaround' wasn't correct .. i suppose my cvsync copy is
 broken now ?

Just delete the CVSROOT directory you created.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: CVSync web page

2007-10-17 Thread Armin Wolfermann
* Landry Breuil [EMAIL PROTECTED] [17.10.2007 13:44]:
 Maybe upstream is missing something.. i'm cc'ing maintainer in case
 he's not subscribed to misc.
 i just launched 'cvsync
 cvsync://mirror.osn.de/openbsd-ports/rcs/?prefix=/cvs', and tried with
 a full config file too, as explained on the page..

You don't get CVSROOT if you only fetch openbsd-ports. Just add
openbsd-cvsroot as an additional collection:

config {
hostname mirror.osn.de
collection {
name openbsd-ports
release rcs
prefix /cvs
}
collection {
name openbsd-cvsroot
release rcs
prefix /cvs
}
}

Regards,
Armin Wolfermann



Re: CVSync web page

2007-10-17 Thread Landry Breuil
On 10/17/07, Christian Weisgerber [EMAIL PROTECTED] wrote:
 Landry Breuil [EMAIL PROTECTED] wrote:

   Why doesn't your mirror have CVSROOT?  You're missing part of the
   repository.
 
  Maybe upstream is missing something.. i'm cc'ing maintainer in case
  he's not subscribed to misc.

 Sure looks complete at the collection level.

 $ cvsync cvsync://mirror.osn.de/
 Connecting to mirror.osn.de port 
 Connected to 194.45.27.107 port 
 Running...
  Name: openbsd, Release: rcs
   Comment: OpenBSD CVS Repository
  Name: openbsd-cvsroot, Release: rcs
   Comment: OpenBSD CVSROOT
  Name: openbsd-ports, Release: rcs
   Comment: OpenBSD Ports
  Name: openbsd-src, Release: rcs
   Comment: OpenBSD Source
  Name: openbsd-www, Release: rcs
   Comment: OpenBSD WWW
  Name: openbsd-x11, Release: rcs
   Comment: OpenBSD X11
  Name: openbsd-xf4, Release: rcs
   Comment: OpenBSD XF4
  Name: openbsd-xenocara, Release: rcs
   Comment: OpenBSD xenocara
 Finished successfully

  i just launched 'cvsync
  cvsync://mirror.osn.de/openbsd-ports/rcs/?prefix=/cvs', and tried with
  a full config file too, as explained on the page..

 With that URL you only fetch the ports collection.

 The top level of the repository looks like this:

 CVSROOT
 X11
 XF4
 ports
 src
 www
 xenocara

 If you skip some parts, you still need CVSROOT (corresponding to
 the openbsd-cvsroot collection above) for CVS operations.

 Of course, when you said mirror I assumed you wanted to get the
 whole thing.

  Ok, so my 'workaround' wasn't correct .. i suppose my cvsync copy is
  broken now ?

 Just delete the CVSROOT directory you created.

Okay, thanks naddy, armin and charles, now i fully understand how
cvsync works :)

Landry



CVSync web page

2007-10-16 Thread Landry Breuil
hi,

i've just set up a little CVSync mirror, and following cvsync.html, i
stumble on the cvs [checkout aborted]: /cvs/CVSROOT: No such file or
directory issue when trying to checkout from my fresh mirror.

Maybe it is worth saying on the page that cvs repository has to be
init'ed with 'cvs -d /cvs init' before being usable for checkouts...
or maybe i'm wrong somewhere.

Landry