LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2004, 09:11 PM   #1
webvandals
Member
 
Registered: Aug 2003
Posts: 105

Rep: Reputation: 15
Setting up CVS, where should I put my repository?


I develop websites, and have a zillion tarballed backups scatterred all over the place. So, I think it's time to set-up a CVS repository and get organized. But should I setup my repository locally or on my web server?

Here's my setup:
1) My main Linux desktop at home
2) My Linux laptop
3) My dedicated Web server (also Linux, I have root access)

What I'm thinking to do is set-up my repository on the web server, so I can always have access to the latest CVS updates, wherever I am. Basically, I just want to be able to keep my laptop in sync with my desktop. And, when I get to a point where I'm happy with my updates, I want to be able to easily update the live site to the latest CVS.

Is it a good idea to keep my repository on the web server?

General advice would be *very* appreciated :-)

sean
 
Old 06-22-2004, 09:12 AM   #2
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Linux Mint
Posts: 216

Rep: Reputation: 31
Only put it on your web server if you're able to set up some sort of encrypted authentication (e.g. kerberos.) The default pserver authentication uses crypt (insecure.) My CVS server still uses crypt, but I have it set up on a separate box behind my firewall.

Updating the web server can be as simple as using "cvs export", then uploading it to the web server.
 
Old 06-23-2004, 04:14 AM   #3
webvandals
Member
 
Registered: Aug 2003
Posts: 105

Original Poster
Rep: Reputation: 15
Thanks Eric. I've taken your advice and set it up locally instead. But now, after many hours :-( I cannot for the life of me figure out how to gain write permissions to the repository.

Everytime I try to commit, I get this error:
---------------
cvs -f commit -l -m 'ok' 'datafly.webprj' 2>&1
cvs [server aborted]: "commit" requires write access to the repository
[Exited with status 1]
---------------

Here's my permissions:
---------------
drwxrwx--x 4 cvs cvs 4096 Jun 23 17:27 cvs

and my CVSROOT/passwd file looks like this:
---------------
sean:[MyEncryptedPassword]:cvs


I can read, but cannot write. The user "sean" is also in the writers file.

Please help...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
create a cvs repository with existing files to cvs powah Linux - Software 1 08-19-2005 09:19 AM
Setting up a CVS repository mlalkm Linux - Software 3 01-15-2005 06:00 AM
Creating CVS repository: cvs [import aborted]: attempt to import the repository enemorales Linux - Software 3 10-15-2004 04:30 PM
What is CVS repository? subaruwrx Linux - Newbie 7 07-13-2004 01:25 PM
Remote CVS Repository shadfiel Linux - General 1 10-18-2002 06:04 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration