PDA

View Full Version : has anyone used CVS?




X1Lightning
Sep 10, 2007, 04:27 PM
I'm looking at getting a version control running, and i wanted to use cvs, has anyone installed this on os x? or ubuntu?



Krevnik
Sep 10, 2007, 05:08 PM
Personally, I would skip CVS and go for Subversion (SVN). In a short time, it has gained my trust as easier to work with when you start dealing with branches and the like (scales better)... you can integrate tools into it better, and it still will just install and work fine from the MacOS X package if you don't need the extra goodies.

You can grab an OS X package, install it, and it will be ready to use. You just need to create the repository using svnadmin in the Terminal, but once that is done, you can use svn from the command-line, or any SVN client to work with the repository.

savar
Sep 10, 2007, 06:49 PM
Personally, I would skip CVS and go for Subversion (SVN). In a short time, it has gained my trust as easier to work with when you start dealing with branches and the like (scales better)... you can integrate tools into it better, and it still will just install and work fine from the MacOS X package if you don't need the extra goodies.

You can grab an OS X package, install it, and it will be ready to use. You just need to create the repository using svnadmin in the Terminal, but once that is done, you can use svn from the command-line, or any SVN client to work with the repository.

Agreed, I used SVN on my most recent personal project and it's won me over. Best version control software that I've used.

kainjow
Sep 10, 2007, 06:53 PM
I used it for the first time for a project I joined recently. It's terrible. Or at least the server is terrible. Either way, I prefer Subversion in every way.

X1Lightning
Sep 10, 2007, 07:29 PM
interesting, i have all ways used cvs in a windows envro, and figured it was the standard... I'll have to check subversion out. thanks for the input

bootedbear
Sep 10, 2007, 07:48 PM
subversion +1

neoserver
Sep 10, 2007, 08:00 PM
Tried to use CVS on multiple occasions, but I could never get it set up quite the way I wanted it, and found that it caused more problems then it was worth for my projects.

Then I discovered SVN. Never looked back.

jtalerico
Sep 10, 2007, 08:52 PM
svn FTW!

X1Lightning
Sep 10, 2007, 10:00 PM
Ok i installed subversion on os x, the installer ran fine, but i dont see it anywhere on the disk,
also how do i modify the etc/profile where is the etc dir?

zimv20
Sep 10, 2007, 10:13 PM
not entirely related, but i'm curious is there are any developers here who've used the Sun Code Manager tools, in the 90's, built on sccs.

hands down, it was the best system i've used (c++ projects i was doing), and i'm wondering what they're replaced it with.

Catfish_Man
Sep 10, 2007, 11:07 PM
svn, bzr, git, or hg. Just not cvs!

Krevnik
Sep 11, 2007, 11:04 AM
Ok i installed subversion on os x, the installer ran fine, but i dont see it anywhere on the disk,
also how do i modify the etc/profile where is the etc dir?

The base package just installs all the back-end tools into /usr/local/bin.

There is no configuration file in /etc for SVN, the great thing is that you just need to create the repository. This is done from the terminal using the svnadmin command. After that, you can pretty much use any SVN client available on the Mac to import and manage projects in that repository.

ChrisA
Sep 11, 2007, 01:06 PM
I'm looking at getting a version control running, and i wanted to use cvs, has anyone installed this on os x? or ubuntu?

Of course. "everyone" has used CVS. SVN is however becomming more popluar. It's an incremental improvement over CVS.

Typically you would install either of these on a server machine that is accessible over a network. So pick a machine that will remain up and running and on the 'net 24x7. Get a good backup routine running with media rotated out and some off site backup too. Next run a fire wall on the server machine and open up the right ports.
If you have a project that needs SVN then you have a huge investment in the data, Thousands of hours of work. Don't bother with setting SVN until these basics taken care of.

The install in nearly trivial on either Ubuntu or Mac OS. The pcakage managers do all the work. Use "add/remove software" on Ubuntu and "fink" in the Mac. It's best to set it up so the server starts when you boot bt how often do you boot a server? The Goal should be "never". So for now use the command line to check it out.

I always like to also install a web besed source browser on SVN/CVS servers.

ChrisA
Sep 11, 2007, 01:11 PM
where is the etc dir?

I hate to say it but, "/etc is in /etc."

Kind of like asking "when was the war of 1812?" or "how many beers in a six pack?"

If this is a Mac you can always use Spotlight to find stuff.

Krevnik
Sep 11, 2007, 01:41 PM
If this is a Mac you can always use Spotlight to find stuff.

Not stuff in the BSD layer. Spotlight is set not to search hidden directories, and /usr, /etc, /dev, and so on are all set hidden.

gnasher729
Sep 11, 2007, 03:13 PM
I'm looking at getting a version control running, and i wanted to use cvs, has anyone installed this on os x? or ubuntu?

Perforce (at www.perforce.com) is the most professional version control system that I have used so far. A limited version (limited I think to two users and five client views) is available for free, and it is well integrated in XCode 2.4.

X1Lightning
Sep 11, 2007, 04:04 PM
I hate to say it but, "/etc is in /etc."

Kind of like asking "when was the war of 1812?" or "how many beers in a six pack?"

If this is a Mac you can always use Spotlight to find stuff.

Sorry I'm still new to the mac, and i was using finder to look for the /etc dir and not seeing it anywhere....

X1Lightning
Sep 11, 2007, 04:15 PM
Of course. "everyone" has used CVS. SVN is however becomming more popluar. It's an incremental improvement over CVS.

Typically you would install either of these on a server machine that is accessible over a network. So pick a machine that will remain up and running and on the 'net 24x7. Get a good backup routine running with media rotated out and some off site backup too. Next run a fire wall on the server machine and open up the right ports.
If you have a project that needs SVN then you have a huge investment in the data, Thousands of hours of work. Don't bother with setting SVN until these basics taken care of.

The install in nearly trivial on either Ubuntu or Mac OS. The pcakage managers do all the work. Use "add/remove software" on Ubuntu and "fink" in the Mac. It's best to set it up so the server starts when you boot bt how often do you boot a server? The Goal should be "never". So for now use the command line to check it out.

I always like to also install a web besed source browser on SVN/CVS servers.

My original goal was to install it on a ubuntu machine i have that is running all the time, but the installer failed, it said some file was missing. so i thought i would just install it on a spare mac mini that i have and just leave it on,
and it installed fine there, just have to figure out how to configure it.

kainjow
Sep 11, 2007, 04:24 PM
Sorry I'm still new to the mac, and i was using finder to look for the /etc dir and not seeing it anywhere....

Finder won't show it to you because it's invisible. There are several programs available that will turn off the visibility, or you can just use Terminal to navigate.

Sayer
Sep 11, 2007, 05:29 PM
Finder won't show it to you because it's invisible. There are several programs available that will turn off the visibility, or you can just use Terminal to navigate.

Actually, you can by using the "GO" menu in the Finder. Just select "Go to Folder" and type in the path and it will show up.

I use this a lot to get at Apache log files. Note that editing files in the Unix-land is a pain via the Finder. Using the CLI is easiest for quick/minor edits e.g. just sudo pico /etc/httpd/httpd.conf and its ready to be edited.

savar
Sep 12, 2007, 03:23 AM
The base package just installs all the back-end tools into /usr/local/bin.

There is no configuration file in /etc for SVN, the great thing is that you just need to create the repository. This is done from the terminal using the svnadmin command. After that, you can pretty much use any SVN client available on the Mac to import and manage projects in that repository.

Actually it *can* create one in /etc/subversion/config, but usually it creates on in ~/.subversion/config. If both exist, the host-centric config file is read first, and the user's file is read...any duplicate properties in the user's file override the host-centric file.

Krevnik
Sep 12, 2007, 11:38 AM
Actually it *can* create one in /etc/subversion/config, but usually it creates on in ~/.subversion/config. If both exist, the host-centric config file is read first, and the user's file is read...any duplicate properties in the user's file override the host-centric file.

Didn't even know that. :)

Then again, it seems like the mark of a good CLI app (to me) that I can use the app without knowing details like that.