![]() |
Now serving 108 guides. |
|
Setting Own CVS Repository General Information In this guide I'd like to present a short info on setting own CVS repository. It has been written with an assumption that the repository will be accessed locally and through the SSH connection. Using ssh might require setting$CVS_RSH=ssh environment variable on client system.Requirements
Repository Initiation The cvs utility is a part of base system on all BSDs, thus no special installation steps are needed to make it up and running.One of the things you'll have to do when initializing new repository is to decide on it's location (for example /home/cvs) and structure, as later modifications may present some problems. You should also choose a system user that will actually own repository's files. Most commonly one of the sysadmin's accounts is used. Next step is to create a system group, i.e. cvs, that will consist of all users that will have an access to the repository.
Adding Useful Features Ports Collection have some fine applications for sending e-mail notifications when any changes are done to the repository. In this guide I'll present a CVSSpam application that generate nice HTML messages. For plain text messages take a look at ActivityMail.Installing the CVSSpam
Configuration Having done that you can create a temporary directory to checkout repository's configuration files:
collect_diffs.rb, cvsspam.rb, record_lastdir.rb.
checkoutlist so they also would be uploaded do the repository:
commitinfo and loginfo files:
What about substituting normal $Id$ tag for a custom one, like all the BSD projects does in their source files? There's actually nothing to it. Having checked out the CVSROOT add options file to the checkoutlist:
This guide is © 2007 - 2012 Cezary Morga. Author: Cezary Morga |
Copyright 2003 - 2012 BSD Guides. All rights reserved. |
About | Terms of Use | Privacy | Contact |

