Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

X1Lightning

macrumors 6502
Original poster
Feb 19, 2007
413
0
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

macrumors 601
Sep 8, 2003
4,101
1,312
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

macrumors 68000
Jun 6, 2003
1,950
0
District of Columbia
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

Moderator emeritus
Jun 15, 2000
7,958
7
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

macrumors 6502
Original poster
Feb 19, 2007
413
0
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
 

neoserver

macrumors 6502
Apr 24, 2003
335
0
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.
 

X1Lightning

macrumors 6502
Original poster
Feb 19, 2007
413
0
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

macrumors 601
Jul 18, 2002
4,402
11
toronto
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.
 

Krevnik

macrumors 601
Sep 8, 2003
4,101
1,312
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

macrumors G5
Jan 5, 2006
12,911
2,158
Redondo Beach, California
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.
 

Krevnik

macrumors 601
Sep 8, 2003
4,101
1,312
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

Suspended
Nov 25, 2005
17,980
5,566
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 http://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

macrumors 6502
Original poster
Feb 19, 2007
413
0
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

macrumors 6502
Original poster
Feb 19, 2007
413
0
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

Moderator emeritus
Jun 15, 2000
7,958
7
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

macrumors 6502a
Jan 4, 2002
981
0
Austin, TX
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

macrumors 68000
Jun 6, 2003
1,950
0
District of Columbia
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

macrumors 601
Sep 8, 2003
4,101
1,312
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.