Slashdot Mirror


Cross Platform Version Control Systems?

ignipotentis asks: "I've been given the task to find a multi-platform (windows, macintosh, linux) version control system. Currently, CVS is being used, and it isn't working quite as we expected it to. We are creating large Flash files and CVS is having problems keeping everything straight. It apparently doesn't like the large file sizes. I was wondering what other decent version control software is available that doesn't require a huge sum of money?"

15 of 34 comments (clear)

  1. Re:Samba by mbadolato · · Score: 2

    And when exactly did Samba become a Version Control System?

  2. Hmmm... perforce? by j.e.hahn · · Score: 3, Interesting

    I like and use perforce. It's a great system, and there are mac clients (both OS X and otherwise) although those come with some extra restrictions (on file names and the like, due to mac platform issues.)

    However, it's not cheap. It's about US$600-700 per user to start and goes down as you add more users. It's worth it, but if you can't afford it...

    Subversion promises to be good, but it isn't there yet and I don't know if their client runs on windows or mac (or if there are any plans to port).

    There's a host of others, but I'm not familiar with them and thus won't comment.

    1. Re:Hmmm... perforce? by zenyu · · Score: 2

      I'll second that, it's very CVS like, but it keeps track of what you have checked out so it does updates much more quickly. The initial checkout takes as long or longer, on a large project you may want to just do the initial checkout overnight. Just be sure not to delete any files you're not using a full update will take forever.

    2. Re:Hmmm... perforce? by kijiki · · Score: 2

      Its nice that you like P4, and it is excellent software, but it doesn't solve the problem here.

      The problem is that neither P4 or CVS do binary diffing in their repository (IIRC, they both use RCS files on the backend, though P4 stores metadata in a transactional local DB).

      Subversion can help here, since it stores binary file deltas where appropriate. Unfortunately, its just about to become "pre-alpha" so suggesting it for a production environment is premature at best.

      Perhaps one of the other commerical source control systems supports binary diffs? Try google.

  3. Make sure treating as binary by prenagha · · Score: 3, Informative

    You are probably already doing this, but just in case... Make sure you have CVS setup to treat the flash files as binary.

  4. Compress? by Lumpish+Scholar · · Score: 4, Interesting
    We are creating large Flash files and CVS is having problems keeping everything straight. It apparently doesn't like the large file sizes.
    CVS (and the underlying RCS files) can't effectively store diffs for binary files.

    Still, a binary file is a binary file; so why not keep compressed versions of your files under source control? If you have something like a makefile, have it generate a (read only!) copy of the uncompressed file as necessary. Provide an editing script that (1) uncompresses, (2) launches the editor of your choice, (3) detects when the uncompressed version hasn't been updated (and bails out of the previous steps), (4) recompresses, and (5) either removes or touches the uncompressed version (I haven't thought this through too carefully).

    You'll cvs rm the uncompressed version. The old versions will still live in the repository if you need them. (You'll also get some immediate gain from using smaller ,v files, especially at first.)

    CVS is remarkably good for cross platform source control for Ascii files. I used it for four years in a Solaris / HP / Windows environment; good stuff.

    And in case you didn't look:

    http://www.google.com/search?hl=en&q=cvs+large+bin ary+file+OR+files

    http://www.google.com/groups?q=cvs+large+binary+fi le+OR+files&hl=en&lr=&sa=N&tab=wg

    Good luck!
    --
    Stupid job ads, weird spam, occasional insight at
  5. If you don't need to track differences... by EvilTwinSkippy · · Score: 3, Interesting
    Since you are tracking binary files, CVS is the wrong tool. (It's great for ASCII so you can see the differences in source files.)

    What you are looking for is something to just keep the different versions straight. A few shell scripts (Tcl/Tk works on Mac/PC/Unix) and an SQL database (MySQL also works on Mac/PC/Unix) are all that are required. Ok, a scripting language, an SQL database, and a central file store.

    You add new files via a checkin script. The checkin script creates a simple naming convention. (I start at [thefilename].zero and work up.)

    The [pick your]SQL database gives you a little extra information than something file based. For instance, say you yank a file, but don't want to extinguish it. You simply mark it as deprecated in your tables. Say you need a certain version of each file for a demo. You link them together into a "Release".

    Again, this approach is primarily for binary data where you don't care about the differences between files, but you do care about keeping distinct versions.

    Is the implementation involved: yes, but only slightly more than trying to adapt off-the-shelf tools.

    --
    "Learning is not compulsory... neither is survival."
    --Dr.W.Edwards Deming
  6. Don't store the generated files in CVS by iangoldby · · Score: 2, Insightful

    I don't know Flash, so I may be completely off-target here, but that's never stopped anyone on Slashdot before, so here goes...

    It may be that instead of storing the Flash binary files in CVS, you should really only be storing the scripts/sources/etc that generate the Flash file. This would be analagous to storing the text source files of a C program, but not the generated object files or the executable.

    As a general rule, I never store anything that can be regenerated by the build system in a CVS archive.

  7. Perforce or bitmover by Will+Sargent · · Score: 3, Informative

    Personally I like Perforce; it's simple, flexible, straightforward, and it's pretty aware of what its job is and isn't. There's a gui client for Windows, and a command line for Unix, and it handles multi-megabyte binary files just fine. But it doesn't do binary diffs well, and it's not set up for different media types. I've heard it can be pretty cheap if you talk to Perforce Sales right (floating head? Don't ask me.)

    One system that I've heard game developers rave over is alienbrain, which has built in support for a bunch of different media types and basically assumes it's dealing with a bunch of binary files or images from the get go.

    At 10K for ten users it's not exactly freeware, but from the reviews it looks like some game designers love it like their G4 powerbook. But that's probably too expensive.

    So another alternative is BitMover, which at the cheapest will cost you $400 a head. But there's also a leasing option that could work out better for you, and you get the warm fuzzies by supporting the software that keeps Linus calm and happy.

    Or, finally, you could talk to some CVS consultants. The guys at cyclic could certainly help you out with your problem, and probably more cheaply. At the very least, they should be able to tell you if your problems can be fixed in CVS, and at that point you should have a better shopping list of what to buy in a new system.

  8. Clearcase by renehollan · · Score: 2
    I've used Clearcase in a Linux/Solaris/Win9x/WinNT environment just fine. I think Rational produces this product under the "Rational Clearcase" name.

    Be warned, that it is expensive (ca. US$1000 per floating license), and has a fairly steep learning curve (but that's partly because of all the things it lets you do -- various repository views, for example, are cool, but can be a nightmare if not managed properly -- it is easy to shoot yourself in the foot with Clearcase).

    --
    You could've hired me.
    1. Re:Clearcase by msuzio · · Score: 2

      I find all the "sophisticated" tools fall into this realm. Clearcase is one example, another is StarTeam.. These are tools designed for large, complex environments with possible multiple versions being tracked, and multiple branches within versions.
      They are nice, but usually so incredibly loaded with complex features that even the dedicated "build guru" (and how many teams can afford one of those?) is mystified and usually resorts to only using the bare-bones subset he's managed to mostly figure out.

      So, my personal bias is *way* against those sorts of tools. CVS is great, provided you don't deal with binary files. I'm not sure if Subversion is ready for prime-time, but I've been glancing at that for a while as something to give a try RSN.

  9. Build Guru by renehollan · · Score: 2
    Yes, using Clearcase means that you generally need a build guru (bindere dundat -- the memories are starting to fade a bit).

    And, don't get me started on Clearcase Multisite.

    --
    You could've hired me.
  10. Subversion by geirt · · Score: 2

    I have not tried it myself, but I have heard very good words about subversion, a version control system which is in heavy development right now. The developers have looked at various existing version control systems, and found their pros and cons. Then they designed a sane system, something between CVS and Perforce. Then they started coding.

    Subversion is not finished yet, but according to others, it is quite usable already, and the subversion developers are using it themselves.

    There was an article in Linux Journal about subversion i February.

    --

    RFC1925
  11. StarTeam by mughi · · Score: 2

    StarTeam is from Starbase.

    Clients supported:
    Win32
    Cross-platform
    Web browser
    Microsoft Windows Explorer

    Servers:
    Microsoft Windows® and Solaris

    The cross-platform client is a Java 1.3 GUI, so it could work on Mac OS X (I haven't checked it out in a while though). They did also have a Java command-line version, and there were even Emacs integrations for that floating around.

  12. Configuration management by Twylite · · Score: 2

    When it comes to managing binary files, you may want to look at a configuration management system instead of or in conjunction with your source version control. Aegis is one such product.

    --
    i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net