delphij's Chaos

选择chaos这个词是因为~~实在很难找到一个更合适的词来形容这儿了……

10 May 2004

How to set up a CVSup server?

It turns that I need to set up my own cvsup server so I can deploy my fork elsewhere. Here comes how.

  1. Create a dedicated user (‘jail user’).
  2. Switch to the dedicated user, go into its home directory
  3. Create a “base” directory. For example, mkdir base
  4. Create a “sup” directory under “base” directory. The directory must be called “sup”
  5. Create collection for it. Chdir into “sup”, then, mkdir [collection name]
  6. In the “collection name” folder, create two files:

One is “releases”, for example, “cvs list=list.cvs prefix=prefix”. prefix is where the CVS repository located.
The other is “list.cvs” , each line contains a directory, for example, “upgrade src/bin”.

That’s all! Start cvsup under that user and enjoy! (cvsup -b [base directory])