has anyone used CVS?

Discussion in 'Mac Programming' started by X1Lightning, Sep 10, 2007.

  1. X1Lightning macrumors 6502

    X1Lightning

    Joined:
    Feb 19, 2007
    #1
    I'm looking at getting a version control running, and i wanted to use cvs, has anyone installed this on os x? or ubuntu?
     
  2. Krevnik macrumors 68030

    Krevnik

    Joined:
    Sep 8, 2003
    #2
    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.
     
  3. savar macrumors 68000

    savar

    Joined:
    Jun 6, 2003
    Location:
    District of Columbia
    #3
    Agreed, I used SVN on my most recent personal project and it's won me over. Best version control software that I've used.
     
  4. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    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.
     
  5. X1Lightning thread starter macrumors 6502

    X1Lightning

    Joined:
    Feb 19, 2007
    #5
    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
     
  6. bootedbear macrumors 6502

    bootedbear

    Joined:
    Sep 13, 2004
    Location:
    Austin, TX
  7. neoserver macrumors 6502

    Joined:
    Apr 24, 2003
    #7
    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.
     
  8. X1Lightning thread starter macrumors 6502

    X1Lightning

    Joined:
    Feb 19, 2007
    #9
    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?
     
  9. zimv20 macrumors 601

    zimv20

    Joined:
    Jul 18, 2002
    Location:
    toronto
    #10
    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.
     
  10. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
  11. Krevnik macrumors 68030

    Krevnik

    Joined:
    Sep 8, 2003
    #12
    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.
     
  12. ChrisA macrumors G4

    Joined:
    Jan 5, 2006
    Location:
    Redondo Beach, California
    #13
    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.
     
  13. ChrisA macrumors G4

    Joined:
    Jan 5, 2006
    Location:
    Redondo Beach, California
    #14
    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.
     
  14. Krevnik macrumors 68030

    Krevnik

    Joined:
    Sep 8, 2003
    #15
    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.
     
  15. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #16
    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.
     
  16. X1Lightning thread starter macrumors 6502

    X1Lightning

    Joined:
    Feb 19, 2007
    #17
    Sorry I'm still new to the mac, and i was using finder to look for the /etc dir and not seeing it anywhere....
     
  17. X1Lightning thread starter macrumors 6502

    X1Lightning

    Joined:
    Feb 19, 2007
    #18
    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.
     
  18. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #19
    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.
     
  19. Sayer macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
    #20
    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.
     
  20. savar macrumors 68000

    savar

    Joined:
    Jun 6, 2003
    Location:
    District of Columbia
    #21
    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.
     
  21. Krevnik macrumors 68030

    Krevnik

    Joined:
    Sep 8, 2003
    #22
    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.
     

Share This Page