GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Linux
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 29-May-2009, 10:21
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 834
admin will become famous soon enough

Version Control with Subversion or CVS?


Recently I have been reading up on CVS (and Subversion) and wondering if you could guide me a little on the subject. I would like to set it up on the server (CentOS) and learn to use it.

Which one would you recommend I learn to use? CVS or Subversion?

Searching through yum, I see that both are available as packages: cvs.i386 and subversion.i386. Can I really install them through the RPM? Is it really that simple? And once I install the software, is there anything I need to configure to make the cvs server secure?
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #2  
Old 29-May-2009, 11:05
TurboPT's Avatar
TurboPT TurboPT is online now
Senior Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 1,123
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: Version Control with Subversion or CVS?


I came across this, if it might be helpful. Just jump down to the "Getting Started" section.

I have not done a full install of CVS myself; however, we DO use CVS as a repository at our location.

EDIT:
I have not had exposure to subversion, so I can't elaborate on that one.
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
  #3  
Old 29-May-2009, 11:29
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 5,200
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Version Control with Subversion or CVS?


Quote:
Originally Posted by admin
Recently I have been reading...
I have not been involved in setting up or administering Subversion servers, but I have been on the client end a number of times with Windows clients as well as with various Linux platforms. Subversion seems to be the "way to go." I just use command-line svn client stuff on Linux (svn co, svn update, etc.) and the Tortoise SVN client for Windows (http://tortoisesvn.tigris.org) Five stars (out of five).

If you have read up, then you probably have seen stuff like http://subversion.tigris.org/faq.htm...r-requirements and http://svnbook.red-bean.com/nightly/...verconfig.html and http://wiki.centos.org/HowTos/Subversion

As far as security: Your final object is (probably) to hook into Apache. Therefore the svn server already uses whatever security setup (Selinux or whatever) and authentication that is there. Additional considerations seem to be covered in chapter 6 of the svnbook. (Remember: I am not a Subversion guru.)

The Subversion package supplies all of the subversion stuff (svn, svnadmin, svnserve). See Footnote. (You knew this was coming, right?)

Server requirements are spelled out in chapter 6 of the svnbook (also in the centos.org HowTo). Namely: you will also need the mod_dav_svn package in the Centos base repository to use with Apache 2.x. (I am assuming you are running a recent httpd from Centos. Mine is version 2.2.3.)

Bottom line: Lots of things to learn; lots of free documentation for starters (http://svnbook.red-bean.com/).


Regards,

Dave


Footnotes:

A hint from a Subversion guru of my acquaintance:

To get a feel for things, just set up a local svnserve-based server. Create a repository or two and do some experiments inside your firewall. There are a LOT of things to learn. Nothing you do or learn here is a throwaway. If you already have CVS repositories, they can be converted, almost painlessly (he says), to Subversion.



A blurb from the book at svnbook/red-bean:


If you've decided to use either Apache or stock svnserve, create a single svn user on
your system and run the server process as that user. Be sure to make the repository directory
wholly owned by the svn user as well. From a security point of view, this keeps
the repository data nicely siloed and protected by operating system filesystem permissions,
changeable by only the Subversion server process itself.
  #4  
Old 29-May-2009, 11:51
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 834
admin will become famous soon enough

Re: Version Control with Subversion or CVS?


Gentlemen,

Thank you for your comments and suggestions, and I certainly have a lot more to read now.

I will attempt to install the software tomorrow and see how it goes from there. I think I'll go with Subversion. I will probably use the "svnserve" server instead of the mod_dav_svn module since I don't have Apache 2 installed on the server.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
 
 

Recent GIDBlogToyota - 2009 May Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
run script command on ns2.26 newbie06 Computer Software Forum - Linux 65 19-Aug-2009 08:50
WHMreseller - NEW VERSION 3.3 SALE ! Now Only $6.95/m OR $39.95/y bjdea1 Reseller Hosting 0 16-Dec-2008 06:54
triangle (polygon), drawing, sizing, and rotation programme using linked lists... promsan C Programming Language 12 14-May-2007 15:03
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 04:38
versions onauc C++ Forum 13 21-Nov-2004 00:24

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:14.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.