Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
little [HOWTO] make multiple cvs repositories
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
ATha1
n00b
n00b


Joined: 16 Feb 2005
Posts: 16

PostPosted: Tue Jan 03, 2006 7:29 pm    Post subject: little [HOWTO] make multiple cvs repositories Reply with quote

First of all I used this http://gentoo-wiki.com/HOWTO_CVS_Server to setup a simple CVS Server.

In this tutorial we've created a repository named /root.

Now I will show some steps how I created further CVS repositories:

First of all I use cvs to initialise a new repository:
Code:

# cvs -d /var/lib/cvs<repositoryname> init

<repositoryname> would be your new repository (e.g. /mynewrepository)

Next step would be to edit the cvs-config file:
Code:

# nano -w /etc/cvsd/cvsd.conf


There you have to add a line:
Code:

Repos <repositoryname> # for instance /mynewrepository


At next we need users that would have access to this repository. You can use this to create new users:
Code:

# cvsd-passwd /var/lib/cvs<repositoryname> <username>

OR
You can also copy the CVSROOT/passwd file of other repositories to have the same users...

At this point I had a problem with restarting cvsd and trying to import something.
I got an error that says: unrecognized keyword 'UseNewInfoFmtStrings'

To solve this problem I had to edit the config file:
Code:

# nano -w /var/lib/cvs<repositoryname>/CVSROOT/config

and uncomment the line:
Code:

UseNewInfoFmtStrings=yes


After that and a restart of cvsd everything works.
Code:

# /etc/init.d/cvsd restart


I hope this little tutorial will help some people...
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Jan 03, 2006 7:46 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Documentation, Tips & Tricks.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum