Slashdot Mirror


Subversion 1.0 Released

Phil John writes "Subversion 1.0 has finally been released. The people who maintain CVS have given us a viable replacement for our de-facto (and aged) versioning system. If you're new to Subversion its feature list looks like fixes for everything that is wrong in CVS, renaming, directory structure and metadata version tracking, file deletion, proper management of binary files and it's pretty portable to boot." According to the download page, binaries may take a few days to appear.

206 of 587 comments (clear)

  1. What's with that? by Anonymous Coward · · Score: 5, Funny

    According to the download page, binaries may take a few days to appear.

    What's so good about a version control system that takes days for binaries to appear? That's a pretty big bug to work out. (fp)

    1. Re:What's with that? by Cereal+Box · · Score: 3, Insightful

      Are you being serious?

      It's very common to work on a piece of software that might rely on some third party library that you don't have source for. In order to get your source tree to compile you're pretty much going to need a copy of that library. Seems pretty convenient to keep it around in CVS.

      But besides that, you might have some binary data file that needs to be part of your distribution, i.e. PDF documentation.

    2. Re:What's with that? by after · · Score: 5, Insightful

      A "binary" does not ultimately mean an executable. A binary, as you probobly know, can be any binary file sutch as a PNG image or compressed text file. The defenition is monolithic, so I can already see a mod disagreeing with me.

    3. Re:What's with that? by sirsnork · · Score: 3, Interesting

      It's slashdotted already but I'm pretty sure the bianries they are talking about are binaries of the server itself (so you don't have to download the source and compile it yourself to run it, rather than it not supporting binary files in the tree itself.

      --

      Normal people worry me!
    4. Re:What's with that? by mithras+the+prophet · · Score: 4, Insightful

      I think he meant: if you're a programmer that plans on using Subversion, surely you can compile the damn thing yourself, rather than waiting for somebody else to do it for you.

      --
      four nine eighteen twenty-7 thirty-nine forty-7 fiftyeight sixty-nine seventy-9 eighty-8 one-hundred-and-nine one-twenty
    5. Re:What's with that? by Anonymous Coward · · Score: 2, Insightful

      What worries me more is when people assume that all software being developed is open source.

    6. Re:What's with that? by notsoclever · · Score: 5, Insightful
      And I suppose plain text files are decimal? Or maybe they're analog?

      All files are binary. What most people mean when they say "binary file" is "non-plaintext."

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    7. Re:What's with that? by Jacek+Poplawski · · Score: 2, Interesting

      The question is, what kind of developer that would need version control relies on binaries, hmm?

      Windows one.

    8. Re:What's with that? by coopaq · · Score: 2, Funny
      I think he meant: if you're a programmer that plans on using Subversion, surely you can compile the damn thing yourself, rather than waiting for somebody else to do it for you.

      Dude! I'll wait for the binary. We have a whole
      project written in BASIC that needs to get checked
      in. We're not risking compiling this thing.

      what does compile mean anyway?

    9. Re:What's with that? by ehack · · Score: 4, Funny

      The source for Subversion is in a Subversion archive, so the usual supect who build binaries cannot check it out because they themselves haven't built Subversion yet :)

      --
      This is not a signature.
  2. It's not out yet... by jsquyres · · Score: 3, Funny

    This story seems to have jumped the gun a few hours; the 1.0 tarballs don't seem to be available yet.

    However, you can download the latest Subversion sources from its Bitkeeper repository... no, wait...

  3. Re:Not bad, but... by OverlordQ · · Score: 5, Informative

    It's not released under the Apache/BSD License . . .

    It's released under an Apache Style license.

    Google Cache since the site seems to be dying as we speak.

    --
    Your hair look like poop, Bob! - Wanker.
  4. with WebDAV as well by stonebeat.org · · Score: 2, Informative

    I think this can be used with WebDAV to provide the missing versioning functionality as well.

    1. Re:with WebDAV as well by John+Hurliman · · Score: 5, Informative

      Just like WebDAV is an extension of HTTP 1.1, Subversion is an extension of the WebDAV protocol. This means that:

      * It can run as an Apache module or a standalone server
      * It can go anywhere HTTP goes (including caching proxies) as it runs entirely over port 80 with WebDAVish calls.
      * It implements part of the WebDAV protocol, and in the future might fully implement it meaning seamless integration in to software like Macromedia Dreamweaver.
      * Uses Apache for the authentication, so you can authenticate with any module you find/write.

      Right now our WSU Linux User Group is using Subversion for development. Authentication is tied to a PostgreSQL backend that is shared with the Zope/Plone server, so an admin can login to the Member panel and add/remove people from the developer group to give or take Subversion access. A real WebDAV folder is also setup that shares the same authentication method. Now we just have to tie in mail server and ssh authing...

    2. Re:with WebDAV as well by SewersOfRivendell · · Score: 5, Informative
      All of the above is true, but I'd like to clarify that Subversion is a set of version control libraries, on top of which are built the clients and servers, it's not just an implementation of the WebDAV DeltaV protocol for Apache.

      For example, there's also a supported custom network protocol server (svnserve, uses "svn://" URIs) for those that don't/can't maintain Apache w/mod_dav.

      (And everything else people say about how cool Subversion is -- is true! Really, check it out. Sourceforge should switch over ASAP.)

  5. Re:Not bad, but... by MillionthMonkey · · Score: 4, Interesting

    What is the matter with an Apache/BSD license? Why must it be GPL?

  6. Re:Not bad, but... by Anonymous Coward · · Score: 5, Informative

    There is always GNU arch. It's got some nice features that subversion does not have to boot! Such as distributed repositories, advanced merging, and GPG signed patches.

  7. sf.net by RoadkillBunny · · Score: 5, Interesting

    Is sourceforge gonna offer this service in their project hosting instead of CVS now? Or will they allow both?

    --
    Cheers,
    RoadkillBunny
    1. Re:sf.net by jdavidb · · Score: 3, Informative

      I seem to recall that several years back (2001) sourceforge did some tests for subversion where they imported all of their repositories into a subversion repository as a stress test. (Yes, subversion has been working as a minimally functional VCS since then ... since then they've been adding features, refining protocols, and most importantly making it more robust.) I'm pretty certain sourceforge will want to be moving to subversion, or at least making it an option.

  8. Re:Comparing the software by Anonymous Coward · · Score: 5, Informative
  9. GREAT! by mehaiku · · Score: 2, Flamebait


    So when does it replace Bitkeeper for the kernel?

    1. Re:GREAT! by be-fan · · Score: 3, Insightful

      It won't. Subversion is a traditional, centralized system. Linus wants a distributed system, which Bitkeeper is.

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:GREAT! by Anonymous Coward · · Score: 5, Informative

      Subversion can be centralized (used as-is) or it can be decentralized (used with svk).

      More info on svk: http://svk.elixus.org/

      The beauty of being designed from the ground up to be a set of C APIs allows it to be used in any way you want.

      For me, I like using it with ViewCVS and TortoiseSVN (similar to the awesome TortoiseCVS extention to Windows Explorer).

  10. Works well by Anonymous Coward · · Score: 5, Informative

    I've been using earlier builds for my own codebase stuff, and while there are a few new concepts to get your head around, overall the system works very well. I haven't had any problems with corruption or loss, and everything I've needed to do has worked perfectly.

    My congrats to the dev team for a good solid product.

    For those looking to use it, befor eyou do, work out your versioned directory structure, it *is* kinda important (although not critical, you can move things around afterwards). For example, I have:

    trunk/(project name)
    tag/(project name)/(tag)
    branch/(project name)/(branch name)

    as my general layout. Other people may have other recommendations, but tags and branches etc are no longer this explicit thing, its just about where you put them in the "filesystem".

    1. Re:Works well by evvk · · Score: 2, Informative

      There's a rather big problem, perhaps the one single big problem of SVN with this: svn diff and svn merge don't follow history over copies, only svn log does.

  11. still waiting by bcrowell · · Score: 4, Funny

    I don't think I'm going to try this version. I think I'll wait until they get to Superversion 1.0. Or maybe Superversion Platinum/Pro++ 1.0.

  12. Re:Not bad, but... by Anonymovs+Coward · · Score: 5, Insightful
    Subversion overall looks very nice. However, I do have some issues with it. Namely, it's released under the Apache/BSD license, which I'm not completely comfortable with.

    What a strange statement. Do you use XFree86? OpenSSH? There's any amount of such software out there under similar licences, and if the original BSD TCP/IP stack hadn't been under such a licence, it's doubtful the internet would be as interoperable as it is today, and if X hadn't been under the MIT licence, we'd be stuck with a bunch of incompatible proprietary windowing systems.

  13. Re:Comparing the software by Anonymous Coward · · Score: 5, Informative

    try this.

    Note: written by a subversion dev :)

  14. Filesystem driver? by sploxx · · Score: 5, Interesting

    Is there a filesystem that uses subversion as it's underlying "device"? For linux?
    Some time ago I worked with Rational ClearCase and the filesystem integration was really nice.

    1. Re:Filesystem driver? by Anonymous Coward · · Score: 4, Interesting

      see Katie

      It's a revision control system masquerading as an NFS filesystem/server. Pretty damn cool. It's 99% written in Perl.

    2. Re:Filesystem driver? by mohaine · · Score: 4, Funny

      Wow, there is a first for everything. The one statement I would have bet large sums of money that I would never hear is that ClearCase's filesystem integration is really nice.

      --
      (appended to the end of comments you post, 120 chars)
    3. Re:Filesystem driver? by Dragonmaster+Lou · · Score: 2, Informative

      You're kidding, right? One of the most annoying things about ClearCase is that it requires a kernel-mode driver to run (and that also makes it a bitch to get up and running).

      That said, Subversion uses a database, not a filesystem, for its underlying device -- although the database is structured like a filesystem. Also when you check out files, you just check them out as normal directories on your local file system.

    4. Re:Filesystem driver? by warkda+rrior · · Score: 3, Funny

      You lost me at "[...] filesystem [...] written in Perl"...

      --
      You need to install an RTFM interface.
    5. Re:Filesystem driver? by Ian+Bicking · · Score: 2, Informative
      In theory the WebDAV interface could be used in this way, and the filesystem client would be much more general than just Subversion. Unfortunately, there's not generally support for versioning in WebDAV clients (versioning itself is part of another standard which extends WebDAV). While you can use it without the versioning (e.g., with Windows Web Folders, or Mac's WebDAV support), you don't get all the version control goodness, like atomic multi-file commits, log messages, etc.

      There is an Explorer extension for Windows, which might be somewhat akin to filesystem support. I don't think you'd need quite as much filesystem support for Subversion, because it handles all the tags and branching in filesystem terms -- a branch or tag is just a copy of the tree (literally copied to another location in the repository), so it's naturally exposed as a filesystem-like interface (unlike, say, CVS, where the branch is a separate concept from the filesystem layout).

      Copies and deletes still require tool support, but that can be solved in the UI (e.g., Explorer, Konqueror, Nautilus), instead of at the kernel level.

    6. Re:Filesystem driver? by David+Kennedy · · Score: 4, Informative

      It is a pain to set up and configure, but I agree with the grandparent that as a developer USING it, ClearCase is really nice.

    7. Re:Filesystem driver? by lobsterGun · · Score: 3, Informative
      Before you get too excited here's a note from the Katie web page:


      Katie is currently in a rather pre-alpha state. The functionality that has been implemented so far (checkin, checkout, labels, branches, dynamic views, configuration specifications, comments) works very nicely, but there is much still to do. See doc/TODO in the distribution for details of what needs to be done, and doc/QUICKSTART for an introduction to what is currently working.
    8. Re:Filesystem driver? by TeamSPAM · · Score: 2, Insightful

      One of the companies I worked for put the money out for Clearcase and I really liked using it. Granted the vob filesystem was kinda slow, but I could my unix tools against specific versions of the file, not just the latest. The thing that boggled my mind was that we threw it aside when we started using all open source development tools, and thus CVS. I think some of our deployment processes suffered since CVS is not as good at the configuration management that Clearcase was.

      --
      Brought to you by Team SPAM! where we believe: "Information in the noise!"
  15. Does Subversion require a UNIX account per user? by Anonymous Coward · · Score: 3, Interesting

    I've always hated that about CVS and Arch.
    A revision control system should simply work in one UNIX account across all users - it's easier to administer and is much more secure.

  16. 10 revision control system comparison by Anonymous Coward · · Score: 5, Informative

    Here's a comparison with 10 popular replacements

    http://better-scm.berlios.de/comparison/comparison .html

    1. Re:10 revision control system comparison by Webmonger · · Score: 4, Informative

      Note that at least some of this is out of date. For example, Arch has now been ported to win32.

    2. Re:10 revision control system comparison by thames · · Score: 3, Informative

      This comparison is wrong is several places. For one it states that Arch does not "support copying files or directories to a different location at the repository level, while retaining the history" Arch does that very well.

    3. Re:10 revision control system comparison by axlrosen · · Score: 2, Informative

      Well kind of. The Win32 page on the Arch wiki says "Arch was never intented to run on a non POSIX system. Don't except to have a full blow arch on your Microsoft computer."

  17. FreeBSD by Anonymovs+Coward · · Score: 5, Interesting

    Some time ago Doug Rabson posted a wishlist of features that would be needed to move FreeBSD to subversion (from CVS). Any idea on progress on these features? The site seems to be slashdotted.

    1. Re:FreeBSD by cduffy · · Score: 4, Informative

      Heh -- having been on the Arch list for a while, I distinctly recall watching the feature requests from Linux kernel developers ("we need $THIS before we can migrate away from BitKeeper" sort of thing).

      Their objections (other than performance, which has been dramatically improved lately) have been largely silly things, not related to the Arch core itself (which is most excellently designed; thanks Tom!), but rather mostly UI-type issues ("we want built-in a graphical 3-way merge tool!" type items).

      That's the case for Arch, anyhow. As for the post you just mentioned, its objections to SVN happen to be things that either don't hinder Arch at all or should be non-issues altogether (ie. better solution available):

      1. Equivalent to cvsup. Arch has this functionality built in, implicit in its mirroring and distributed support features.

      2. Support for (user-supplied) keywords. The general consensus on the Arch list is that it's a bad idea for any revision control system to support this "feature" at all, and that there are better ways to do anything one could want them for.

      3. Converting the repository -- cscvs, a tool I help to maintain, does just that.

    2. Re:FreeBSD by Samrobb · · Score: 3, Interesting
      2. Support for (user-supplied) keywords. The general consensus on the Arch list is that it's a bad idea for any revision control system to support this "feature" at all, and that there are better ways to do anything one could want them for.

      Out of curiosity, could you repeat some of the reasons for opposing this? In this particular case, it seems that it's viewed as a fairly significant stumbling block by a large and influential potential adopter (FreeBSD).

      I've never worked in an environment where we specifically needed this capability, but my general experience is that it's a poor choice to sacrifice flexibility unless there's a strong technical reason for doing so.

      --
      "Great men are not always wise: neither do the aged understand judgement." Job 32:9
    3. Re:FreeBSD by dfr · · Score: 2, Informative

      In the FreeBSD project, we have a significant amount of code which is shared between several similar projects (NetBSD, OpenBSD, DFBSD and others). Having shared files include version control tags from all sharing platforms life a lot easier for the people who merge changes back and forth between the systems.

      Still, I don't speak for the FreeBSD project and while it is my opinion that the lack of user-defined keywords is significant, the need for a viable cvsup replacement is a much bigger problem. Whatever, the decision to change version control products is not mine to make. If the project does move to subversion, I imagine it would only happen after a long process of testing and evaluation and that process hasn't even started.

    4. Re:FreeBSD by ivoras · · Score: 2, Informative
      DragonflyBSD (a new-technology fork of FreeBSD 4) had a discussion about using subversion here.

      They were not impressed :) but that was primarily because the lack of cvsup-like tool and 3dparty support.

      --
      -- Sig down
    5. Re:FreeBSD by cduffy · · Score: 2, Informative

      Modifying files on checkout/checkin is incompatible with some of Arch's most interesting (and very effective) performance and space optimiziations, some of which are available in no other source control system existing. Creating working directories as hardlink trees out of the revision library is suddenly impossible; checking inode signatures to determine quickly which files changed becomes more complex; and these tags simply don't do anything useful that Arch's patchlog approach can't or won't.

      Strong enough reason?

  18. Apache/BSD is not bad idea by veggiespam · · Score: 2, Redundant

    i assume the client libraries are apache/bsd licensed. if they were GPL, then SunOne/Forte, Visual Studio, C++ Builder, and other systems could not include plugins for Subversion. So, we'd be stuck with either propritary solutions like source safe and clear case, or stuck with CVS access via fork() as many applications do now.

    If you're really annoyed, write tirgis and tell them GPL with LGPL client.

  19. Re:Mirror? by OverlordQ · · Score: 4, Informative

    Quasi-Mirror Didn't get the style-sheets, so the formatting is a bit whack.

    --
    Your hair look like poop, Bob! - Wanker.
  20. Why Subversion Kicks Ass by Catharsis · · Score: 5, Informative

    This news post really does nothing to explain why Subversion is so much better than CVS.

    Subversion is, in essence, a reimplementation of CVS without the limitations of CVS.

    It has basically the same functionality as CVS, but is based on a BerkeleyDB backend instead of a simple filesystem approach like CVS. This means, among many other things, that you can move files from directory to directory and rename them without orphaning them.

    This is, IMHO, reason enough to switch. (And was reason enough to switch for me a while ago.)

    SVN can do binary-file diffs, tracks submissions of multiple files as part of the same revision, and if memory serves me correctly, does O(1) branching and tagging.

    For those of you who, like me, use TortoiseCVS to do version control in windows, there is TortoiseSVN which works like a charm and provides all the functionality you're using in TortoiseCVS with some nice extras.

    I could go on at great length, but the Subversion team can probably do a much better job explaining this than I can, so go to their web site instead.

    Quite honestly, I think that Subversion is so much superior to CVS that it will completely replace it, and I haven't got anything to do with the project. Once I switched over, I never looked back.

    1.0 release means that SVN now supports everything that CVS does, with a few extras. From here, they are planning to work on new features.

    I've heard some bellyaching over the license already (boo hoo). BSD code is Gratis and Libre, and if the Subversion team isn't losing sleep over MicroSomeone ha>oring their project into one of their own, I won't either.

    Please don't turn this discussion into another license vs. license argument, and have a look at the project for its real merit.

    --

    "The wise man proportions his belief to the evidence." -- David Hume

    1. Re:Why Subversion Kicks Ass by cduffy · · Score: 4, Interesting

      It has basically the same functionality as CVS, but is based on a BerkeleyDB backend instead of a simple filesystem approach like CVS. This means, among many other things, that you can move files from directory to directory and rename them without orphaning them.

      Bogus. GNU Arch is based on a filesystem-based repository as well, but can revision file moves, permissions, symlinks, and so forth.

      Further, even if the Arch tools were to disappear tomorrow, I could still retrieve the contents of my files using tar, patch and similar tools -- something I can't do with a tool that backends into BerkeleyDB. (Yes, call me paranoid -- but I don't trust my source to big binary blobs managed by the same library that's destroyed my RPM database so many times). The repository format is write-once, so the files in the repository, once created, are never overwritten or modified as new history is added (unlike CVS's ,v files or Subversion's database backend).

      There are other reasons to prefer Arch as well, including distributed repository support, history-sensitive merge operators, and arguably superior core design.

      Yes, I'm glad to look at SVN on its merits alone -- and while it's a huge improvement over CVS, I still find it lacking compared to the other modern revision control systems out there.

    2. Re:Why Subversion Kicks Ass by Ian+Bicking · · Score: 2, Interesting
      ...and if memory serves me correctly, does O(1) branching and tagging.
      I don't think that's very exciting. It's more exciting that it does O(1) copying, including O(1) copying of entire trees. They build branching and tagging on top of that functionality, which is the clever part.
    3. Re:Why Subversion Kicks Ass by Eric+Smith · · Score: 5, Insightful
      Further, even if the Arch tools were to disappear tomorrow, I could still retrieve the contents of my files using tar, patch and similar tools -- something I can't do with a tool that backends into BerkeleyDB.
      I was concerned about that when I started using Subversion. They supply a command, "svn dump", that outputs a flat text file version of a repository in an easily parsed format. I have a cron job to do this periodically for backup. If a was more paranoid, I'd set it up to do it after every commit.

      However, I've been using Subversion for quite a while, and it has never yet lost any of my data.

      but I don't trust my source to big binary blobs managed by the same library that's destroyed my RPM database so many times).
      I have had occasional RPM database problems, but as far as I can tell they have been due to RPM problems, not due to Berkeley DB problems. In my experience Berkeley DB is fairly robust.

      In principle, there is no reason why Subversion can't use your favorite relational database as the back end. The Subversion developers chose Berkeley DB as the first back end implementation, but there may be others in the future.

      arguably superior core design
      That's rather vague. What's better about Arch's core design? (I'm not trying to knock Arch; I just don't know much about it.)
    4. Re:Why Subversion Kicks Ass by mgm · · Score: 2, Informative

      Subversion implements branching and tagging as copy operations, hence they're all fast "cheap" copies. By convention, you don't commit changes to a tag, which is just a directory. It's possible to actually disallow changes to a tagged directory to people can't accidentally change a tag, of course.

      So if you have your project at

      svn://myserver/projects/myProject/trunk

      you can create a tag by doing

      svn cp svn://myserver/projects/myProject/trunk svn://myserver/projects/myProject/tags/1.0.0/

    5. Re:Why Subversion Kicks Ass by Eric+Smith · · Score: 2, Interesting
      I fully understand that, and I still don't think it's all that important to me as a Subversion user. It's the effect, cheap tagging and branching, that is important to me, not the cause, cheap copying. The cheap tagging and branching could just as well be implemented by magic pixie dust, and as long as it worked well and reliably, that would suit me fine.

      Just as I care that my car gets me where I want to go, not how the engine works. (Yes, I know some people care how the engine works, and I'm not trying to be critical of that.)

    6. Re:Why Subversion Kicks Ass by cduffy · · Score: 2, Insightful

      That's rather vague. What's better about Arch's core design?

      Well, for instance, it actually can support things like history-sensitive merges without substantial rearchitecting. After RMS asked for a revision control system with digital signature support, Arch's design was flexible enough that it had a finished implementation while the SVN folks were still debating over how they wanted to implement it. Those are just examples, though.

      If you want something a bit better, let me point you to a missive by Tom Lord (the Arch maintainer), entitled Diagnosing SVN, and a refutation by Greg Hudson, Undiagnosing SVN. Note in particular Greg's response to Tom's "under-developed notion of version control" claim.

  21. more information by j1m+5n0w · · Score: 5, Informative

    The main site seems to be slashdotted. There appears to be an online book on the subject here

    Version Control with Subversion
    Draft Revision 8770
    Ben Collins-Sussman
    Brian W. Fitzpatrick
    C. Michael Pilato

    -jim

    1. Re:more information by be-fan · · Score: 2, Funny

      Ha ha. There never was a subversion 0.8x. The last release before the 1.0 release-candidate was 0.37 :)

      --
      A deep unwavering belief is a sure sign you're missing something...
  22. Re:It runs on top of Apache? by sploxx · · Score: 5, Informative

    According to their website, Subversion also supports a standalone server mode, much like cvs pserver/ssh.

  23. Re:It runs on top of Apache? by rfmobile · · Score: 2, Informative

    One if you want to access SVN over a network. You don't need Apache if the repository is local.
    -rick

  24. Re:Yeah it's nice by damiam · · Score: 3, Funny

    Thank you, Mr. Cut-and-Paste (7th comment down).

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  25. Re:It runs on top of Apache? by kellman · · Score: 5, Informative

    Yes, because it uses WebDAV for file transfers. This requires more overhead obviously, but it also makes it more extensible.

    --
    I don't want to sell anything, buy anything, or process anything. I don't want to sell anything bought or processed...
  26. Re:It runs on top of Apache? by efbrasil · · Score: 2, Informative
    Subversion runs on top of Apache.
    You can run it under Apache, as you can run it using a ssh tunnel, and you can even run it using subversion's own server, svnserve.
  27. Re:Does Subversion require a UNIX account per user by afidel · · Score: 2

    More secure to have a patchwork of internal user tracking built into the app instead of using the OS's user tracking?!?!? I don't think so, especially since you can use advanced permissions like ACL's to block access to subtrees despite what the version tracking system might think.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  28. CVS and others by ModernGeek · · Score: 2

    Can someone give me a quick overhaul of what CVS acutally is and does? I am just starting to move from Proprietary to Open Source for my developments, and wonder what exactly CVS is, in the Proprietary world, most people just use a WinServer/SMB to share code, how different is CVS? I know it is pretty hard, but I want to know the exact concept of it and how exactly it will help improve efficiency/etc. Once I am done migrating from prop/opensource, i will probably write a paper or article on it, it is a rough journey but once you are halfway there, you fell like you just took on the world and won.

    --
    Sig: I stole this sig.
    1. Re:CVS and others by Dragonmaster+Lou · · Score: 5, Informative

      CVS has nothing to with sharing code (although it can be used for that, but that's not its primary purpose). CVS is a version control system, more akin to something like Visual Source Safe.

      Basically, it serves two functions. First, it tracks changes made to files in your source tree, so that if the latest tracked version of a particular piece of code is broken, you can compare it to or even roll back to an older version of the code to either work around or diagnose what broke. Second, it allows multiple users to work on the same file at the same time without stepping on each others toes too much. This works by having each user check out a copy of the code from the main repository which contains the "master" copies of the code. When they're done working on the code they can check it back in to the repository where (often with a little human intervention) the changes are merged with the most recent copy stashed in the repository.

      Part of that does involve a central server to store repository in -- on a local network this is could often be a commonly accessable directory or mounted drive off of a WinServer/SMB or NFS server. CVS also allows for internet checkouts and checkins, which is how a lot of open source stuff is handled.

      CVS and other version control programs have lots of other features I haven't mentioned here, such as branches, labels, etc., but I figured this gives you a good idea of what's going on.

      Hope this helps.

    2. Re:CVS and others by PacoTaco · · Score: 3, Informative

      Here's the overview from the manual.

    3. Re:CVS and others by cduffy · · Score: 5, Informative
      [Yes, you hit the basics -- but the implicit per-file assumption a la CVS just hit my "rant" button... hopefully some of what I'm throwing out here is actually useful].


      First, it tracks changes made to files in your source tree [...]

      While CVS tracks changes made to individual _files_ in the source tree, some other revision control systems (ie. Arch, BitKeeper, etc) store changes to the tree state atomically. That is to say, if you have file1.c and file1.h and you make a change that touches both of them, you can bundle both those changes together into one atomic operation, so that they show up as just one changelog entry and that every developer who applies one of these changes always gets both of them.

      In CVS, to know that file1.c version 1.13 and file1.h version 1.2 both belong in the same tree, you need to "tag" each file in the tree -- adding notation to the backend store for each individual file indicating that they both are tied to THIS_TAG_VERSION. In the case of a changeset-oriented system, on the other hand, the appropriate version of both files is just another element of the repository state -- so instead of a set of individual file states, you just have one big repository state that holds everything together.

      This also makes updates very fast, since instead of checking for each file "is there an updated version of this file?" for each and every file in the repository, you can just check "are there new patches for this repository?" and download that.

      There are other things one can reasonably expect of a modern revision control system, as well. For instance, a site using tla-pqm to manage their Arch repository can be set up such that only code which compiles and passes the unit tests can be merged into the primary repository; this is exceedingly good practice, especially on big teams.

      Another nifty thing good revision control systems can do (well, some of them -- Subversion, for instance, lacks this) is distributed operation. For instance, this means you can make a branch of someone else's code stored on your own server, make revision-controlled changes on that server, and then ask them to merge your changes back into their branch -- without yourself having any access to their server at all! Distributed branching, in combination with good branch and merge operators, enable quite a lot of workflows that would otherwise be quite impractical. In terms of release-quality revision control systems, the only two that really have this support are Arch and BitKeeper (svk and darcs do something similar, but neither is exactly mature or in posession of a substantial userbase; that said, I think darcs is quite interesting from a research-project point of view).


      By the way, I'm currently the maintainer of cscvs (a tool for building a SQLite database with inferred changeset information from analyzing a CVS repository's history, and then doing interesting things in it -- ranging from reporting to importing the archive into Arch), making me an interesting combination of "informed" and "biased" in this discussion. If you're interested in revision control and possibly interested in a continuation of this rant (or disagree with some part of it), please drop me an email.

    4. Re:CVS and others by Compuser · · Score: 3, Informative

      You don't want atomic commits you want changeset
      functionality. Just so the terminology is in tune
      with others. And subversion seems to have partial
      support for that. If you figure out what "implicit
      changeset" functionality is exactly...

    5. Re:CVS and others by Anonymous Coward · · Score: 2, Interesting

      First, it tracks changes made to files in your source tree [...]

      Actually, the parent poster made *two* errors: one is the per-file behaviour, which you corrected, but the second mistake is that svn tracks *changes* .. it doesn't. It tracks *source tree snapshots* which is a subtle but important difference.

      And which makes it less useful, and makes the code more complex.

      Arch, as an example, literally tracks the differences between revisions, rather than the revisions themselves. From both an abstract point of view, and in the implementation.

    6. Re:CVS and others by Emil+Brink · · Score: 2, Informative

      There seemed to be several helpful replies to this, but I didn't see anyone linking you to the book, so there. It's good.

      --
      main(O){10<putchar(4^--O?77-(15&5128 >>4*O):10)&&main(2+O);}
    7. Re:CVS and others by SJS · · Score: 2, Interesting
      Part of that does involve a central server to store repository in -- on a local network this is could often be a commonly accessable directory or mounted drive off of a WinServer/SMB or NFS server. CVS also allows for internet checkouts and checkins, which is how a lot of open source stuff is handled.
      CVS over NFS is problematic and should be considered unwise. Most of the really strange problems with CVS I've encountered (from hanging in #java) have been with CVS over NFS. I've never bothered to run CVS over NFS myself, but when someone starts asking how their repository got corrupted, so far every time has been that they were using NFS.

      (On the other hand, most of the problems involved with setting up CVS involves pserver -- most of the people somehow decided that pserver is simpler than ssh, even if they already have ssh set up on the respository box. Go figure.)

      --
      Pick One: http://www-rohan.sdsu.edu/~stremler/sigs/sigs.html (Note - disable Javascript first!)
    8. Re:CVS and others by arkanes · · Score: 4, Informative
      CVS is atomic per-file but not per-changeset. Arch and svn both make multiple-file commits atomic (because they're changeset-oriented rather than file-oriented). It's not a misuse of atomic ;)

      The work environment you're descriping is more typical of a small project or an in-house effort, not a broad distributed project. Think about needing to maintain released versions, to handle patchs and bug reports against that version, and to backport fixes to the current tree against that version.

      Also, I don't know what language you primarly use, but as a C++ developer I don't remember the time I checked in just 1 file, unless I'm chugging through one-liner bugfixes. Changesets make sure that .h/.cpp (as a trivial example) commits are atomic, and have the aditional advantage of being much more efficent to update on the client.

    9. Re:CVS and others by jonadab · · Score: 2, Insightful

      > Is it really common practice to develop in something other than the
      > current tree? In my experience, everyone involved in a project is expected
      > to work in the most current version of the tree, and to update their local
      > working copy first thing every day (and several times throughout the day).

      This expectation is problematic, because it effectively prevents anyone on
      a dialup connection from being able to contribute. By the time they get
      their CVS tree updated, it's well past time to start updating it again.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    10. Re:CVS and others by srussell · · Score: 2, Interesting
      Another nifty thing good revision control systems can do (well, some of them -- Subversion, for instance, lacks this) is distributed operation. For instance, this means you can make a branch of someone else's code stored on your own server,
      Distributed repositories is a really nice feature for some development models, like open source, but it is a nightmare for corporate environments, where having a central repository is critical.

      You'll find a lot of corporate developers out there who reject the very idea of concurrent version control; they want a system where you have to lock a file to be able to edit it (like RCS). They want to be able to see, easily, who's working on what at any given time. They don't want to resolve conflicts -- they want to avoid them in the first place. Concurrent version control is a "bad idea" to them, and the idea of distributed repositories makes them shudder.

      Now, I disagree with the lock-to-use philosophy; I know, from experience, that it causes more problems and frustration than it solves. However, the central repository architecture does have a number of benefits, not least of which is cheap copies, which leads to intuitive and elegant tags and branches.

      I use darcs for my open source projects, but Subversion at work. They both have strengths arising from their unique architectures that are conducive to different development models.

    11. Re:CVS and others by stripes · · Score: 3, Informative
      Is it really common practice to develop in something other than the current tree?

      Yes. There are a few reasons I can think of to do it:

      • Putting important bugfixes in older versions of code. This use to be common in commercial software, but is less common now. As an example if you are working on an OS and a buffer overrun is found in some of the code you of corse want to fix that in the head of the tree, but you also want to make a bugfix release which will be off of whatever your customers are running typically the last two major releases or so. Looking at the open source world FreeBSD is working on 5.x and has some people running it in "the real world", but an important bug fix will go into the head of the tree, the last 4.x release, and I think the last 3.x release as well (in some cases).
      • Very large changes that can make the code unstable for a while. Maybe one guy is making the code run on a new database backend while other people are working on the GUI. For the most part they work on diffrent parts of the code, but bugs in one can stop the other group dead in it's tracks. It may be a good idea to branch the code and when both branches are stable merge them in.
      • People with crappy connectivity may want their own repository that they can later sync with the master.
      • In an open source project you may not have the authority to make a new release, or even alter the code that goes into releases (for example, nobody in the Linux community knows me, why would they let me alter their source tree!). You make your own repository and make whatever changes you think it needs and then send a single tested working patchset on to someone who can evaluate it.

      You can also mix n' match those reasons. Or even extend them (esp the last one, think very very large open source projects with thousands of authors).

  29. SVN Anti-FUD by Anonymous Coward · · Score: 5, Informative

    http://www.red-bean.com/sussman/svn-anti-fud.html

    Also, #svn channel on freenode irc is helpful.

  30. Now will SourceForge adopt it? by mattgreen · · Score: 5, Interesting

    SourceForge said in a FAQ (IIRC of course) that they are waiting until a production version of SVN comes out. Now, when will they implement it? I'm waiting pretty anxiously.

    1. Re:Now will SourceForge adopt it? by peripatetic_bum · · Score: 2, Redundant

      The real question is: Will Linus adopt it?
      I remember a hell of a flame war on the use of bitkeeper which has a license that says if you bitkeep to make a product to compete against bitkeeper, you cant use it (I thought that was fair), and it caused quite a ruckus in many camps.

      There is a good summary of what happened here
      http://www.ussg.iu.edu/hypermail/linux/kerne l/0304 .2/0825.html

      --

      Sigs are dangerous coy things

  31. Most need functionality by rmsousa · · Score: 2, Funny

    Does it check for SCO IP on each commit?

    No article should remain without a [bad] SCO joke.

  32. Re:Comparing the software by cos(0) · · Score: 5, Informative
  33. Multiple repositories? by kevin_conaway · · Score: 2, Interesting

    How are multiple repositories (even in CVS for that matter) handled? Anyone have any experience with either Subversion or CVS?

    1. Re:Multiple repositories? by Eric+Smith · · Score: 2, Interesting
      I have a machine acting as a Subversion server with twelve repositories. It works fine. Setup was a breeze.

      I recommend using svnserve (Subversion's native network protocol) over ssh, rather than the WebDAV/Delta-V/Apache module approach.

  34. Bah, a few days... by Dog+and+Pony · · Score: 4, Funny

    ... try having a sysadmin that prefers debian and see how long you have to wait. Sigh. I do like subversion lots though! :)

    1. Re:Bah, a few days... by Anonymous Coward · · Score: 5, Informative
    2. Re:Bah, a few days... by Ian+Bicking · · Score: 4, Informative
      I've had no problems installing Subversion under Debian. The version currently in there is perfectly functional (I think it's the release candidate), and while it's only in unstable it doesn't bring in many dependencies, and doesn't require a whole upgrade (as well as Subversion having a woody port).

      You also don't have to have apache2 or any of that -- svnserve works perfectly well, and ssh access doesn't require any server at all (similar to CVS).

    3. Re:Bah, a few days... by JohnFluxx · · Score: 2, Insightful

      Then you can't complain that you can't install something that was released a couple of days ago!

    4. Re:Bah, a few days... by jdavidb · · Score: 2, Insightful

      I'm not quite sure how readily available binaries of subversion 0.37 help with the problem of waiting for binaries of subversion 1.0 ...

    5. Re:Bah, a few days... by WWWWolf · · Score: 3, Insightful
      I'm not quite sure how readily available binaries of subversion 0.37 help with the problem of waiting for binaries of subversion 1.0 ...

      Because that's only one minor rev behind. There probably aren't that many big changes in 1.0 anyway, so 0.37 will probably be good enough for the days (or weeks? no idea how hard-working the subversion maintainer is...) while waiting for 1.0...

  35. Re:Does Subversion require a UNIX account per user by Webmonger · · Score: 4, Informative

    Arch doesn't require any accounts for read-only access. Write access requires 1 account at minimum. If you want to have multiple people use the same account, that will work fine. (I'd recommend using ssh public-key authentication, though, since shared passwords are always bad policy)

    Supported write protocols include webdav, sftp (the one that's part of ssh) and ftp. Shell access is never required.

  36. Re:RCS can handle binary data since v5.7 by ewhac · · Score: 4, Informative

    It's possible, through a variety of easily-made missteps, for a file to lose the tag that marks it as binary. Suddenly, fresh checkouts of the file have newline translations done on them, and all hell breaks loose. And, if you edit the ,v file that stores the revision history, you'll discover that the binary file is actually stored as a raw byte range within a text file.

    So, yeah, RCS supports binary files. It just doesn't do it very well.

    Schwab

  37. Re:Comparing the software by truth_revealed · · Score: 4, Funny

    Hardly an unbiased evaluation.

    You're right - ask for your money back.

  38. enterprise ready? by Chuck+Bucket · · Score: 2, Interesting

    is anyone using this in a large professional setting? I've been tasked with rebuilding the CVS server at my gig, and I'm almost done, but how hard would it be to convert and existing CVS repository over? I will be testing the setup for a few weeks after install, so this may be a good time to try out Subversion. anyone with exp please share your thoughts. tia

    CB

    1. Re:enterprise ready? by Anonymous Coward · · Score: 2, Informative

      oh oh, there are automated tools included. cvs2svn

      Will convert your repositories. You should be able to keep the cvs as a backup or the subversion as a pilot.

    2. Re:enterprise ready? by myg · · Score: 3, Informative
      Yes, we are using it at my company. We switched from CVS around 4 months ago; importing all of our CVS history. We haven't had any problems and we did some major tree re-org after the migration.

      We never had a single hung repository that requried svnadmin recover except when the power went out and our generator didn't kick on and the UPS batteries drained. FWIW we do use Apache 2 and DAV for our repository access.

      Our primary tree (source code) is around 20MB including all deltified versions (basically our 'strings' table). We also have separate repositories for our corporate website and for internal documents, etc. All totalling we have about 50MB of versioned data -- all of it precious and have never lost a single byte.

      Oh, one last thing. We've been using SVN for our non-source tree for a longer time period so we've really been using SVN for almost 7 months now with lots of changes from multiple developers on multiple platforms.

      If you like the CVS model of development (non-change-sets) then you'll like SVN. If you want distributed development then try an add-on to SVN called SVK.

    3. Re:enterprise ready? by jjon · · Score: 2, Informative

      I just started using SVN on a large source tree - >1 Gigabyte, including many binary files. I'm using Windows, and found that CVS trashed all the binary files due to the stupid MS line ending issues. Subversion handles binary files perfectly.

      This is a new repository - I didn't test the scripts for converting from CVS.

      Subversion isn't as fast as I expected, given all the uninformed statements about "svn update" only having to check revision numbers. It looks like it does recurse into all directories, so performance is similar to CVS.

      TortoiseSVN, the Windows front-end, was far too slow to be usable. I've contributed some patches to help with a couple of obvious problems, but don't have the tools to optimise it properly.

  39. dude, WebDAV by lcracker · · Score: 2, Interesting

    Subversion (well mod_dav_svn) is built on a filesystem-over-http protocol, of course you can use it like a filesystem, on just about every platform, or from many applications, or through your web browser (to read it, anyway).

    1. Re:dude, WebDAV by Eric+Smith · · Score: 5, Informative
      Subversion is built on a filesystem-in-a-database model. Access to a Subversion repository is provided via three methods implemented in libraries:
      • direct, local access
      • HTTP access using WebDAV (RFC 2518) and Delta-V (RFC 3523)
      • custom Subversion network protocol
      While there is some theoretical elegance to using WebDAV with Delta-V, in practice I've found that the custom Subversion network protocol is easier to set up and use, and more robust. It can be used either directly for anonymous read-only access, or tunnelled through SSH for read/write access.

      I have twelve free software projects in Subversion repositories, and I've been quite happy with it.

  40. Re:Not bad, but... by Anonymovs+Coward · · Score: 2, Insightful
    One could say that to the contrary a copylefted X Window System would have had less forking (widgets, servers, extensions, drivers)

    Are you saying GPL projects don't fork? For an early counterexample, see emacs/xemacs. Even with the linux kernel, every distribution now maintains its own version, and it's rather hard to drop a vanilla Linus kernel into Red Hat or SuSE or Mandrake and expect it to run the same. But forking wasn't the point. The point with the GPL is that commercial vendors would not have picked a windowing system based on it, because shipping it as part of their system would have meant GPL'ing every graphical program they wrote, thanks to the virality clause. Name a single counterexample of a GPL'd library shipped as part of a commercial OS.

  41. If you need a nice subversion client on windows... by Phil+John · · Score: 4, Informative

    ...you could do a lot worse than TortoiseSVN (also on tigris.org). It's an explorer shell plugin with icon overlays. Open up windows explorer, right click files to comit and whoosh...it's done.

    Also has a visual diff and all sorts of other goodies in it too. There's also a (somewhat unrelated) project of the same ilk for CVS called, unsurprisingly, TortoiseCVS (different developers IIRC, same idea though, hence the similar name).

    I've been using Subversion for the last 6 months and TortoiseSVN for the last 5, never had any data corruption or borked repositories, it Just Works(tm).

    What I like is that the developers started eating their own dogfood fairly early on and have been self hosting for a fair while now, so that shows you how much faith they have in the system.

    --
    I am NaN
  42. slashdot a bit over-eager by joey · · Score: 4, Informative
    As I type this, version 1.0 of subversion has not been tagged yet. I have not seen an announcement about 1.0 today, and the announcements page lists 0.37.0 as the last release.

    I think slashdot may have jumped the gun here, and I hope that the slashdotting of their web server is not going to cause them problems with actually getting 1.0 out the door, which is supposed to happen sometime Monday (timezone unknown).

    --
    see shy jo
    1. Re:slashdot a bit over-eager by Anonymous Coward · · Score: 2, Funny

      New slogan:

      News for Nerds. Stuff that matters. Things that haven't actually occured yet. ;)

    2. Re:slashdot a bit over-eager by crsm · · Score: 3, Informative

      As I type this, version 1.0 of subversion has not been tagged yet

      Now its there, but note that binary packages won't be available for a week or so.

  43. Re:Not bad, but... by Anonymovs+Coward · · Score: 5, Informative
    Replying to myself:

    Name a single counterexample of a GPL'd library shipped as part of a commercial OS.

    Let's take two examples here: first, zlib. It was released under the BSD licence, not GPL, because it was important to wean people off the LZW-patent-encumbred compress. And it made it to commercial systems. But take, on the other hand, the readline library. This could have been immensely useful to a lot of commercial vendors, and Stallman knew it, so he used the GPL (not even LGPL) to try and "force" third party code to be GPL'd. As a result, nobody outside the free software world uses it.

  44. Renaming yes, sharing no by Animats · · Score: 3, Insightful

    Apparently Subversion 1.0 doesn't support "sharing", where the same file appears in more than one place in the source tree. That's a lack. Microsoft SourceSafe does that, and it helps avoid those annoying situations that result in long include paths.

    1. Re:Renaming yes, sharing no by ewhac · · Score: 3, Informative

      Apparently Subversion 1.0 doesn't support "sharing", where the same file appears in more than one place in the source tree. That's a lack. Microsoft SourceSafe does that, [ ... ]

      That's because everyone else uses softlinks to do that. Windows doesn't have softlinks (shortcuts aren't softlinks), so SourceUnSafe had to hack on "sharing" to make up for it.

      Schwab

    2. Re:Renaming yes, sharing no by DevilM · · Score: 3, Informative

      Actually, Windows does support softlinks, which are termed as junctions. See http://www.sysinternals.com/ntw2k/source/misc.shtm l#junction for more information.

    3. Re:Renaming yes, sharing no by Dragonmaster+Lou · · Score: 4, Informative

      Not even Microsoft uses Source Safe -- they use something called Source Depot which I heard is based on Perforce or something.

    4. Re:Renaming yes, sharing no by Spoing · · Score: 2, Interesting
      1. Actually, Windows does support softlinks, which are termed as junctions.

      Yes, and they are a PITA to use. Can't execute a link over the network, for example.

      To add to confusion,

      Windows only supports softlinks -- not hardlinks -- yet refers to the junctions as hardlinks in many documents.

      Windows does not support softlinks off of the current partition.

      Definitions...

      Softlink: A pointer to a file resource that acts like the target except when deleted. If deleted, the target is not also deleted.

      Hardlink: A pointer to a file resource on the local partition. If removed, the target is also removed.

      Windows has pseudo links, and even attempts to fake the .lnk files for some -- but not all -- utilities. This limited support is only available on NTFS since Windows doesn't by default support anything except NTFS for this type of work.

      Gripe: KDE and Gnome do not allow creation of soft/hard links and use the dummy file method (like Windows) when setting up a 'link'. I've put in a request that this be changed in KDE, though what is needed for complete consistancy is OS-level support for various device types so it is transparent to the GUI.

      Bottom line: I don't know if Windows 2000 and Windows XP can support what the original person commented on...so that's the reason why SourceSafe does the goofy work arounds not needed elsewhere.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    5. Re:Renaming yes, sharing no by magnum3065 · · Score: 2, Informative

      Hmmm...

      In Nautilus, right click a file or folder and click "Make Link". "ls -l" confirms it: regular symbolic link.

      Now, maybe you're confusing what Gnome refers to ask "Launchers" (not sure what KDE calls it) with trying to be links. Launchers are not links, and will not be replaced by links. Launchers are meant for, yes, "launching" a command. They need to be a file since the file needs to store infomation on the icon to use, some comment information, etc. A link has none of this information, so it's not a suitable replacement.

    6. Re:Renaming yes, sharing no by Anonymous Coward · · Score: 2, Interesting

      Except SVN doesn't version symlinks. Or even really handle them at all, so this won't help. Of course...

      Arch Does (tm).

    7. Re:Renaming yes, sharing no by Animats · · Score: 2, Insightful

      You don't want a version control system to use OS-level primitives like that, if it's going to track renaming, sharing, and unsharing events. The version control system has to do its own namespace management.

    8. Re:Renaming yes, sharing no by cubic6 · · Score: 4, Interesting

      Your distinction between soft and hard links doesn't make much sense. I don't think there's any type of link that, when deleted, also deletes the target. The way I learned it:

      Softlink (aka symlink): Has it's own file, but any access gets routed to the real file. This is what most links I deal with are. If you delete the real file, the link breaks, but stays there.

      Hardlink: Doesn't have own file. Behaves exactly like the original in all ways, but has a different name. If you delete a hardlink or the original file, nothing happens until *all* instances are gone. Hardlinks must be on the same partition.

      In Linux under ext2, hardlinks are files with the same inode number. I don't know exactly how softlinks work, but they have different inode numbers than the original.

      Windows with NTFS supports hardlinks as mentioned in other posts, and softlinks as shortcuts.

      So to sum up, the links you were referring to were hardlinks, and as such rightfully can't go across network. The pseudolinks you were talking about are simply shortcuts, and usually don't work in applications due to shoddy programming.

      --
      Karma: Contrapositive
    9. Re:Renaming yes, sharing no by HeghmoH · · Score: 2, Informative

      Annoyingly, Mac OS aliases and Mac OS symlinks are not the same!

      A symlink points to a specific path. If you move the file at the symlink's target, and replace it with a second file, the symlink now points to the second file, even on Mac OS X.

      An alias points to a specific file. If you move an alias's target and put another file there, the alias still points to the old file. (With a bit of hacking, you can create an alias that works just like a symlink, but you have to write code to do it.)

      The "ln -s" command creates symlinks, not aliases. As far as I know, there is no way to create aliases from the command line (other than using osascript and asking the Finder to do it for you). Even more delightful, aliases don't work for everybody. More than once, I have run into a situation where replacing a file with an alias to that file will break the program, because it reads the alias instead of following it. Using a symlink works fine.

      Mac OS X also supports hard links. Except it doesn't. HFS+ doesn't support what you need for true hardlinks, so OS X fakes it with some hidden directories and something that looks like a hard link to the user but a symlink to the kernel. Or something like that.

      --
      Mod down posts with a "Free Mac Mini/iPod" sig, they're spam!
  45. Check on tigris.org by Phil+John · · Score: 4, Informative

    there's already an eclipse plugin available.

    --
    I am NaN
    1. Re:Check on tigris.org by Wateshay · · Score: 3, Informative

      Unfortunately it only works on Window (but they claim they're going to do a Linux version).

      --

      "If English was good enough for Jesus, it's good enough for everyone else."

  46. Re:MOD DOWN - NEW TROLL ALERT by orthogonal · · Score: 5, Funny

    Do not mod up people who point out cut-and-paste trolls logged in.

    Many of these are folks who post plagarized articles and then point it out with another account to gain karma.


    Do not mod up ACs who point out that people who point out people who post plagiarized articles.

    Many of these are folks who are stuck in a bizarre recursive process of accusation and counter accusation against
    folks who are stuck in a bizarre recursive process of accusation and counter accusation against
    folks who are stuck in a bizarre recursive process of accusation and counter accusation against
    folks who are stuck in a bizarre recursive process of accusation and counter accusation against

    Oh, wheels-within-wheel-within -- oh just take the blue pill!

  47. FAQ by Anonymous Coward · · Score: 5, Informative

    1. Subversion does NOT require Apache. It can use either Apache OR svnserve as its network server.

    2. Want decentralized subversion? Check out the svk project at http://svk.elixus.org/

    3. Best benefits over CVS? Well, its basically a 4-year redesign/rewrite/replacement of cvs by people very familiar with cvs (ie wrote the book on cvs and runs a company specializing in cvs services).

    a. Cheap copies (constant time, store diffs only so branch often if you want even on very large projects).

    b. Directories and metadata are versioned too.

    c. You can move files and directories without losing history.

    d. Atomic commits! Issue a bunch of "add" commands, then a "commit". The whole thing rolls back if any of it fails and the revision is per commit (not file).

    e. Other benefits may be more important to you than these (but these were enough for me to switch from cvs to svn).

    4. Is svn 1.0 ready for prime-time? Subversion project has been hosting itself for almost 2 years now and they never lost any code. For the ultra-paranoid, you can configure it to keep all bsdb logs so you can roll back every transaction since the beginning of your repository creation (but that would be silly).

    Don't forget to see:
    http://www.red-bean.com/sussman/svn-anti-fud .html

    And irc: #svn on freenode

  48. Re:Not bad, but... by homeobocks · · Score: 2, Interesting

    I agree with you, but I think that some people can get angry when code under the bsd licence is used in a closed source project (case in point: OpenBSD in Windows Server 2003). If you are interested in the multitude of "officially" open-source licences, look at opensource.org/licences

    --
    MOUNT TAPE U1439 ON B3, NO RING
  49. Will I need MSVC? by tepples · · Score: 4, Interesting

    Problem here is that many open source projects for Microsoft Windows will compile only on Microsoft Visual Studio, which costs over 1,000 USD for one seat. Will the Windows version of Subversion compile cleanly on MinGW+MSYS? Or will I have to try to compile the UNIX version on Cygwin? I'd go look myself, but the site seems to be slashdotted, and even the Google Cache runs extremely slowly because Mozilla won't render anything until it has failed to fetch the CSS from the slashdotted site.

    1. Re:Will I need MSVC? by aardvarkjoe · · Score: 4, Informative

      Although I can't speak for the current version, I can say that it was either impossible or very difficult to compile using mingw32/msys several months back. Unless you're up for some pain, you probably ought to just wait for the binaries.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    2. Re:Will I need MSVC? by dmayle · · Score: 3, Funny

      <tongue firmly in cheek>Instead of paying the $1000 for VS, buy an Itanium server. The VS compiler is free for IA64 (though it doesn't come with the IDE). It's included in the (free) MSDN download</tongue>

    3. Re:Will I need MSVC? by dotlively · · Score: 4, Informative

      It's trying to use an install directly from IE using an tag, and even though you can download the individual cab files separately for install, it doesn't give you any alternative links for it (yay Microsoft). When I let Opera identify as MSIE 6.0 I can see the javascript flyout menus to take me to the download page. You can get to the "Full Download with Local Install" page here, but you still may not be able to see the links as they are created through some mangled javascript, so here they are:

      PSDK-FULL.1.cab
      PSDK-FULL.2.cab
      PSDK-FULL.3.cab
      PSDK-FULL.4.cab
      PSDK-FULL.5.cab
      PSDK-FULL.6.cab
      PSDK-FULL.7.cab
      PSDK-FULL.8.cab
      PSDK-FULL.9.cab
      PSDK-FULL.10.cab
      PSDK-FULL.11.cab
      PSDK-FULL.12.cab
      PSDK-FULL.13.cab
      BAT File for Extraction
      Extraction Utility File

    4. Re:Will I need MSVC? by WorldRimWalker · · Score: 2, Informative

      Windows Services For Unix 3.5 is now a free download. It includes GNU build tools (gcc etc.) and has pretty good POSIX support. You might give that a try.

  50. Re:Question by quantum+bit · · Score: 2, Informative

    If you mean do they "eat their own dogfood?", then yes. Subversion has hosted itself for quite some time now.

  51. Re:Question by Anomalous+Communard · · Score: 3, Informative

    Yes. From the "Version Control with Subversion" book:

    After fourteen months of coding, Subversion became "self-hosting" on August 31, 2001. That is, Subversion developers stopped using CVS to manage Subversion's own source code, and started using Subversion instead.

  52. Where can I buy LinuxBIOS PCs? by tepples · · Score: 4, Interesting

    it always worries my when open source software relies on closed-sources or standards.

    Very little demand seems to exist for completely open-source PCs. I haven't seen many computer manufacturers ship their machines with LinuxBIOS or any other Free firmware. Therefore, on most computers, LILO and GRUB (the most common Linux bootloaders) rely on a proprietary BIOS. Even if you exclude BIOS from consideration, most Free programs running on a proprietary operating system rely on the proprietary system's runtime library (e.g. msvcrt.dll, Sun libc, etc).

    1. Re:Where can I buy LinuxBIOS PCs? by notsoclever · · Score: 3, Insightful
      Fortunately, the amount of support needed from the BIOS is minimal. Once the kernel image is loaded into memory the BIOS is sumarily ignored.

      Also, the BIOS's API has been totally open (and basically unchanged) ever since the original IBM PC.

      --
      There are 10 kinds of people: ones who understand ternary, ones who don't, and ones who think this joke is about binary
    2. Re:Where can I buy LinuxBIOS PCs? by dfghjk · · Score: 2, Insightful

      Not really. While the BIOS interfaces certainly have changed continuously over time, they always do so in a backward compatible manner. BIOS is part of the hardware and does not need to be provided in source form. Open source BIOS'es are useless.

      If you can't load a kernel through the BIOS boot service, that machine should never have shipped. The BIOS code that does that does not change from system to system.

  53. Re:It runs on top of Apache? by Anonymous Coward · · Score: 2, Informative

    No, it doesn't require apache. In fact, it's far easier to install if you don't use apache--it has a standalone server which is quite easy to compile and set up. I wouldn't recommend using the apache interface unless you have some reason to want other features of apache. The standalone server supports a primitive form of authentication, but more importantly, you use ssh for authentication and communication. This is trivial to set up and works great.

    I've been using it for several months now, for several projects and also all my dot files in my home directory. Big improvement over CVS. Thanks, subversion developers!

  54. Re:Yeah it's nice by PeekabooCaribou · · Score: 2, Informative

    What about this comment of yours, which is a verbatim copy of part of this post to the debian-legal list? You got +5 for that one, congrats.

    --
    "I'll say it again for the logic-impaired." -- Larry Wall.
  55. Re:Using revision control for Web Development by Anonymous Coward · · Score: 3, Interesting

    Yes, my team does this. We have a web and java based scheduler application.

    Our source is maintained with subversion and we have teams that concurrently work on different layers (data provider, ui, business logic). We run the project on jetty currently, even with two ui frameworks (struts+velocity and tapestry).

    We use maven to build the war file, and start the appserver (with a patch we wrote to support jetty). This works very well for our team of around 14 people.

  56. Re:Does Subversion require a UNIX account per user by mcc · · Score: 3, Insightful

    How about a web interface to sudo for adding user accounts?

    You're suggesting I put up a web accessible chmod root script just so someone can run a version control system?

    I can see that for some people's situations, using the unix account system would be very attractive. However, not everyones'. I, specifically, have been needing to set up a version control server of some sort. I will probably wind up doing so on a personal machine. It is concievable at some point I could give other persons access to this server. If so, I do not want anyone who has access to this CVS server to have any sort of other abilities on my system. Yes, yes, disable FTP, set shell to /dev/null, whatever. But still, my paranoia's inflamed. By giving them a user my system's at least recognizing their existence, and that makes me uncomfortable because I am uncertain my knowledge of UNIX is complete enough I've locked off all the possible manners in which they could take advantage of that.

    From a security perspective, every moving part you add to a system is a chance for something to go wrong. A versioning system implementing its own internal security system adds a hell of a lot of moving parts, but they're all well contained off in userland, there's some vague notion of a sandbox there. A versioning system using the OS user system is adding a very small number of moving parts but those moving parts are in a much more dangerous area...

  57. This looks pretty cool (OS X) by mcc · · Score: 2, Interesting

    Looks neat. Just checking:

    Has anyone used this on Mac OS X / with xcode? I'm interested in doing so; if I want to, do I just sit down and follow the instructions or are there any gotchas or OS X-specific quirks I may run into that I might need to be aware of?

    Thanks.

  58. Re:It runs on top of Apache? by coldtone · · Score: 3, Informative
    According to their website, Subversion also supports a standalone server mode, much like cvs pserver/ssh

    Yes! And it rocks. Once setup commands are simple and so much better then cvs. For example a current anonymous checkout from sourceforge requires the following commands.
    cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ hsqldb login

    cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ hsqldb co modulename
    While the subversion command would be
    svn co svn://svn.sourceforge.net/hsqldb/modulename
    That in itself is enough to sell me.

    See for yourself. Setup takes just a few minutes.
  59. astyle, indent, etc. with subversion by cheesedog · · Score: 5, Interesting
    Anyone know if there is a way to use subversion for automatic canonization of code style? For example, is there a way to force the server to apply some astyle invocation via subversions hooks on any commit, and for the subversion client to apply some symmetric astyle invocation (to get the code back to the user's preferred format) upon update/checkout? Of course, code would also have to pass through the filter to check for modification, etc....

    And yes, I know that some of you think this is a terrible, horrible idea and that my keyboard should be confiscated for even suggesting it. But this ability is on my "holy grail" list for version control systems, and I won't rest till I find it!

    1. Re:astyle, indent, etc. with subversion by kaisyain · · Score: 4, Informative

      I haven't checked recently but it is unlikely. When I tried to convince the subversion devs a few years back that such functionality would be a good thing (i.e. offer the choice, let users weight the risks and benefits and make their own decisions) the idea was pretty thorougly shot down by all. I doubt anything has changed their minds in the time since.

      Personally I don't see the difference between this kind of source code transformation and the more accepted RCS keyword kind. Except this has the immediately obvious benefit of obviating all of the stupid source code style issues known to mankind and letting people use whatever they prefer transparently.

    2. Re:astyle, indent, etc. with subversion by feronti · · Score: 5, Informative

      You have 3 different places to hook into the commit cycle in version 1.0:

      • startcommit
        Before the transaction begins, you can prequalify the user for commit privs
      • pre-commit
        After the transaction tree has been completely built, but before it's actually committed to the repository
      • post-commit
        After the entire commit cycle is completed
      start-commit is passed the repository and the user, pre-commit is passed the repository and the name of the transaction (which can be examined with svnlook), and post-commit is passed the repository and the revision number. If either start-commit or pre-commit fail, the commit is rolled back; post-commit exit status is ignored.

      This could be used to canonize it coming in... it would be up to the user to reformat it coming out if desired... but everything would then get flagged as locally modified... though the user could always recanonize the code before committing... which defeats your goal of automating it all:)

      So, the grail is closer, but as always, just out of reach.

    3. Re:astyle, indent, etc. with subversion by fucksl4shd0t · · Score: 5, Funny

      Anyone know if there is a way to use subversion for automatic canonization of code style?

      Yeah, host a python repository with it.

      --
      Like what I said? You might like my music
    4. Re:astyle, indent, etc. with subversion by fastdecade · · Score: 2, Insightful

      I've heard this idea before, but I can't believe it's a good thing to check in code you haven't actually seen and tried out. Can you be absolutely sure the transformation is correct? A regession test won't catch everything.

      This task is better performed by an IDE which would render the code in your own style. You won't see the final code, but at least you'll be debugging/testing on it.

    5. Re:astyle, indent, etc. with subversion by antiknijn · · Score: 3, Informative

      This has been discussed quite recently on the Subversion users mailing list, someone wanted to use Jalopy to format Java code on every commit. The answer basically is: nonononono, bad idea.

      Check the mailing list archives, the initial posting was on February 12.

  60. More secure by 0x0d0a · · Score: 2, Informative

    I have to look through it, but based on the way it works, it probably has two more benefits:

    * Easier to set up and maintain user accounts (CVS requires setting up shell accounts)

    * More secure. One can spoof history with CVS, corrupt the thing, or whatnot.

    I'd like to see Sourceforge move to SVN, and see what happens...

  61. Why not GNU Arch instead of Bitkeeper? by tepples · · Score: 4, Interesting

    Linus wants a distributed system, which Bitkeeper is.

    Did Linus evaluate GNU Arch? If so, what did he find wrong with it? One of the goals of Arch is to replace Bitkeeper. Yes, there exists one known feature that Arch lacks compared to BK, namely copying files within a repository while forking its change history, but why did Linus find this a showstopper? Or has Arch progressed rapidly since the BK decision?

    1. Re:Why not GNU Arch instead of Bitkeeper? by Anonymous Coward · · Score: 4, Interesting

      When Linus made the BK decision Arch was still in its infancy. Arch has come a VERY long way in just the last couple of months.

      The problem with SVN is that its just CVS with the most horrible problems removed and some other horrible things added (Apache/WebDAV).

      Arch took a step back and really tried to come up with solution to an abstract problem. That makes it far better for revsion control than CVS and SVN.

    2. Re:Why not GNU Arch instead of Bitkeeper? by Anonymous Coward · · Score: 4, Informative

      Apache access is completely optional. It has its uses for people, such as a security using Apache instead of just the basic unix permissions. Its definitely slower than using the native protocol for svnserve. It solves all of CVS's problems. However like all software, it has its own problems. At least in SVN's case the code is realtively clean and organized, so changing it will be much easier. Ever look at CVS code? Pure spaghetti.

  62. Re:Symlinks under Windows? by 0x0d0a · · Score: 4, Informative

    You're both kind of right.

    Technically, NTFS supports both soft and hard links.

    From a practical I-want-to-have-software-using-it standpoint, Windows doesn't have support for either, just shortcuts.

  63. Re:Yay! by blincoln · · Score: 2, Interesting

    Now I have little against PVCS (price tag being one thing, and some crappy network functionality that likely has been resolved by now).

    If you mean how it takes something like 24 hours to upload a 2-3GB file (across a ~100MB/sec link to a remote server), then no, it hasn't been resolved.

    PVCS has to be the most overrated piece of software ever. When I had to act as a liason between developers who were forced to use it and the PVCS administrators at work, I asked the PVCS admins to speak to the vendor about the insultingly slow performance. Their answer? That we should buy a cluster of Windows machines running Citrix that was local to the Unix database server which hosted PVCS and have all of the developers run the client from there instead of their desktops.

    That was just the most laughable experience with their "support" team, since usually they wouldn't answer questions at all.

    Buying PVCS is like buying an alarm clock that wakes you up by stabbing you in the eye with an icepick repeatedly. I'm sure it will do its job (sort of), but there are much better ways to get what you need.

    --
    "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
  64. Re:Yay! by 0x0d0a · · Score: 2, Interesting

    However, some other groups in my organization like alternatives like PVCS. Now I have little against PVCS (price tag being one thing, and some crappy network functionality that likely has been resolved by now).

    PVCS does, however, lack a lot of CVS functionality, much less SVN functionality. I'm rather pleased to see another good reason to get rid of PVCS coming up.

  65. Re:Symlinks under Windows? by cant_get_a_good_nick · · Score: 3, Informative

    Explorer only creates Explorer style Shortcuts, whether in NT 2K which has something more similar to symlinks, or in Win95, WinNT4 which didn't. The real symlinks have to be created in other ways.

    The stupid thing is MS could have implemented real kernel level symlinks in the jump to Win95, but they didn't. They instead made Shortcuts at the shell level. Apple got it right with System 7 Aliases, which were symlinks at the kernel level.

  66. Subversion not really a source-code repo... by Phil+John · · Score: 3, Interesting

    ...it's meant as a general file versioning system. However, there are indeed various hooks so in theory you could set something like this up. Have a look at the subversion book (linked elsewhere in the comments).

    --
    I am NaN
  67. Re:RCS can handle binary data since v5.7 by cant_get_a_good_nick · · Score: 2, Informative

    cvs does not (no longer) use rcs as a back end. It used to be a collection of scripts on top of RCS, but it's had it's own back end for a while now.

  68. kernel by thayner · · Score: 3, Interesting

    Is this likely to get Linus to switch from Bitkeeper? If not, what needs to be done to make it a suitable replacement?

    1. Re:kernel by Anonymous Coward · · Score: 2, Funny

      All they need to do to get him to switch is make it proprietary software under a really restrictive license and replace the developers with raving lunatics.

    2. Re:kernel by sashang · · Score: 4, Informative

      Doubt it - one of Bitkeeper's key features is it's peer to peer. Each developer has a clone of the repository. Changes are committed to the developer's local repository first before propogating to the parent repository. svn doesn't work like this.

  69. Don't suppose there's a Visual Studio plugin yet by jdunn14 · · Score: 4, Insightful

    Or am I wrong? Yes, I know VS is an unholy horror, but some of us are stuck with it for work. I use Jalindi igloo to interface with CVS, and would likely use subversion (heard nothing but good things about it) if I had 2 things:

    1) the VS.NET source control plugin
    2) a good way to "upgrade" an old CVS repository

    I'm guessing #2 is supported, but #1?

  70. Subversion filesystem driver? In Linux? by Pan+T.+Hose · · Score: 2, Interesting

    Is there a filesystem that uses subversion as it's underlying "device"? For linux? Some time ago I worked with Rational ClearCase and the filesystem integration was really nice.

    As much as I'd love to see a Subversion filesystem driver in Linux, I am not sure if that would be possible. Would such a thing be legal under BitKeeper NDA to implement by Linux kernel developers?

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  71. Major data corruption issues by brettw · · Score: 5, Interesting

    I've been following subversion for 2 years and waiting for it to be ready.

    Last build we tried was a couple of months ago.

    Try compiling it on different architectures (ours are i686-linux and hppa2.0-hpux11.00), mixing slight version differences, mixing which server you use (svn, http).

    Then say hello to _constant_ intervention by someone who has admin privileges to recover your hosed repository.

    I hate to say it, but now of course with 1.0 we'll try again. But I wouldn've thought they were a long way off based on our problems.

    And this is with just 3 people using it on a test project? CVS has bugged me for years, but it can handle the basics without error.

    I'm willing to admit that something we did could've caused all our problems (funny compiler flag or version, wrong switch enabled), but I can't afford the time spent trying to get a superior, but buggy, tool to just do the basics, even if the root cause is in some arcane step in the build process (which is truly hideous).

    I wish them luck, but honestly I've never been able to figure out how all these happy subversion users ever got it to work.

    There's still time though to pull the plug on our imminent order of Bitkeeper if by some miracle things have improved a lot very quickly.

    1. Re:Major data corruption issues by Anonymous Coward · · Score: 5, Informative

      I thought I had the same problem with subversion -- Until I discovered it was my fault.

      I had given local accounts to about 5 developers on my machine. They all used svn+ssh to access the repository. I had created a 'svn' user and group, put the repository in /home/svn, and added everyone who needed access to the svn group.

      This is not the way to do it.

      Berkely DB is a transactional database; it will not necessarily work properly if multiple processes are accessing it at the same time. I ended up having to do a 'svnadmin recover /home/svn' every few days which drove me insane.

      The solution is to drop svn+ssh, and run svnserve. That's what I did. Of course, apache2 can be run also, but that was too much for my needs.

      For more details, check out the subversion book, chapter 6.
      http://svnbook.red-bean.com/html-chunk/ch06s03 .htm l#svn-ch-6-sidebar-1

      One of the developers took me through a more detailed explanation of why it was a bad idea to use svn+ssh with multiple developers. Suffice to say, since I've moved to svnserve, I have had absolutely not a single problem.

    2. Re:Major data corruption issues by Eric+Smith · · Score: 2, Informative
      Berkely DB is a transactional database; it will not necessarily work properly if multiple processes are accessing it at the same time.
      Berkeley DB works fine with multiple processes accessing the database at the same time. It has locks which are used for dealing with contention. Subversion uses the locks. I don't doubt that you had problems with Subversion, but I'm dubious of this explanation.
      For more details, check out the subversion book, chapter 6.
      The URL you gave did not work for me. But I've read chapter six in its entirety, and it certainly does not say that svn+ssh doesn't work for multiple concurrent access. In fact, chapter six section five explains exactly how to do it. There are minor concerns over permissions, but the database locking works just fine.
      The solution is to drop svn+ssh, and run svnserve.
      One of us is very confused, and I'm pretty sure it's not me. "svn+ssh" is exactly what is used to access svnserve through an ssh tunnel. I know, because that is the ONLY way to access Subversion on my server. I didn't install WebDAV/Delta-V, and ssh on my Subversion server does not allow logins for any purpose other than Subversion.
  72. Don't jump the gun, folks! by slipsuss · · Score: 5, Informative

    We haven't announced 1.0 just yet; we're going to do it sometime on Monday the 23rd. The Subversion team prepped the website and rolled a 'beta' 1.0 tarball over the weekend in preparation for Monday. We wanted to make sure there were no embarrassing bugs in the tarball itself (i.e. no "brown bag" releases due to a bad libtool or something!)

    Thanks for all the nice comments. Stay tuned for the official announcement.

  73. Re:Not bad, but... by digitaltraveller · · Score: 3, Informative

    Arch has some very nice features, probably too many. It's so powerful that it scares people off.

    Octopy looks like a promising qt gui frontend for arch to solve that problem.

  74. Re:Using revision control for Web Development by feronti · · Score: 2, Interesting

    What I'm going to do when I finally get things set up so that I'm not the only one using scm is set up staging areas as a virtual hosts on the same server as subversion. Every time there's a commit to a developer's branch, it's automatically exported to his staging area so he can test it. If everything works nicely, he can then merge into the global developer branch. Finally, when we're ready to do a full release, we merge the developer branch into the release branch, and it's automatically exported to the production server.

    It's a little extra administrative overhead, but worth it for me to do the extra work, since I'm the only one on the team who's ever used scm, so I've got to make at easy for them as I can. Fortunately, for now, it's a small team, so I don't have _too_ much work to do to get it set up... and once I've got everything figured out completely, I can script adds, moves, and changes.

  75. What about Linux? by Pan+T.+Hose · · Score: 3, Interesting

    SourceForge said in a FAQ (IIRC of course) that they are waiting until a production version of SVN comes out. Now, when will they implement it? I'm waiting pretty anxiously.

    Granted, it would be great to finally see Subversion nicely integrated with SourceForge, but CVS (the current concurrent versioning system used by SourceForge) while lacking lots of essential (at least for experienced developers) functionality, is free software nonetheless. What I am most concerned about is whether this new version of Subversion is already good enough to use with Linux, so one could contribute without the need to choose between restrictive EULA and being a second class citizen. Does anyone know what features exactly does it still lack, if any, for Linus to accept? I hope it would be legally possible to accept now, but I might be wrong.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  76. Re:Yeah it's nice by Trejkaz · · Score: 2, Interesting

    So supposing I'm currently stuck having something like 50Mb of source code in CVS. Is there a migration tool to move it into SVN with all the versions maintained?

    --
    Karma: It's all a bunch of tree-huggin' hippy crap!
  77. completely underwhelmed by Subversion... by Anonymous Coward · · Score: 4, Interesting

    I can't be the only one that is unimpressed by Subversion.. and a little disappointed that this is the best the open source community can come up with.

    When I first started reading about Subversion (a few YEARS ago), I was ready to be blown away. I thought it would be fast and powerful, yet light and minimal like CVS. And I expected features like distributed repositories and changeset management built in from the start.

    But after using it for a while (and I have been using it for a couple major projects) and studying the design, I don't like it much.

    One thing that's great: they stripped down the CVS interface, and removed all the confusing and conflicting commands and flags. svn now has a nice orthogonal command set, but still easy to use for a CVS old-timer.

    But under the surface.. WOW a berkeley DB? Implementing a *versioned filesystem*? Talk about over-engineering!!

    First of all, a versioned filesystem is not the right solution for version control. Version control is about *changesets*, not file snapshots. Subversion is concentrating on the nodes of the change graph, not the edges. Their solution is extremely "heavy". Changesets cannot be added to this model. It's possible to *generate* changesets from various snapshots of the tree (i.e., which sets of revision deltas make up a particular changeset), but that's also possible with CVS and a horrible hack.

    A better solution would be designed around changeset management from step 1. And it wouldn't take X years to finish.

    Second, the Berkeley DB is a key/value database. What the heck does that have to do with versioned trees?

    Berkelely DB installations are difficult to back up, they can't be placed on network drives, they have locking issues, they create journals and logfiles and all kinds of junk. To back up our svn repositories, I'm just dumping the whole damn thing every night into a massive text file. Yeesh. (Actually it's not a text file, the binary files are dumped right along with the text, so it's actually a binary format).

    Want another example of using berk DB where it shouldn't be used? The RPM package manager. A huge pain in the ass, but that's a rant for another day.

    And yeah the WebDAV thing (which was installed by default when I installed svn from FreeBSD ports) sucks too. Maybe when I have some time I'll figure out the non-Apache dedicated server. But the WebDAV server should just be dropped completely, imo, it seems to just piss people off.

    The Subversion folks should've been much more minimalist in their design. They should've aimed for the *simplest* design that could meet the requirements.

    I've taken a look at Arch, and it has the opposite problem of subversion: damn nice internal design, but crappy interface (I recall the help text that listed commands was almost 200 lines long)!

    Internally arch is great. It doesn't need any fancy database, all you need is a filesystem with atomic renames and other Unix-y features. It handles changesets, it handles distributed repositories, it handles "checkpointing" complete copies of the source code (so you don't have to spend a lot of time applying deltas to get to a specific revision)... it does it all once you figure it out.

    The subversion folks should've taken Arch, cleaned up the interface, come up with some compatibility code for non-Unix platforms, and called it a day.

    Ahh, but that would've been too easy.

    1. Re:completely underwhelmed by Subversion... by myg · · Score: 5, Interesting
      First off I use Subversion on a large, non-open source project. It works great; my server is a crappy PowerMac and it still handles commits from the staff with no problems as well as checkouts to the various build machines here.

      Before we migrated to Subversion we were using CVS. In choosing a replacement for CVSs' limitations we first evaluated arch.

      In our opinion arch is junk. It works only on UNIX like systems (we have lots of systems that are not UNIX-like here, and we do use Win32 for some stuff).

      Converting CVS with history looked to be impossible and we found arch very annoying to use.

      The distributed tree model is also another problem. I'm sure that for Linux kernel development, arch makes sense. For a commercial product we do not want multiple trees. We want one consistent tree so when we go to a customer site we don't have to wonder why a circuit is malfunctioning because we didn't sync up with Jack's tree or whatever. We rejected BitKeeper on the same grounds; we weren't so much against paying but wanted something with the right feature set.

      ClearCase wasn't cross-platform enough and was really more expensive than we could afford and MetaCVS seemed sluggish.

      As a matter of personal opinion (mod me down if you want); we felt that (in the lab) arch felt like a toy and Subversion felt like a polished product.

    2. Re:completely underwhelmed by Subversion... by edmudama · · Score: 4, Informative

      "The distributed tree model is also another problem. I'm sure that for Linux kernel development, arch makes sense. For a commercial product we do not want multiple trees. We want one consistent tree so when we go to a customer site we don't have to wonder why a circuit is malfunctioning because we didn't sync up with Jack's tree or whatever. We rejected BitKeeper on the same grounds; we weren't so much against paying but wanted something with the right feature set."

      Just for the record, just because BitKeeper supports (and works great) in a fully distributed environment, doesn't mean you need to use it that way. Every developer can simply clone, then push each change back to the parent, and it would work like a centralized server.

      If your developer "forgets" to push, that's no different in a distributed than a centralized system... once pushed, everyone has access to it.

      There are other advantages to distributed operation too, mostly in failure tolerance and disconnected operation... BitKeeper is the only tool out there I am aware of that lets you work completely via floppy disks, without losing any functionality (it maintains its checksummed changeset model)

      --eric

      --
      More data, damnit!
    3. Re:completely underwhelmed by Subversion... by myg · · Score: 3, Informative
      Thats an excellent point, there were other things that drove us away from BK, all technical nits. In the end, SVN won out due to things we could make it do.

      But as far as the different tree model: we simply do not want this. We don't have any fault tolerance issues. We have some distributed developers but since our code is intimately tied to physical hardware its a moot point for us.

      If we don't have network connectivity to our target hardware lab we got bigger problems. But we also don't want people maintaining their own trees and branches.

      There are some other things that we liked about SVN. The fact that its supported by a logged DB engine. That was another critical blow for arch to us. If a server went down during the middle of a commit we could have corrupted files. Internally we use XFS which journals metadata but not user data. Its actually silly for a file system to do this since the FS has no clue about where transaction boundaries are.

      So if we had say a HW failure with arch we could have a complete tree with some corrupted files. SVN physically logs the data to disk and then fsync()s the logs and then writes them in the database.

      But BK is a nice product and I like Larry McVoy, our choice of SVN stemed from many little things.

    4. Re:completely underwhelmed by Subversion... by Keltia · · Score: 2, Interesting

      Arch is probably more protected from corruption than SVN in the sense that you never modify any file when committing to an archive. Stuff is always added, not modified. Committing is just generating a patch-log and adding that to the archive. The window of corruption is much smaller than generating a BDB transaction.

      One of the problem I found in early versions of SVN was than due to BDB, repo size was several times the data you put into it, leading to very large repo. which could be a problem.

    5. Re:completely underwhelmed by Subversion... by kahei · · Score: 4, Interesting


      What you say about subversion may be true (it works okay for me but it could certainly do with a bit more power in places).

      However, to say that arch is _better_ because it relies on Unix to the extent of being uncompilable on Windows (probably works in cygwin, but...) is bizarre. Arch suffers from the common GNU problem of assuming that a Unix system with a Unixy filesystem is the only environment worth paying attention to, and despite what Richard Stallman might think, that _is_ a problem.

      Subversion: a cross-platform library for which many tools can be (and have been) made for many environments.

      Arch: a Monolithic Unix program. Attempts to port and to add tools are still ongoing.

      Arch seems not only less useful but also depressingly backward-looking in philosophy.

      --
      Whence? Hence. Whither? Thither.
    6. Re:completely underwhelmed by Subversion... by Vintermann · · Score: 2, Informative

      "Arch: a Monolithic Unix program. Attempts to port and to add tools are still ongoing."

      Monolithic? It's based on standard tools like diff and tar, and contrary to what you say, Arch is more like a standard than a program. There are multiple implementations - larch (the fully functional prototype), tla (Tom Lord's arch, in C), ArX (by Walter Landry, in c++ I believe) and several smaller ones.

      "Arch seems not only less useful but also depressingly backward-looking in philosophy."

      Arch is conservative in some regards, but it's conceptually closer to bitkeeper, ClearCase and other modern version control systems.

      --
      xkcd is not in the sudoers file. This incident will be reported.
    7. Re:completely underwhelmed by Subversion... by 21mhz · · Score: 2, Interesting
      However, to say that arch is _better_ because it relies on Unix to the extent of being uncompilable on Windows (probably works in cygwin, but...) is bizarre. Arch suffers from the common GNU problem of assuming that a Unix system with a Unixy filesystem is the only environment worth paying attention to, and despite what Richard Stallman might think, that _is_ a problem.

      Well, that covers all flavors of Unix, including MacOS X. Windows support is left lagging for now, true, but there sure must be ways to get around its suckage of a filesystem, once the architecture is gotten right.

      As other posters said, it's much more simple, and more to the point, to manage changesets rather than snapshots. Expect it to be more simple on Windows, too. Just compare the speed of development of the mentioned two projects. Actually, Tom Lord took part in initial development at SVN, became frustrated and rolled his own. His initial script-based implementation was rewritten in C since then to surpass SVN in core features (while, admittedly, lacking on UI front) -- all this while SVN kept plodding to its first stable release.

      Subversion: a cross-platform library for which many tools can be (and have been) made for many environments.

      Arch: a Monolithic Unix program. Attempts to port and to add tools are still ongoing.

      You got it here. But I have seen many a program, deemed useful, to be recast into program+library layout.

      As it seems now, Arch is still in its youth. Yet when it comes of age, expect it to make them who chose Subversion or BitKeeper for their source repositories to reconsider their decisions.
      --
      My exception safety is -fno-exceptions.
    8. Re:completely underwhelmed by Subversion... by stripes · · Score: 2, Informative
      Arch is probably more protected from corruption than SVN in the sense that you never modify any file when committing to an archive. Stuff is always added, not modified. Committing is just generating a patch-log and adding that to the archive. The window of corruption is much smaller than generating a BDB transaction.

      BDB doesn't have a "windows of corruption", it is a log baised relational datastore (some would say database, but I like to use a diffrent term to remind myself that BDB doesn't internally deal with any relations). Before the on-disk tables are written whatever is about to be overwritten is appended to the log file and sync'ed. Then the changes are made. If power is lost or the BDB process is killed the log files can be used to undo the half-completed changes. (this all assumes you dont ask BDB to not do it - which you can if you value speed over durability)

      A BDB "database" can be corrupted, but it has to be done by hardware failure, or writing directly to the DB files, not merely by losing power at the wrong time.

      I have used BDB in a number of projects (none of them storing source code), and not had a problem with corruption (except for the "throwaway" "tables" which I specifically chose to not have full durability protections on as I could recreate them from other "tables").

  78. Re:How is this news? GNU Arch 1.1 already does mor by Fnkmaster · · Score: 2, Insightful
    Yeeeah, you realize that a lot of people use CVS and now Subversion for Windows development? A nice *nix server running an Svn or CVS server can support a medium sized team of developers just fine. How the heck are you supposed to do this using Arch? Oh, you mean it really is designed to work primarily, if not only, with Unix-like operating systems?


    Don't get me wrong, Arch is a very nice concept and it has some merits, but don't pretend there aren't advantages to Subversion's architecture. And the Subversion way of doing things is much more natural for a lot of existing professional software development teams. Arch is great for more distributed projects, but it's a bit less intuitive with respect to usage in a more traditional software development environment, and outright useless for cross-platform or non-Unix projects.

  79. Branches vs Repositories by Anonymous Coward · · Score: 3, Interesting

    The BitKeeper model is so breath-takingly elegant. I used Sun's TeamWare (BitKeeper's predecessor) with great success, and am sorry to have to use Perforce in my current job.

    The idea is that there are no branches. There are only repositories (each developer has one or more) and files. Each repository has full information of the version history, and there's no version control server.

    Benefits of the BitKeeper model:

    - Exchanging changes between developers without contaminating the common parent repository is safe and trivially easy.

    - You check files in locally in your repository. So they don't even have to compile. It's often a good idea to check in files several times a day. Committing the changes to the parent repository is a separate operation.

    - The repository is little more than a directory tree containing SCCS files. Should you want to liberate yourself from BitKeeper and go with a free competitor, chances are your SCCS tree can be accepted as-is by the new version control system.

    - Since releases are managed as repositories (instead of branches), bug fixes can be propagated between releases as simply as within releases if there are no conflicts.

    - Since there is no central server, transporting repositories, say, from hard disk to hard disk is as simple as copying the trees recursively.

  80. No optimizer in MSVC Standard Edition by tepples · · Score: 5, Insightful

    $1000 for one seat? What version are you getting and where are you buying it?

    Microsoft Visual C++ Professional Edition, which seems to be the cheapest version with an optimizer in the Microsoft price list.

    You can get Visual C++, which is all you need to compile most open source stuff, for $100 so

    The version of MSVC available to the general public "for $100 or so" is Microsoft Visual C++ Standard Edition, which contains no optimizer. I've read that the performance of its generated code is so poor that one might as well use an interpreted language instead of MSVC Standard for new apps or run the UNIX version of an existing app in the Cygwin API translation layer rather than try to compile the Windows version in MSVC Standard.

  81. Re:Does Subversion require a UNIX account per user by zhenlin · · Score: 2, Informative

    Any Apache authentication module will do... Also, because it isn't filesystem-backed, there is no need to have one system account per SVN account.

  82. Re:How is this news? GNU Arch 1.1 already does mor by Kourino · · Score: 2, Informative

    A nice *nix server running an Svn or CVS server can support a medium sized team of developers just fine. How the heck are you supposed to do this using Arch?

    I'm really not sure what you're asking. Arch doesn't really need much in the way of hosting, so you could easily have your CVS serving machine host Arch archives as well.

    Oh, you mean it really is designed to work primarily, if not only, with Unix-like operating systems?

    One of Arch's assumptions is, indeed, a POSIX filesystem; basically every operating supports this, though. Unix-based systems natively, and Windows using Cygwin libraries or compiling with mingw. Actually, Arch users have encouraged the Cygwin team to shake out some bugs in Cygwin's long file handling support, so first-class Win32/Cygwin Arch really isn't that far off. Some of Arch's features (like revision libraries) take advantage of hard links if they're there, so some things may end up taking more disk space on Windows than Unix, but everything works fine.

    Arch is great for more distributed projects, but it's a bit less intuitive with respect to usage in a more traditional software development environment, and outright useless for cross-platform or non-Unix projects.

    Yep! Arch's design is primarily as a distributed SCM; there's nothing keeping you from only using the one centralized archive in a centralized development model, though; you just have everyone use one branch. It really can be used just like CVS in that respect if you want to, just the command syntax is slightly different. Hell, I'm developing software in a centralized archive using Arch right now, though I'm the only developer contributing code.

    Why do you say Arch is "outright useless for cross-platform" projects? I'm curious to hear what you have to say.

  83. Re:Using revision control for Web Development by noda132 · · Score: 2, Informative

    This is fine for most types of code, but for web development you really do not want to maintain a different local webserver for each developer, so my question is this:

    That's like saying that for C code you don't want to keep the libraries installed on every developer's computer.

    ...which is obviously wrong. You do want to maintain a different local webserver for each developer. That's the whole point of revision control: more people can work on it at once. Not to mention, the website doesn't fall to pieces every time you make a typo.

    How long does it take to set up a web server, anyway? "apt-get install apache php4" and you're done.

    I do this for one-person development too: I hack on my desktop machine, and then "svn commit" and it gets committed to the repository and automatically checked out on my web server. (Look in [repos-path]/hooks of any SVN repository for how to do this, it's very easy and less of a hack than in CVS.)

  84. Re:How is this news? GNU Arch 1.1 already does mor by Fnkmaster · · Score: 2, Insightful
    Arch doesn't compile under Mingw, even with hacking. I tried it two or three months ago. Apparently it does now compile with Microsoft Services for Unix, but this is new in the last 3 weeks. Cygwin has somewhat worked with Arch for some time, but that is not a viable solution for Windows-based development. Cygwin is nice if you want to run real Unix apps on Windows and have no other options. Getting an entire development team set up with Cygwin just so they can use Arch... that's not gonna fly anywhere I've ever worked.


    Anyway, barely compiling for the last three weeks isn't exactly stable Windows support that I would feel comfortable rolling out into a corporate environment for professional software development work. Like I said before, Arch is a great concept, and I'd love to see more done with it, especially in terms of getting it to work out-of-the-box with Windows (i.e. I can roll it out to a development team with a single installer) so it was useful for cross-platform and Windows development. Until then, it's great for Open Source projects that themselves have a more distributed model of development which is nicely matched by Arch's capabilities.

  85. VERY easy to convert by noda132 · · Score: 5, Informative

    If anybody's wondering about how long it takes to switch from CVS: it's about half an hour before you see it start to pay off.

    1. install (apt-get install subversion)
    2. Use svnadmin to create a new repository
    3. Use cvs2svn (apt-get install subversion-tools) to migrate the old (CVS) repository to the new (SVN) one. It'll keep all your revisions, tags, etc.
    4. svn co file:///path/to/repos/trunk repos

    And if you're used to using CVS through ssh, it's even easier with SVN: svn co svn+ssh:///host/path/to/repos/trunk repos

    All that's left to do is get used to the different keys. Oh, and instead of doing a 'svn up' before committing, use 'svn status' -- it actually does something useful.

    I don't see a compelling reason not to switch.

  86. Re:It runs on top of Apache? by kellman · · Score: 2, Informative

    I only meant more extensible than without. Or, for example, compared to CVS. I'm not familiar with Arch, although I am a little bit now and I'm sure it's a fine VCS. Having it as a server module does allow you to do things that you can't do with WebDAV alone. *Somewhat* like the difference between, say, perl CGI and mod_perl.

    --
    I don't want to sell anything, buy anything, or process anything. I don't want to sell anything bought or processed...
  87. Re:This may be a dumb question by Cocteaustin · · Score: 2, Informative

    Because, in the words of the Subversion team, the CVS code is crufy, unmaintainable, and was long overdue for an overhaul.

  88. Re:Don't suppose there's a Visual Studio plugin ye by jabbo · · Score: 3, Informative

    There is: AnkhSVN.

    VS.NET plugin. (project page, with downloads, normally here but currently blown away by the load. Maybe grab it from the Google cache of the page but that too seems to be overloaded. Oh well. You could always use TortoiseSVN instead.)

    There was an old VC++ plugin "Subway" but it sucks.

    --
    Remember that what's inside of you doesn't matter because nobody can see it.
  89. A couple of factual corrections. by kfogel · · Score: 5, Informative

    Not sure why the original poster said Subversion came from "the people who maintain CVS". They are two separate developer groups -- as far as I know there is no overlap between the currently active developers of CVS and Subversion.

    Also, he was early :-). Subversion 1.0 wasn't actually out yet when he posted. We had released a beta prerelease, and were careful to say that 1.0 itself wouldn't be out till Monday. Oh well, win some, lose some.

    Anyway, it's almost Monday now, so check back soon at http://subversion.tigris.org/.

    --
    http://www.red-bean.com/kfogel
  90. Installation for BerkeleyDB, Apache, Subversion by thelenm · · Score: 5, Informative

    I had such a fun time the other day installing BerkeleyDB 4.2, Apache 2.0.48, and Subversion 0.37 from source. It just took me way too long to figure out the right configuration options to get the Subversion server installed correctly, so here are my notes. They're mostly stolen from somewhere on the Web (don't remember where), modified a bit with things I learned along the way. If this is useful to you, great.

    1) Download, build, and install Berkeley 4.2.52 with the default location; this is as simple as:

    $ cd db-4.2.52/build_unix
    $ ../dist/configure
    $ make
    $ su
    # make install

    make sure LD_LIBRARY_PATH includes /usr/local/BerkeleyDB.4.2

    2) Download Apache 2.0.48 tarball and build it with the defaults:

    $ cd httpd-2.0.48
    $ ./configure --enable-dav=static --enable-so=static --with-dbm=db4 --with-berkeley-db=/usr/local/BerkeleyDB.4.2
    $ make
    $ su
    # make install

    3) Download a Subversion tarball (e.g. subversion-0.37.0.tar.gz) since that comes fully formed:

    $ cd subversion-0.37.0
    $ ./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.2
    $ make
    $ su
    # make install

    And then follow the directions for configuring Apache, which could be as simple as adding the following:

    <Location /repos>
    DAV svn
    SVNPath /absolute/path/to/repository
    </Location>

    --
    Use Ctrl-C instead of ESC in Vim!
    1. Re:Installation for BerkeleyDB, Apache, Subversion by jdavidb · · Score: 3, Informative

      make sure LD_LIBRARY_PATH includes /usr/local/BerkeleyDB.4.2

      Gah! Don't use LD_LIBRARY_PATH. Instead you should be setting LD_RUN_PATH when you compile applications that will use the Berkeley DB library.

  91. success story by Anonymous Coward · · Score: 5, Interesting

    We replaced 2 huge SourceSafe and 8-10 enourmous CVS repositories with Subversion.

    We kept dual copies for about two weeks before feeling concident (only two projects was actully active, but with > 140 developers).

    This was in the 0.27 version and haven't had a single glitch!!! And 1.0 is even better, of course.

    My only complaint is not supporting locking, but this is obvisouly on the way. Nice for stuff like Word documents and UML files.

    GO SUBVERSION!!! Also try TortoiseSVN... it's the best client and integerates nicely with the explorer. If you use Linux, there are lots of options too.

    1. Re:success story by DarkDust · · Score: 4, Informative

      Yes, I can confirm that. We're working with SubVersion for almost one year now, and it's a really reliable version control system. I simply love it :-)

      The only problems we've had so far were due to bugs in the Berkeley DataBase which were resolved simply by upgrading BDB and SubVersion.

      The beauty of SubVersion is its speed compared to CVS and low diskfootprint when it comes to versioning binaries. In CVS, every change to a binary file causes the complete new version of the file to be appended in the repository (AFAIK). Thus, if you change a 10kB binary file five times, the RCS file will be about 50kB. Not so in SubVersion, it handles binaries very efficient.

      Another speed-issue of CVS is that when you're working remotely your whole working copy needs to be transmitted to the server and the server checks what changed. Obviously this is a bandwidth and time eater. SubVersion stores a copy of the last checked out version on your disk and thus already knows what changed and only transmits these changes. This means your working copy is always double the size but this trade-off is one of the reasons why SubVersion is really fast even with very big repositories.

      I know what I'm talking about, the repository I maintain is now 2.8GB in size :-)

      What I'm really looking forward to is when SubVersion supports SQL based databases like PostgreSQL or SAP DB. That will be a killer feature, but don't hold your breath, the SubVersion folks say it'll take a significant amount of work to do this but they want to implement this eventually.

  92. Get your facts straight. by Anonymous Coward · · Score: 5, Interesting

    I'm glad to know an informed statement like "Arch is crap" and limiting its user base to "3 brain dead people" can get moderated to +1 so easily at Slashdot.

    First, to address your claim on GNU Arch's quality, I'd like to point out that it's not meant as a correctional to CVS like SVN is -- the best description I've heard of it is as a formalization and automation of the development process that the GNU project used before Cygnus introduced networked CVS as an easier but more limited method.

    One of Subversion's most important features in my mind is that of whole source patches (I think they may call them atomic patches or something). Good job SVN team (this is in all seriousness; I'd be foolish to wish harm on any F/OSS project). However, they've fallen down in the much more critical area: providing distributed development.

    If CVS and SVN are the Cathedral, Arch is the Bazaar. When SCO posted their "Reasons to use SCO UNIX" list, one of the items was (paraphrased) "A single vendor" which most people criticized as being "a single point of failure" and I fail to see the difference in using a CVS or SVN archive. Witness the damage caused by Savannah getting compromised -- what if the same had happened to Sourceforge? (Arch has added GPG signed archives to address this issue.)

    The freedoms held so dearly by the GNU project and the FSF are our freedom to make changes, but with centralized development tools like CVS and SVN, third party developers are second class citizens at best forced to get permission from the maintainers to make any changes -- patches must either be submitted via email or the client must ask permission to get added to the permissions list.

    I don't like that.

    And I'm sure many other people don't -- how many projects in our history have been forked because people had too much difficulty getting their patches into version control? Would OpenBSD have forked if Theo de Raadt could have still submitted his patches to NetBSD? Would EGCS have forked if the GCC steering committee could have gotten their patches in? Would Keith have forked X? Would XEmacs have forked FSF Emacs? The list goes on...

    People don't like being treated like shit, and if you're going to treat them that way, expect them to do the same to you. Hackers are just like any other artisan -- they're proud of their work and if you treat it poorly, they consider it an insult to them. You don't necessarily need to accept someone else's patches into your own code, but you still need to respect their right to have their patches treated just the same as yours are treated (just think Voltaire as a modern day hacker: "I may not agree with what you code, but I defend to death your right to code it.")

    As for the user base, aside from being self hosting, projects that are maintained using Arch include Rhythmbox, Squid, Xouvert, Y Windows (or so I'm told), and a few others (at least some other GNOME projects IIRC). GNU Emacs has added arch-tag lines to the source code to facilitate a change in the future, and the Linux source code is mirrored under Arch (a change from Linus to arch is pending *at least* some speed increases on large source trees and probably some more support/documentation).

    I'd tell you to read some background on projects before making your stupid claims, but this is Slashdot so I don't know what the point is. Readers, please mod down the parent.

    -jivera

  93. Re:What about permissions. by Eric+Smith · · Score: 2, Informative
    In CVS you could set the ownership of each project to a particular group to control commit access. Can you do something similar in SVN?
    I'm not sure about doing it using the WebDAV/Delta-V access method, but you can do it using the subversion native network protocol tunnelled over SSH.

    I have my Subversion server configured with a "svn" user, and a group for every project. Each user belongs to the appropriate groups. The authorizedkeys files have the user keys and a command to automatically run svnserve.

    The repository directories and files are owned by user "svn" and the appropriate group. The setgid bit on the directories are set so that when Berkeley db4 creates additional log files, they end up owned by the correct group.

  94. Re:Yeah it's nice by Eric+Smith · · Score: 2, Informative
    Is there a migration tool to move it into SVN with all the versions maintained?
    Yes, cvs2svn comes with Subversion.
  95. Re:Question by ryandlugosz · · Score: 2, Funny

    After fourteen months of coding, Subversion became "self-hosting" on August 31, 2001.

    lame. Skynet became self-aware on August 29!

  96. Comparison With Perforce by EventHorizon · · Score: 5, Informative

    A company I work for has a few hundred developers using Perforce. At home I've been using svn for a few months. Here's my quick comparison:

    Perforce:
    Pros:
    - Very fast. Very, Very, Very fast.
    - Stable
    - Decent cross platform support
    Cons:
    - Commercial (but not as expensive as BK)
    - Binary-only--we can't (easily) fix it.
    - Windows UI is a bit inconsistent
    - Requires manual checkout
    - Requires server for revert, diff, etc
    - Stores client state on server. Thus there are coherency issues--if you 'rm' a subtree on the client, the server still thinks the client has it, and 'p4 sync' will not refretch it. It took developers a while to grasp the need for 'p4 sync -f' in this situation.

    Subversion:
    Pros:
    - OSS License
    - More features than CVS (already covered)
    - Automatic file open (you can just start editing a file in a checked out module)
    - 'svn status'
    - Serverless revert, diff.
    - Short learning curve
    - Active developer/user community
    Cons:
    - Berkeley DB. Data does not seem to be very portable between different library versions. Yes, you can dump and reload, but the lack of binary compatibility is lame.
    - SVN Schema Changes. These also require manually dumping and reloading the repository. SVN developers claim schema changes will be rare as of 1.0. I've been through three so far... we'll see.
    - Berkeley DB. 50k in text takes 2-3MB in the DB. "Fortunately" there are arcane manual tools to prune it.
    - Performance. Not slow, but local svn is slower than LAN Perforce.
    - Berkeley DB. Twice I had to run db_recover when svn 0.36.0 locked up and/or refused to run. Tangential evidence suggests DB 4.2 fixed the bugs. Make frequent gzip'd backups of 'svnadmin dump' and you should be OK. Also test rigorously before you deploy--this is a 1.0, after all.

    1. Re:Comparison With Perforce by UTRules · · Score: 2, Informative

      50k in text takes 2-3MB in the DB?? I don't think so, dude. Which version of BerkDB are you using? I just added a 75k text file and, according to du, got an increase of 40k, so it's clearly doing some on-the-fly compression, not expansion. Adding an 80k binary file resulted in the DB growing by 92k, also a ratio I'm willing to accept. This is on a Mac, with I believe the 4.2 version of berkdb (the Mac version requires a newer version than on Linux).

  97. KDevelop supports Subversion natively by G3ckoG33k · · Score: 2, Informative

    KDevelop supports Subversion natively along with CVS, Perforce, and ClearCase.

  98. Re:This may be a dumb question by __past__ · · Score: 5, Interesting
    Unlike Joel Spolksy, free software developers have the luxury to base technical decisions on technical facts, not being bound by marketing or shareholder value related issues.

    Many of the core Subversion developers are former CVS hackers. If they say the code they worked on for years is unmaintainable I believe them. CVS had fundamental (and obvious) architectural issues which you cannot solve by adding a bugfix here and a new feature there. Sure, it took a few years to make svn just do everything CVS already does, but did it harm anyone? From now on there is a much cleaner codebase which is easier to extend with new features, has less surprising corner cases for users, and makes it easier for new developers to start hacking it.

    Although I am still undecided whether svn or arch will replace CVS for me (arch is nice, but its non-portability sucks, and whoever came up with the idea that using all kinds of funky hard-to-type script-unfriendly characters in filenames would make a vc system better in any way should be taken out and shot), I completely support the decision of the svn team to start from scratch.

  99. Re:Not bad, but... by Cyclops · · Score: 2, Insightful
    This could have been immensely useful to a lot of commercial vendors, and Stallman knew it, so he used the GPL (not even LGPL) to try and "force" third party code to be GPL'd.
    Wrong. Stallman wants to impell PROPRIETARY towards freedom for their users, since readline is so useful, it has made some sofware become GPL because of it.

    Richard is happy that Free Software (GPL'ed or not) is sold commercially, either by itself or embbeded in services, what he isn't happy about is for software that has its users submit to the author.

    As a result, nobody outside the free software world uses it.
    All software should be free as in freedom, so I completely fail to see the problem here. Popularity is a shallow goal, so you should aim for freedom for everyone, instead of popularity. If you respect your users and your software is good, popularity will likely come.

    However, if popularity is your goal, you will likely start disregarding many good choices because they can be seen by some as not so popular...
  100. Don't hate it - RTFM! by fforw · · Score: 2, Informative

    Does Subversion require a UNIX account per user?

    I've always hated that about CVS and Arch.

    from some online CVS documentation :

    It is possible to "map" cvs-specific usernames onto system usernames (i.e., onto system login names) in the `$CVSROOT/CVSROOT/passwd' file by appending a colon and the system username after the password. For example:

    cvs:ULtgRLXo7NRxs:kfogel
    generic:1sOp854gDF3DY:sp wang
    anyone:1sOp854gDF3DY:spwang

    Thus, someone remotely accessing the repository on `chainsaw.yard.com' with the following command:

    cvs -d :pserver:cvs@chainsaw.yard.com:/usr/local/cvsroot checkout foo

    would end up running the server under the system identity kfogel, assuming successful authentication. However, the remote user would not necessarily need to know kfogel's system password, as the `$CVSROOT/CVSROOT/passwd' file might contain a different password, used only for CVS. And as the example above indicates, it is permissible to map multiple cvs usernames onto a single system username.

    --
    while (!asleep()) sheep++
  101. +1 Civil by jlusk4 · · Score: 4, Funny

    I think we need a new moderation category.

  102. Electronic Document Management System by dandel · · Score: 2, Interesting

    I know this is slightly off-topic, but I wonder if anyone is aware of an open-source Electronic Document Management System (EDMS). The specification for CVS/Source Control and a EDMS are very similar:

    - Document profiles
    - Full text indexing of all documents regardless of file type
    - Combined searching of both profile and full-text index
    - Integration with major software applications
    - Individual document security and the ability to secure whole categories (e.g. financial information)
    - Version control
    - Audit trail to see who has (accessed / changed / checked-out / printed) documents
    - Reporting on documents (all documents used by Joe Bloggs, all documents used within last 3 months)
    - Check-in/Check-out of documents
    - Local copies (Mirroring) so that you do not need a network connection (allowing laptop use)
    - Web-access to all documents

    I wonder if anyone knows of such a system?

  103. Re:If you need a nice subversion client on windows by pbur · · Score: 3, Informative

    There's also a (somewhat unrelated) project of the same ilk for CVS called, unsurprisingly, TortoiseCVS (different developers IIRC, same idea though, hence the similar name).

    Somewhat unrelated? TortoiseSVN is a straight mod of the TortoiseCVS codebase made to work with Subversion. Yes it's different developers, but the TortoiseSVN guys got a giant head start on TortoiseSVN by using the code from TortoiseCVS. It's mentioned on both sites. I use them both, they are amazing tools.

  104. Re:Flaw in UNIX permissions scheme by 0x0d0a · · Score: 2, Interesting

    Sorry, that should be "ACLS still are not standard in the UNIX world".

    Fedora Core 1 still, I think, does not use ACLs (by default). Most software doesn't understand ACLs. I've heard a lot of disparaging comments made on LKML about POSIX ACL design -- not sure how accurate it is, but it's there.

    If I'm writing something, I can't just use ACLs and assume that they'll be there for the BSD, the Linux, the Solaris, the OS X users of my software.

  105. Re:Symlinks under Windows? by schwatoo · · Score: 2, Interesting

    You don't really know what you're talking about. Macintosh Aliases are not at the kernel/filesysten level (which implies that all the linkiness is taken care of for you by the library functions you call). Aliases were just data files (with file type 'alis') that the Finder (and most other applications) knew how to handle. Each program had to manually resolve aliases in the code (using one of the ResolveAlias functions). You could even open an alias file, read in the file data, and resolve the alias in memory. This allowed you to use aliases that are stored in a different manner to alias files (e.g. Mac OS shlb's allowed you to store an alias as a resource to a directory containing other dependent shlbs). Under Mac OS X aliases are still present and still (rightfully so) are not handled in the File System layer. You have to use Carbon API calls to access/resolve the alias and _more_ Cocoa/BSD code should be doing that.

    --
    I have trouble with passwords among other things.
  106. Re:Does Subversion require a UNIX account per user by M.+Baranczak · · Score: 2, Insightful

    Stop thinking like a UNIX programmer and start thinking like a non-technical person.

    What are you talking about? CVS isn't meant for non-technical persons. Never has been. It was designed as a tool for UNIX programmers.