« HP DeskJet 450 (Mobile) installation... | Main | OSXII »

14 December 2002

Setting up CVS on the Cobalt Qube3

Here, so I don't forget yet again, are the steps for getting a CVS repository up on the Qube for use with OS X. People still go back and forth on the utility of cvswrappers, but since it's part of the CVS distribution on OS X, let's install it on the Qube as well.

Read about the issue at CodeFab

  • ftp://ftp.codefab.com/pub/cvs-dev/cvs-1_10_3-realwrap-source.tar.gz
  • ftp://ftp.codefab.com/pub/cvs-dev/CVSROOT-CodeFab.tar.gz
  • make and install cvs-realwrap from CodeFab on the Qube
  • ln -s /bin/zcat /usr/local/bin/gzcat
  • ln -s /bin/tar /usr/local/gnutar
  • make a cvsroot
  • init the repository
  • cvs co CVSROOT on client machine

    replace the following files with the ones from the CodeFab CVSROOT:

  • checkoutlist
  • cvswrappers

    add the following files from the CodeFab CVSROOT:

  • add cvsignore
  • add log.pl
  • add rcstemplate
  • add wrap
  • add unwrap

  • add anything needed from /Developer/Tools/cvswrappers to CVSROOT/cvswrappers
  • add anything needed to CVSROOT/cvsignore (.DS_Store and *.class come to mind)

  • cvs add cvsignore log.pl rcstemplate unwrap wrap
  • cvs commit -m "Enabled tar wrappers and set up large cvsignore list."
  • cp CVSROOT/cvswrappers ~/.cvswrappers

    test wrap and unwrap on server machine:

  • /usr/local/cvsroots/terrymitchco/CVSROOT/wrap tar-1.13 t.tgz
  • mv t.tgz /tmp
  • cd /tmp
  • /usr/local/cvsroots/terrymitchco/CVSROOT/unwrap t.tgz

  • add 'build' to cvsignore
  • enable email commit notifications to development team

  • import project directories

    setenv CVSROOT :ext:user@machine:/path/to/repository

    If cvs commands are failing with "telnet not permitted" errors, change the default shell from /bin/usersh to /bin/bash.

  • Category Archive
    Arts & Letters
    Canine
    Ether
    Gastronomy
    Legalese
    slow
    Technogeek