Martin,

On Wed, Jul 23, 2003 at 09:53:31AM +0200, Martin Zimmermann wrote:
> Hello to all folks :-)
> 
> Yes it's hard work for developers ... but what will happen if it is tooo
> easy :-)
> 
> Anybody there who has another mirror for DRI cvs tree as vcs or rsync? This
> one in UK will be not very stable and not very often online :-(

I'm surprised with this! I have my website running on that server and I
never received any uptime complaints before...

> Maybe we can collect a list of all known and maybe tested mirror pages ...
> and repost on [EMAIL PROTECTED]

In case another developer wants to setup a server I've attached two scripts
I use for that and a small how-to.


> 1. rsync -avz --delete rsync://mefriss1.swan.ac.uk/dri/HEAD/ HEAD/

Here is another one:

2. rsync -avz --delete rsync://testbox.homelinux.org/dri/HEAD/ HEAD/

It has a cable connection with a 128kbits upload, but perhaps it's more
reliable than the other one. This is just until september, while I'm
away on vacations. Let's hope the SF CVS problems are definetly solved
until then.

> 3.
> 
> ...
> 
> Hope there will be much more soon ... or sourceforge will solve the problems
> with anonymous cvs access sooon :-)

I second that.

José Fonseca
                              DRI CVS rsync mirror
                              ====================
                                  José Fonseca
                                  ============


How to use the CVS rsync mirror
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  To download or update a branch do something like:
    
  -------------------------------------------------------------------
  rsync -avz --delete rsync://mefriss1.swan.ac.uk/dri/branch/ branch/
  -------------------------------------------------------------------
  
  where 'branch' is one of the CVS branches or 'HEAD' for the CVS trunk. Be
  careful with the trailing '/' or you might end downloading everything again.


How to setup a CVS rsync mirror
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  1. Edit repos.sh for the CVS access details.
  
  2. Run checkout.sh with the branches to mirror:
  
    ./checkout.sh HEAD blablabla-0-0-1-branch ...
  
  3. Create a /etc/rsyndc.conf with something like:
  
  -------------------------------------------------
  # rsyncd.conf configuration file
    
  log file = /var/log/rsyncd
    
  [dri]
          comment = DRI CVS rsync mirror
          path = /home/jfonseca/projects/dri/rsync/
  -------------------------------------------------
  
  4. Add the following line to /etc/inetd.conf
    
  ----------------------------------------------------------------
  rsync  stream  tcp  nowait  root  /usr/bin/rsync rsyncd --daemon
  ----------------------------------------------------------------
  
  5. Run update.sh periodically by adding something like the following line to
  your crontab:
  
  --------------------------------------------------------------
  02 4 * * *  cd ~/projects/dri/rsync && ./update.sh > /dev/null
  --------------------------------------------------------------


See rsync and rsyncd.conf man pages for more information.

Attachment: checkout.sh
Description: Bourne shell script

Attachment: update.sh
Description: Bourne shell script

Attachment: repos.sh
Description: Bourne shell script

Reply via email to