Slashdot Mirror


Subversion Hits Alpha

C. Michael Pilato writes: "This overheard while eavesdropping on announce@subversion.tigris.org: Gentle coders, The ever-growing cadre of Subversion developers is proud to announce the release of Subversion 'Alpha' (0.14.0). Since we became self-hosting eleven months ago, we've gone through ten milestones. This milestone, however, is the one we've always been working towards; it's a freeze on major features for our 1.0 release. From here out, it's mostly bug-fixing. We hope this announcement will lead to more widespread testing; we welcome people to try Subversion and report their experiences on our development list and issue tracker." Subversion, a source control system akin to CVS, has been in the works for a couple of years now.

86 of 208 comments (clear)

  1. Why? by Anonymous Coward · · Score: 4, Funny

    Just use some of the perfectly good source control programs out there. Visual Basic Source-Safe comes to mind.

    1. Re:Why? by Peyna · · Score: 2, Interesting

      Isn't Source-Safe expensive?

      --
      What?
    2. Re:Why? by Junta · · Score: 3

      If by 'pretty good' you mean 'total piece of shit', I agree. Most of the Visual Studio suite is pretty decent, but Source Safe comes off exactly as what it is, a software package bought out by MS for the express purpose of saying Visual Studio has SCM, and then doing next to nothing with it to make it work better. As an admin in a shop of people begging to leave Source Safe for something like Rational, or even CVS, I know how it is... Subversion may offer the core needed to build a replacement that keeps both developers and the businessmen happy...

      --
      XML is like violence. If it doesn't solve the problem, use more.
    3. Re:Why? by Storm+Damage · · Score: 2, Interesting

      Only $500/seat? Good lord how I wish our versioning software was that cheap. Right now I'm writing a Purchase Request for 4 more Rational ClearCase licenses...

      When the license + 1 year support for each is all added up, we'll be cutting a check to the tune of about $16,000

      I've asked the CM people before why we're not using something cheap (free) like CVS (as the sysadmin, I don't get to make the decisions, I just get to make it work once the stuff is purchased), and they casually said "Hell, I don't know, that's just what we're stuck with."

      I guess "Hell, I don't know, that's just what we're stuck with" is an appropriate attitude when you've got oodles and oodles of taxpayer dollars to spend...

      I know, I know. I'm going to hell.

    4. Re:Why? by ChaosDiscordSimple · · Score: 2

      I suspect that the anonymous coward is joking, but please, if you care about your source code at all, do not use Visual SourceSafe. Visual SourceSafe is awful software that plagued my existance for five years. If you are using Visual SourceSafe, or are considering it, please see this page on Visual SourceSafe's faults.

  2. In 20 words or less. by Anonymous Coward · · Score: 2, Interesting

    Tell me what has Subversion got that CVS hasn't? (No this is not a flame, I'd like to know).

    1. Re:In 20 words or less. by Westley · · Score: 5, Informative

      Surely the easiest way of finding out is to visit the website. From the front page:

      Directories, renames and file meta-data are versioned.

      Commits are truly atomic.

      Apache as network server, WebDAV/DeltaV for protocol

      Branching and tagging are cheap (constant time) operations.

      Natively client/server, layered library design.

      Client/server protocol sends diffs in both directions.

      Costs are proportional to change size, not data size.

      Efficient handling of binary files.

      Parseable output.

      For more details, see the website.

      Jon

    2. Re:In 20 words or less. by ebuck · · Score: 3, Informative

      It's been awhile since I looked at it, but as I recall:

      In 20 words or less:

      Subversion is CVS on steroids without being tied down to the history of CVS.

      And some of the reasons why are:

      Subversion handles directories.
      CVS does not.
      Subversion handles file permissions.
      CVS does not.
      Subversion makes atomic commits (and rolls back prior to the commit if necessary).
      CVS cannot, it will stop at the last file processed (and you have to clean it up by hand).
      Subversion uses HTTP/WebDAV (both reliable protocols).
      CVS uses it's own protocols which might be less reliable.
      Subversion performs more operations in constant time.
      CVS uses more time for the same operations although it is not necessary.
      Subversion is naitvely client-server.
      CVS had the client-server added on after the core code was developed creating some odd aspects of operation.
      Subversion transmits deltas, so costs are porportional to change size.
      CVS changes are (I believe, not know) proportional to project or file size.

      --- Fabrication is the stuff filling the holes of memory.

    3. Re:In 20 words or less. by ebuck · · Score: 2, Interesting

      One odd aspect comes to mind directly, modifications to CVS code must be made in two places to have effect.

      Modify it once to support the old "there's no network" calls. Modify it again to support the added on "network enabling code".

      For most users this is not a visible issue, that is until:

      1. You issue a command via network and it doesn't act like a command when you're in the box.
      2. You want to know why #1 happens.

      Yes, you can argue that having a web server is extra overhead, but that burden is being supported by people who worry about web servers full time, not by those who worry about source code control. And if you're not using a network, why the extra overhead of CVS? RCS would remove the network overhead entirely.

    4. Re:In 20 words or less. by ftobin · · Score: 2

      Subversion uses HTTP/WebDAV (both reliable protocols). CVS uses it's own protocols which might be less reliable.

      CVS uses ssh which is much more reliable and secure than yet-another-protocol-over-HTTP.

    5. Re:In 20 words or less. by slamb · · Score: 3, Informative
      CVS uses ssh which is much more reliable and secure than yet-another-protocol-over-HTTP.

      CVS uses [kgnp]server (Kerberos, GSSAPI, NTLM, Password) as its communication protocol. It's not even encrypted.

      The cvs-over-[rs]sh thing is a kludge, an extension of the local repository access. It requires each person have a Unix shell account with write access to the repository. You can't do much security-wise with that. Since CVS stores each file independently, you can at least say they don't have access to a module but you can't say they don't have access to a certain branch. And you certainly can't say something like "they can't delete/modify existing revisions".

      HTTP/WebDAV/DeltaV is nice for a few reasons:

      • the protocols were already made. HTTP, TLS, WebDAV, and DeltaV all existed beforehand. The authentication and stuff were settled. It saves work designing protocols.
      • Support of existing software. You can mount a Subversion repository read-only with no special software in most operating systems. ("Web folders" under Win2K for example. Try it. http://svn.collab.net/svn/repos/trunk) Eventually, even write access with automatic versioning. (Which means the log messages will be pretty worthless, but it has some of the advantages of revision control and is completely transparent.) DeltaV-supporting software will probably start to come out pretty soon as well.
      • Existing code. Apache has a pretty solid server architecture. It divvies up the requests, handles TLS, does authentication, logging, etc. mod_dav was already written as well. mod_dav_svn is a pretty small part of the whole.
    6. Re:In 20 words or less. by ftobin · · Score: 3, Interesting

      CVS uses [kgnp]server (Kerberos, GSSAPI, NTLM, Password) as its communication protocol. It's not even encrypted.

      Noone in their right minds uses this.

      The cvs-over-[rs]sh thing is a kludge, an extension of the local repository access.

      It's a 'kludge' that works extremely well, and fits well into the unix philosophy.

      It requires each person have a Unix shell account with write access to the repository. You can't do much security-wise with that.

      False. It requires that they have an account on the system, not one necessarily that allows you to execute a shell (just like SourceForge has it set up).

      Since CVS stores each file independently, you can at least say they don't have access to a module but you can't say they don't have access to a certain branch. And you certainly can't say something like "they can't delete/modify existing revisions".

      True. But this has little to do with the transport protocol.

    7. Re:In 20 words or less. by BlowCat · · Score: 2
      CVS uses [kgnp]server (Kerberos, GSSAPI, NTLM, Password) as its communication protocol. It's not even encrypted.
      Oh, yes, very "informative".

      From cvs.info (Direct connection with GSSAPI):

      The data transmitted is _not_ encrypted by default. Encryption support must be compiled into both the client and the server; use the `--enable-encrypt' configure option to turn it on. You must then use the `-x' global option to request encryption.

    8. Re:In 20 words or less. by slamb · · Score: 2
      > > CVS uses [kgnp]server (Kerberos, GSSAPI, NTLM, Password) as its communication protocol. It's not even encrypted.

      > Noone in their right minds uses this.

      Right, no one uses its authentication for anything important. CVS doesn't have a decent protocol. For extra annoyance, they do use it for anonymous stuff, since it is not good to have a Unix account for anonymous people. So you need two different ways of accessing CVS.

      > > The cvs-over-[rs]sh thing is a kludge, an extension of the local repository access.

      > It's a 'kludge' that works extremely well, and fits well into the unix philosophy.

      No, it does not work well. There's not a lot of Java code available to talk ssh, for example. It's not good for cross-platform stuff.

      Also, ssh handshakes are time-consuming. This is important because cvs reconnects for each operation. In contrast, HTTP has well-defined and well-known standards for keepalive and pipelining.

      > > It requires each person have a Unix shell account with write access to the repository. You can't do much security-wise with that.

      > False. It requires that they have an account on the system, not one necessarily that allows you to execute a shell (just like SourceForge has it set up).

      I'm afraid you have me at a disadvantage - I've not seen SourceForge's setup. I'm not a committer on any projects there. However, ssh requires a shell account - it might be a restricted shell of some sort, but they need a shell.

      Also, the manual certainly has no better way. If you are able to do so, please patch it. I quote:

      It is possible to grant read-only repository access to people using the password-authenticated server (*note Password authenticated::). (The other access methods do not have explicit support for read-only users because those methods all assume login access to the repository machine anyway, and therefore the user can do whatever local file permissions allow her to do.)

      There are a lot of things not possible to do with Unix file permissions. Saying things can be added but not modified. (You can have setgid directories, but not setuid ones.) One group that can read/write, one that can read, everyone else who can do nothing. Permissions within the files (short of splitting them into more files, which makes Subversion's ACID semantics difficult) . All of these things are possible with Subversion - you just write a Perl script that inspects the transaction and allows or denies it. Please take a look at commit-access-control.pl for an example.

      > True. But this has little to do with the transport protocol.

      You need a smart server to accomplish this. Subversion's :ext: method of remote access (rerunning the command on the other machine through [rs]sh) doesn't qualify. Arch's modify-via-ftp doesn't either. Those can't ever do anything but the Unix file permisssion way, but with a server between it can decide what is allowed or denied.

      You notably didn't quote/comment on my points about why HTTP/WebDAV/DeltaV was a good choice. They clearly needed a protocol of some sort. I think using the existing standards was a good choice. Why would something else be better? Why would you not use HTTP? You said:

      > CVS uses ssh which is much more reliable and secure than yet-another-protocol-over-HTTP.

      Do you have anything to back that up? How is HTTP/TLS/WebDAV/DeltaV unreliable or insecure?

      If you're that dead set against that protocol, write a new one. It already has the abstraction - both ra_local and ra_dav are supported. Write a new ra_XXX if you so desire. And a new server to replace mod_dav_svn. Of course, no one will use it - the DAV stuff works well. But maybe you'd feel better.

    9. Re:In 20 words or less. by ftobin · · Score: 2

      There are a lot of things not possible to do with Unix file permissions.

      You assume a basic unix filesystem, not something like AFS, which has rich, powerful (though not sub-file) ACL support.

      However, ssh requires a shell account - it might be a restricted shell of some sort, but they need a shell.

      SourceForge only lets you execute cvs when you login (that is, you cannot execute any other program, including any shell). Furthermore, you really don't need line in /etc/passwd, if that is your concept of a 'shell account'. SourceForge uses an LDAP server, I think, for accounts. So, given the abscence of a line in /etc/passwd, and only the ability to execute 'cvs', I don't quite see how this qualifies as a 'shell account'

      You notably didn't quote/comment on my points about why HTTP/WebDAV/DeltaV was a good choice.

      I did not comment because I had nothing to argue against in what you said, they were all quite true statements. But the benefits you stated has no value to me.

      How is HTTP/TLS/WebDAV/DeltaV unreliable or insecure?

      The cryptography for ssh is much more secure than the examples you've give. The authentication means are more powerful, and there is agent-forwarding, both extremely important.

      And a new server to replace mod_dav_svn.

      I highly dislike systems writing servers where none is needed (ala CVS with [rs]sh; ssh handles the network).

    10. Re:In 20 words or less. by ftobin · · Score: 2

      If you do a "finger cvsonlyuser" on SourceForge, I'm sure it will say "Shell: /cvsonly/shell" or something. When given "-c cvs" arguments, it must invoke cvs.

      You're confused as to how this is implemented. ssh itself allows you to restrict the command to ssh. From the sshd manpage:

      command="command"

      Specifies that the command is executed whenever this key is used for authentication. The command supplied by the user (if any) is
      ignored.

      There's nothing wrong with TLS's cryptography. It doesn't do agent forwarding, but it doesn't need to: you aren't forwarding the agent to the Subversion repository.

      I'm well aware that I'm not forwarding the agent to the repository, but I am forwarding the agent from my base machine to where I do my work, and from there I authenticate to the repository.

      Actually, I can easily forsee needs to forward the agent to the repository, if the repository needs to authenticate to something like the filesystem (ala AFS).

      It's important to have a smart server to have flexible authorization. You simply can't do it otherwise.

      I don't diagree with that statement. However, the 'smart server' doesn't need to know anything about the network, just talk over a unix domain socket.

      This is very similar to any RDBMS. They provide fine-grained security and ACID semantics. They need servers to do it. No one questions them.

      The need for database systems to talk over a network I do question.

      Write a new ra_xxx and an executable that, when forked from ssh, communicates with the client. (Call it something other than a server if you like.) I actually see a partially written ra_pipe - that might be what you want, not sure.

      If cvs's ever begins to actually be a worry for me, and I consider a different version-control system, I might look into it. But that would likely mean having to work with WebDAV, which is another argument in its own right.

    11. Re:In 20 words or less. by ftobin · · Score: 2

      Right, so the Subversion protocol does not need special support for it.

      Well, if it uses a different protocol, it will probably be hard to tie talking to the agent for authentication with the protocol Subversion would be using. In other words, while I could forward the agent to from point 1 to X-1, where X is Subversion, and not need to forward the agent from X-1 to X, and the protocol through 1 to X-1 and X-1 to X are different, it would be difficult to get these two protocols to 'talk'.

      For that matter, Berkeley DB doesn't work on NFS, so it probably doesn't on AFS either. Locking. Same as a RDBMS.

      Actually, I wouldn't be at all surprised if AFS supported locking, but I won't delve too deep here, since I'm not sure. But certainly don't rule it out.

      The fork-exec cost is highly overrated in my book (assuming the code is already in memory), given copy-on-write.

      You require a Unix UID. I just don't like this idea. It's unnecessary.

      This is one drawback, yes, but lessed a great deal with NSS and the like. It's not the UID that is the problem (practially all systems have a user id of some sort), but more the tying of multiple authentication databases together isn't that great. I wouldn't be surprised the ssh people are working on making it good for authenticating more than unix accounts, though.

      Ehh? It would replace WebDAV.

      Oh, I was more referring to trying to replace the transport mechanism (HTTP(S)), not the communications layer (what is actually spoken across it).

    12. Re:In 20 words or less. by ebbe11 · · Score: 2
      so your saying basicly 1/10 the stuff that would go into cvs if the developers had a brain cell among them

      They do. But they have decided that adding this fucntionality to CVS is not viable, so they're developing subversion instead.

      Hint: Many of the subversion developers are also CVS maintainers.

      --

      My opinion? See above.
  3. not just "akin to CVS" by Emrys · · Score: 5, Informative

    It would be more accurate to say subversion:CVS::mozilla:netscape4. Subversion is intended to replace CVS, and it's core team is made up many of the people that currently maintain CVS. CVS has really reached the end of its life cycle; its really showing its age, and it just doesn't make sense to extend it anymore. No, this is not a "CVS is dying" post, but anyone who has adminned it has been frustrated with it from time to time, and Subversion aims to remedy that. They're keeping what's good about CVS and replacing the bad with better things based on decades of experience with CVS and improvements in the SCM field in general.

    This is intended to be a replacement for CVS. No less, and no more (for the "more", see some of the more experimental SCM stuff like Tom Lord's arch).

  4. Re:why does subversion exist? by Emrys · · Score: 2, Informative

    As I noted elsewhere, "they" *are* CVS, for all practical purposes. CVS is very old and showing its age and it's time for a rewrite. Updating has reached the end of where it can be useful, considering even CVS's networking layer was added as an afterthought/extension. Subversion is intended to supplant CVS.

  5. Re:why does subversion exist? by rtaylor · · Score: 4, Informative

    The parent is almost a troll. If you look up who maintains CVS and who maintains subversion you'll find alot of the same people.

    After a decade (has CVS been around longer?) some things just need to be restarted from scratch as every hack possible on the base has already been tried.

    In the case of CVS, it's the storage format that is causing the largest problems -- and the reason for the term 'repo-copy' which is one of the most annoying things I can think of (repo-copy then check out an old version -- look, duplicated stuff!).

    --
    Rod Taylor
  6. Re:Thanks by mccalli · · Score: 2
    Currently working on a project completely relying on ClearCase(tm) configuration management...

    Be interested to hear what problems you're having. I used ClearCase in one of my jobs, and thought it was really rather good.

    Cheers,
    Ian

  7. Re:Thanks by renehollan · · Score: 2

    What so bad about ClearCase? Well, yeah, the learning curve is steep, and licenses are expensive, and it is not free, but I've always found it to be a powerful tool (albeit easily abused) for advanced source code control, particularly when dealing with multiple branches/forks of a common code base.

    --
    You could've hired me.
  8. while we're at it, let's burn our Makefiles too by soundsop · · Score: 2, Interesting

    While we're considering throwing away CVS, let's also throw out make. Check out Scons, a replacement for make. I have been using it for a few months on small projects and it's shaping up to be a really great tool.

    Burn your Makefiles!

    1. Re:while we're at it, let's burn our Makefiles too by smagoun · · Score: 4, Interesting
      ...and there's always ant, from the folks over at jakarta.apache.org. It's aimed at java development, but can be used with other languages as well.

      Ant has some pretty cool features (and a few misfeatures, sadly), but it's really caught on in Java-land.

    2. Re:while we're at it, let's burn our Makefiles too by e2d2 · · Score: 2

      Nant has also caught on in the c# world. It's basically a .net port of ant.

      We are moving our visual studio build to Nant because it works with our Nunit tests and can do everything we need automatically. We have used both nmake (make) and VS to accomplish builds in the past but have had to overcome a few difficulties in large builds that hopefully this will solve. We'll see but using ant in the past for my java projects I am hopeful. Using nmake simply was to error prone on large builds, we don't like finding that our build failed because of whitespace problems, and VS was simply to unreliable for us (your own results may vary). We still use vs.net to build our custom installer, but we call it from the cmd line using Nant.

      Tying the whole process in to a source control app like subversion or cvs (which we currently use) would benefit us. Hopefully someone will write a .Net cruise control or it' equal for the .Net platform. That would allow the build process to get the latest files from our repository for the build.

    3. Re:while we're at it, let's burn our Makefiles too by iabervon · · Score: 2

      I never figured out a way to get ant to reliably compile a Java project correctly. It uses the javac dependancy engine, which is specified in a broken way (the rules in the specification don't actually mean that compiling the classes it finds as needing recompilation is the same as compiling from scratch).

      After using ant for a while at my work, we decided that it was the most common cause of people checking in broken code (which hadn't caused a problem for the author) and incorrect builds, and switched to make (with a python script to find java dependancies correctly).

      The other problem with ant was (at the time, at least), there was no way to avoid running a program because it could be determined that it was unnecessary. This made trying to use EJB with a container that required an EJB compiler practically impossible, because we had a 20 minute build cycle, even when the ejbc step wasn't necessary.

    4. Re:while we're at it, let's burn our Makefiles too by iabervon · · Score: 2

      Make is actually quite nice if you use a little trick: have only one Makefile. Have that Makefile include a file from each directory that contains variable definitions. That way, you separate the code from the data, meaning that you don't need to automatically generate the Makefiles (since you don't change them for each project and directory), so the Makefiles can be readable.

      You can also do some really interesting things with conditionals and what amounts to iterative includes. I have a set of Makefiles totalling 315 lines which will accurately do exactly the steps needed to rebuild a program if any source file changes, regardless of which directory the file is in, and can be run from any directory in the tree. If nothing has changed, make says nothing except "'target' is up to date". It wasn't terribly hard to do.

    5. Re:while we're at it, let's burn our Makefiles too by e2d2 · · Score: 2

      Nant doesn't favor one language, I just happen to use mainly c#. You could easily modify either ant or nant to build projects in other languages. Actually Nant has a task built in to compile using the VB.net and C++ compiler along with various other tasks just like make. Our builds include c++, c#, MS help files, and an MS installer.

      Make is fine, but like I said we are searching for something a little more friendly.

    6. Re:while we're at it, let's burn our Makefiles too by iabervon · · Score: 2

      I have it at http://iabervon.org/~barkalow/make.tar.gz if you'd like to take a look. Obviously, it's tuned to the way I have my project arranged, but it shouldn't be hard to apply the principles to another project. The "explanation" file is a bit out of date, in that the system actually does some of the wishlist items.

    7. Re:while we're at it, let's burn our Makefiles too by iabervon · · Score: 2

      I believe you're misunderstanding my use of includes. I'm suggesting using them for two purposes: (1) read simple files out of each directory which explain the contents of the directory as a set of readable variable definitions and (2) share code and have loops and subroutines in a tight set of scripts written together.

      Build variations should be refactored until they come down to, essentially, "which parts of the code do I build". Then, based on simple cues from the user, you can build the right things.

      My non-recursive make is for a project which has about nineteen targets which are either binaries or libraries; the one which is build depends on which directory you invoke make from. There is a make target to make a distribution, which includes everything needed for the target in the current directory and can be build from the root of the distribution.

      The scalability issue is not with the number of build variations but with the number of types of build variations. Having a lot of dissimilar build variations is just a mess, regardless of what you're using to build with.

  9. Re:MOD PARENT DOWN: OVERRATED by Peyna · · Score: 2

    Who cares either way? Your post was more pointless than mine, and this one is even more pointless. I used my +1 bonus because the person implied SourceSafe was a good alternative, when I think that pricetag makes it not an alternative at all for most people, especially those working on open source projects.

    Besides, so many people post at +2 now, you almost have to hope to be heard above the noise. I browse at 3 most of the time, I'm sure many other people do too.

    --
    What?
  10. That's obvious!! by Outland+Traveller · · Score: 5, Informative

    What is so bad about clearcase? From my point of view what *isn't* bad about clearcase is an easier question. Here's my hot list:

    1. Needs kernel modifications in order to work. PROFOUNDLY STUPID. It's always an adventure trying to get clearcase to work with any recent linux kernel, and forget trying to keep current with kernel security patches.

    2. "Filesystem" style sharing does not scale well outside of a high speed, local network. If your developers are distributed around the internet you need to use clearcase's horrible hack "snapshot" views, or shell out ridiculous amounts of money and complexity to implement multisite. It's very difficult from a performance and a security standpoint to use clearcase over a low-speed VPN.

    3. Good GUI administration tools are windows-only. While rational could have created cross platform admin tools when they ported their product to Windows, they didn't. Instead they rewrote their admin tools to be windows only, added many new features, and now the windows tools are 200X more usable than their unix equivalents. When I pressed irRational when the unix tools would be similarly improved they gave the patronizing answer that unix customer's don't want good admin tools. Sounds like a self fullfilling prophesy to me. The unix GUI tools are so awful that it is easier to use the command line! Thus, irRational insures that unix shops with clearcase will always have a brick-wall style learning curve.

    4. Vobs don't scale well, especially when you version large binary files, like media. You have to manually tune how many vobs to use and how large to make them.

    5. Relies on automounting and persistent filesystem connections for day-to-day work. This design is inferior to a more traditional client-server TCP/IP app in terms of both performance and robustness.

    6. Lack of commitment to the unix platform. iRational has stopped future development on their unix bug tracking software (DDTS) in favor of a MS-ACCESS backed solution. A large majority of new clearcase features are windows-only. You would think that Rational would be a cross platform company, but they are not. They make platform-specific solutions for multiple platforms, most of them purchased from some other company and poorly maintained.

    7. Extremely high maintenance costs, not just in the licensing but in the dedicated personel needed to throw their careers away doing nothing but babysitting the vobs and views.

    If you're buying a proprietary CMS the last thing you should consider is iRational clearcase. Try bitkeeper or perforce and you'll be much happier.

    1. Re:That's obvious!! by Feign+Ram · · Score: 2, Interesting

      Kee -Rect ! The VFS used by Clearcase while providing a lot of it's cool features is also responsible for many drawbacks, including some of the ones you mention.

      Scalability is the biggest downstream issue any manager has to consider before choosing Clearcase. It is extremely resource hungry and I used to work for a small company that deployed a Sun Enterprise server to support CLearcase for just 10-15 developers. Get ready with barrels of memory - shticks and drives.

      The Steep learning curve is not something that u can wish away in a production environment.

      In spite of all this, I remain fond of Clearcase - It was the first Version Control/Configuration System I used seriously and haven't found anything even remotely similar in terms of functionality. I felt like vomiting when I first used CVS after 4 years of CVS. Another nice feature is it integrates nicely with other Rational products like ClearDDTS the bug tracking system - Against a specific ticket you can check the list of related checkins/checkouts.

      It was originally developed by a company called Atria and was later taken over by Rational.

      And don't forget multisite. A Pig it is - but it provided lot of value for money, especially to comapnies that could afford it.

    2. Re:That's obvious!! by Bryan+Ischo · · Score: 2

      "I felt like vomiting when I first used CVS after 4 years of [Clearcase]."

      That's funny ... because I felt like vomiting when I first used Clearcase after 4 years of CVS. Even the vague memories I have of Clearcase make me queasy just to think about ...

      At my current job we use Perforce, which, although it has its own problems, is quite alot better than either CVS or Clearcase.

      But subversion looks really good ... can't wait to play with it ... (I can't believe I'm excited about version control, if that's not the definition of a geek I don't know what is!) ...

  11. Re:why does subversion exist? by ebuck · · Score: 4, Informative

    Subversion exists because every now and then, after doing tons of patching, fixing, feature adding, and code tweaking you realize that if you started with a different sort of code architecture life would be easier.

    The CVS guys are working on subversion, but "fixing" CVS would not necessairly be the best way to fix their problems. Massive changes in CVS would raise a cry of desperation from the masses of programmers that rely on CVS for day-to-day operation. Also, if it is discovered that a totally new way of handling things is much better than the way CVS works, you encounter nasty if not impossible upgrade difficulties.

    People don't want to put their code at risk. Too much time and money goes into it. Subversion "solves" the migration problem by making a totally new project.

  12. Re:Thanks by Luyseyal · · Score: 2

    I haven't used ClearCase, but I'm wondering if something like arch or BitKeeper with native support for distributed trees wouldn't help some of these central-server merging problems?

    curious,
    -l

    --
    Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
  13. arch vs Subversion by Luyseyal · · Score: 4, Informative

    Here is short comparison of why you might want to use arch over Subversion, depending on your project's needs:

    http://regexps.com/src/src/arch/=FAQS/subversion

    -l

    --
    Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    1. Re:arch vs Subversion by William+Tanksley · · Score: 2

      It's hard to read a document which starts out so fundamentally /wrong/. It claims that using "ordinary files" makes its format somehow more managable -- what baloney. By using "ordinary files" it's actually choosing to implement its own proprietary database. If you want to manage it, you have to learn its format.

      Subversion's not ahead here; but by using a standard database, at least you can use standard database tools to manage it. You still have to learn, of course.

      I like arch. It's a cool system. But nonsense like that...

      -Billy

    2. Re:arch vs Subversion by millette · · Score: 3, Interesting

      Seriously, if we had a good enough filesystem, there wouldn't be a need for any db. It's only a question of point of view. You mention using standard database tools to manage subversion. What's so wrong about standard filesystem tools to manage arch then? You know, like cat and grep, and ls even. (Please, don't point out that grep isn't a filesystem tool, please).

    3. Re:arch vs Subversion by Luyseyal · · Score: 2

      1) I'm not bashing Subversion. Reread what I said.

      2) The author isn't bashing Subversion. His point is he thinks arch has some better features, particularly for open source-style development.

      3) bash and awk both run on Windows and Mac. The author says (in another document on the website) there's also a Perl version in the works.

      4) ftp is not an issue since ssh can masquerade ftp well enough.

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    4. Re:arch vs Subversion by Luyseyal · · Score: 2

      The point is that having a local archive of all the versions allows you, for example, to grep through the source for that old snippet of code in some version that you need but aren't sure what version it's in. Sure, you can checkout all the Subversion versions locally, but arch does it implicitly. I think that's pretty sweet.

      dig around in here to get an idea of what the file tree looks like:

      http://regexps.com/src/src/arch/%7barch%7d/

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    5. Re:arch vs Subversion by William+Tanksley · · Score: 2

      You mention using standard database tools to manage subversion. What's so wrong about standard filesystem tools to manage arch then?

      Nothing. Nothing's wrong with using standard filesystem tools to manage arch. Nothing's wrong with arch -- or at least I have nothing to criticise.

      What's wrong is arch's idiodic propaganda stating that Subversion is magically inferior because it uses a database rather than a file system.

      The one weakness in arch is that it manages the existing filesystem as a database but accepts the use of non-database tools to alter it. You can use grep and so on to maintain it, but you'll certainly destroy it if you don't know exactly what you're doing, since filesystem tools can't possibly know how to maintain a database, while database tools must.

      But this isn't a big deal to me -- after all, you can have a perfectly good database which isn't a version control system, so your database management tools can cause a lot of problems as well when used by an idiot. So again, I have no complaints with arch's approach. Only its marketing.

      -Billy

    6. Re:arch vs Subversion by William+Tanksley · · Score: 2

      Why are you replying to me with this? It doesn't seem to fit any of my posts. Perhaps you meant to reply to someone else?

      -Billy

    7. Re:arch vs Subversion by Luyseyal · · Score: 2

      I was simply pointing out why arch's "ordinary files" are more managable, from a code perspective, than databases.

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    8. Re:arch vs Subversion by William+Tanksley · · Score: 2

      Okay. Why did you compare local version storage versus remote version storage, then? This isn't a database versus files issue; it's a local versus remote issue.

      Anyhow, I certainly agree that arch has this, and other, advantages. (Many others.) None of them make arch "more managable" or "more usable" or anything else than subversion; they simply give the two different characteristics. Remote files have HUGE advantages as well, in the right environment.

      -Billy

    9. Re:arch vs Subversion by Jerf · · Score: 4, Informative
      To whomever wrote that document: Speaking as a disinterested third party with some experience, the document does not look like a "short comparision", it looks like a Subversion bash fest written by somebody with an axe to grind.

      As a simple example, consider
      In Subversion, a lot of revision control "smarts" are built into the server. In arch, the smarts reside entirely within the clients. Therefore....
      1. arch is very fast
      2. arch is scalable
      3. arch servers are easy to administer
      4. arch is resiliant when servers fail
      5. arch is better able to recover from server disasters
      (numbered for my convenience)

      However, this characterization is horribly, obviously lopsided in favor of arch. Putting the smarts on the server is a good thing, because it prevents replication and therefore differences and therefore bugs on the client side, with logic the client should not need to deal with. It makes it harder to write an arch client correctly (witness the profusion of cvs clients).

      1 does not follow; a server can often do things faster then a client, because the client may be slow while the server is an 8GHz quad-Sexium with 8 gigs of RAM.

      2 does not follow as an advantage; there's nothing that says a server-based solution can't scale, they do all the time.

      3 is true, but you're trading off with an entire system (server + clients) that's harder to program correctly because of rampant logic duplications in the clients. It's not an unmitigated advantage in favor of arch, and in fact I read it as an advantage to Subversion.

      4 is a nonsequitor; it may be true but it does not follow from being non-centralized. Same for 5. Again, there's no law that servers must be difficult to recover failure from.

      This is just one example of an attitude that pervades the linked document. In fact, the article pointed does more to turn me off to arch then anything else. If the author was a developer for arch, I'd be concerned at the lack of experience in design (it is almost never the case that one solution is better then another in every way) and inability to fairly evaluate two products (why not show what both are good for?) being shown here.
    10. Re:arch vs Subversion by William+Tanksley · · Score: 2

      Oh, I agree with you entirely, then. Yes, I've also been watching ReiserFS for some time.

      I have to note, though, that high performance databases don't run as layers on top of the filesystem; they run directly on the drives, with no filesystem intervention. ReiserFS won't change that; it may be better than ext2fs for database tasks, but it's still not tuned for big-league work. And it never will be -- it's not targetted for that.

      -Billy

    11. Re:arch vs Subversion by joib · · Score: 2

      1) I didn't say that you were bashing subversion.

      2) Ok, maybe bashing is a too harsh word, but I'd hardly say his comparison is unbiased.

      3) Yes but there are other things like hard links etc (like almost the entire unix tool chain). A quick search on google finds the author saying himself that arch is only for POSIX environments.

      4) Even if it works when you use passive mode ftp, you still need shell access for ssh. Anyway, maybe this isn't such a big problem since there are patches for webdav support. Maybe they'll get integrated into the main tree soon.

      Bottom line: both of these will easily blow cvs out of the water. Use whatever you like.

    12. Re:arch vs Subversion by Luyseyal · · Score: 2
      Bottom line: both of these will easily blow cvs out of the water. Use whatever you like.

      right, which was the point of my original post:

      Here is short comparison of why you might want to use arch over Subversion, depending on your project's needs

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    13. Re:arch vs Subversion by Luyseyal · · Score: 2

      The point of distributed archives is replication. It's fundamental to the design. It assumes you live in an often disconnected world and you can sit there with your laptop in the middle of nowhere doing merges and whatnot independent of some remote archive.

      Anyway, that's the point of it. If it doesn't fit your environment, you shouldn't use it. :)

      using your enumeration:

      [1]. The problem is he doesn't define "fast". When I think "slow", I'm thinking being on the slow end of a pserver/webdav connection in a large project with a lot of concurrent branches in need of merging. Still, I agree, if you can afford the server and all the clients have a decent connection.

      [2]. Well, server-based solutions are expensive on the Linus Torvalds level. Have you seen the merges that guy does? Scary.

      [3]. You're right, except that there are no arch servers (by server, I'm guessing the guy means "main ftp archive" or something). But sometimes it's better to have a smart client. I definitely don't want Apache trying to render web pages for me... sending an image to a dumb browser, no matter how annoying IE vs Mozilla incompatibility gets! :) But yeah, in a highly centralized, probably corporate-style, environment, arch is probably not as good a fit as Subversion.

      [4] & [5] follow from being decentralized because the distributed trees all maintain the history. It obviates the need to specifically keep mirrors of the main archive around since each local archive is already a mirror. At least, that's my understanding of it.

      As far as the author is concerned, I'm guessing he's just trying to advertise his wares. He may have failed due to his poor writing, but I'm guessing his goal was marketing. You might contact him about it... you know: download arch, get a copy of his tree, write up a patch, and publish the archive. hehehehe

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    14. Re:arch vs Subversion by Jerf · · Score: 2

      I wasn't really interested in giving exhaustively correct answers myself, as I've used neither.

      He may have failed due to his poor writing, but I'm guessing his goal was marketing. You might contact him about it... you know: download arch, get a copy of his tree, write up a patch, and publish the archive. hehehehe

      "Marketing" open source is an interesting issue. I think the issues involved in attracting developers and users to your project are not well explored by the community. There should be a 'definitive essay' on the topic, as in 'Homesteading the Noosphere". (I intend to write one in a few years, if my projects are released and do well. Failing that, I'm not qualified, so don't ask me to do it. ;-) )

      See, the author here has already turned me off and lost. Marketing Open Source should be more honest... 'here's what it's good for, here's what it isn't, here's what needs more work'.

    15. Re:arch vs Subversion by fferreres · · Score: 2

      Either make the filesystem DB oriented, or let people use DBs. The flexibility of a DB on top of a filesystem is that you can keep the OS simple and extend it using whatever DB you want to use, or multiple DBs or no DB at all.

      The benefit of a DB based filesystem (direction of ReiserFS4) are also great. It may be the case that you'll not need a separate DB (but maybe you will, if you need other features!).

      MS going to a DB filesystem will make our lives more difficult for sure. We just need to way and see, but that's my guess. And they can make it work, because the can force a single DB filesystem you cannot avoid.

      On the other hand, Linux will probably have options for DB filesystem, but as they will not be widespread (and there may be a lot of incompatible DB fs) for a long time, you can't sucessfully base aan app on a specific DB fs beign at the core.

      This my semi-uneducated opinion of course.

      --
      unfinished: (adj.)
    16. Re:arch vs Subversion by William+Tanksley · · Score: 2

      It's a FAQ, not a paper. In other words, its designed to help orient readers to the design space and give them a staring point for research and comparison. I assume that the FAQ's readers are smart enough not to try to use the FAQ as a CS textbook.

      What on earth does that have to do with your claim that "with arch, you can use standard tools to access past revisions" (implying VERY specifically that you can't do that with Subversion). The entire point of the document is to compare Subversion and arch; instead, you're allegedly comparing databases versus file systems.

      "Allegedly" because you're actually comparing your special-purpose database to Subversion's use of BDB (or whatever they switch to when they've had enough of that).

      That second point isn't some loopy overgeneralization about databases: it's an observation about how the implementation "came together" around simple file formats.

      In a FAQ about the history of arch, that makes sense. In a FAQ about comparing Subversion versus arch, it doesn't. Frankly, your statement here doesn't even make sense, considering what you're actually SAYING in that document. You're NOT giving a history; you're making a very specific claim about present capability.

      I'm REALLY impressed with arch. I like the documentation I've read, like the software. I'm not an enemy. But I HATE, abhor, detest this kind of sniping against other projects.

      Second, what I've tried to say in the FAQ is not that databases are overapplied (that's for another discussion) but rather that arch's standard-file-formats and ordinary filesystem tree orientation resulted in a very tiny, simple implementation that nevertheless has many of the desirable semantic and performance characteristics people often presume require a database.

      Again, context is very important. The context of this FAQ is a contrast between Subversion and arch; in this FAQ, any bullet list claiming a feature especially for arch is implicitly a claim that the same feature is unavailable or very difficult in Subversion.

      In fact, I would definitely say that by the definition of the term "database" you've written your own database. It's probably not relational, but RDBs aren't the only type, nor are they unambiguously the best. So you aren't scoring any points on the "databases are not needed" scoreboard. All you're doing is proving "I can write my own database which serves my needs better than some general-purpose database" (I would tend to agree, even without the beautiful evidence of arch to support your argument).

      Of course, this sort of claim doesn't belong in a comparison with Subversion either, although it's certainly worth some good discussion.

      You know what, I'm wondering if you're talking about the same FAQ I am. Look at the link which started this, and make sure we're on the same page.

      With all due respect, maybe I'm not the one who needs to work on his reading comprehension ;-).

      -Billy

  14. Microsoft doesn't even use its own products ... by BitMan · · Score: 2

    Here's a list ...

    • DNS: Only a handful internal Win2K DNS/AD Servers, 0 external, numerous ActiveDirectory issues (let alone DNS changes done "on-the-fly" that takes them down weekly)
    • Firewall/Proxy: Virtually 0 ISA Servers
    • SCM: No team larger than 50 using Visual Source Safe
    --
    -- Bryan "TheBS" Smith
    Independent Author, Consultant and Trainer
    1. Re:Microsoft doesn't even use its own products ... by bmajik · · Score: 4, Informative

      Not quite:

      There are lots and lots of DNS/AD servers at MS, although not as many running W2k anymore (they're running W2k + 1 mostly)

      And, unfortuneately, we have LOTS of boxes running ISA server. On numerous occasions i've emailed the relevant admins saying "please let me setup 1 squid box for you so i dont have to put up with this crap anymore". It's gotten better but man dogfooding is painful sometimes.

      I can think of 1 team larger than 50 using VSS. There's an internal-only project spread over several teams that has been the same source base for 4+ years that is using VSS. There are easily over 50 people who've made checkins. Thats probably different than 50 active developers.

      You're generally right though about VSS - it's not being used anymore internally for large projects. It's an adequate SCM for small projects or groups of small projects. The project I mentioned has about 5GB under VSS control and it works reasonably well, but I probably wouldn't start with VSS if i were starting from scratch.

      --
      My opinions are my own, and do not necessarily represent those of my employer.
  15. versus jakarta slide? by awb131 · · Score: 2, Interesting

    Does anyone know how subversion compares with Slide from the Jakarta Project? Slide is also a WebDAV/DeltaV client and server. In the past, I've been more interested in Slide because it has a more "pluggable" back end (Slide is in Java, and I am a pretty good Java programmer, not so much with the C.) Easier to embed/extend for my own uses.

    For example, are the two interoperable in any way? Can you use one's client to talk to the other?

    --
    "There is no night so forlorn, no mood so bleak, that it cannot be infused with pleasure by tender meat..." - R.W. Apple
    1. Re:versus jakarta slide? by alienmole · · Score: 2, Insightful
      Since Slide is not specifically intended for source code management, I would imagine subversion has many features in this area that Slide does not. However, I haven't used either, only read about them.

      If you're looking for something to embed/extend and you know Java, then Slide would make sense, especially if you're planning to use it for something other than source code management. However, you might still want to use subversion for the source of that project... Most people don't need to extend their source code manager much, except perhaps with a few scripts.

  16. Re:ssl by joib · · Score: 3, Insightful

    As it says right on the front page, Subversion uses WebDAV as its transport protocol. As webdav is based on HTTP 1.1 you get all the benefits of HTTP, like for example SSL encryption.

  17. Sourcesafe isn't that bad. by Otis_INF · · Score: 3, Insightful

    For small (less than 200.000 lines of code) projects it's pretty good. You should know the limits like the size of the database shouldn't exceed 1GB, but overall the tool works seemlessly. Here we have over 20 projects in several databases and haven't found any problem with it since we started using it back in 1999. (Yes we check for errors ;) ). For the small price-tag it has, it has a lot of features and a nice gui, which supports visual conflict resolving, drag/drop sharing/branching etc.

    You shouldn't use it for large projects. So when people still use it for large projects, it can be cumbersome and slow.

    So your 'it's a total piece of shit' is way off base, or you're one of these people who cram 1.5 million lines projects in Sourcesafe and then start complaining.

    --
    Never underestimate the relief of true separation of Religion and State.
  18. Re:ssl by joib · · Score: 3, Insightful

    Quoting AC:

    So the client is entirely web based? How do you checkin code? Paste it into a web browser?

    No, the client is a command-line client, like cvs. It just uses HTTP (or to be more specific WebDAV, a HTTP extension) to communicate with the server.

  19. My own bad experience 9 years ago by A+nonymous+Coward · · Score: 3

    My little group (4 programmers) had been using CVS for years, and another group (10 programmers) installed ClearCase, and management decided our CVS group should convert. There were two CC admins; one wrote a piss poor install script. When it started deleting files it had no business even looking at, I aborted it, cleaned things up (*I* kept backups :-), told my boss, and he backed me up -- we stayed on CVS. The other CC admin was a joke, and twice (!) deleted the CC repository by mistake. Other times I don't know what he did, or if it was just CC taking a dive, but they were down all day getting it straightened out. Most of that group were envious that my group stayed on CVS.

    I have never worked on huge projects, never more than a dozen programmers at most, and CVS has always been good enough. I will certainly switch to subversion, or maybe one of the others, because I like a lot of the improvements, but CC has always seemed like bloated overkill.

  20. Re:testing subversion/cvs... by nthomas · · Score: 4, Informative

    Seriously, though, how, other than using it for real, might one test subversion? And how would you recover from the bugs that will be in there without devoting your life to it for a few weeks?

    You raise some serious concerns, let me try and alleviate those fears.

    I've been using Subversion for a few months now (since revision 1210 or so), and let me to tell you, there is nothing that the dev team values more than the integrity of your data. Nothing. This means that once something has been comitted, it will never be lost.

    Does this mean your data is guaranteed with an alpha-quality system? No. But let me tell you, in 6 months I've not seen it happen once. Oh sure, there have been a few times when the DB schema changed, and the format of the dumpfile (more on that in a bit) changed on you, but these things were discussed well in advance on the dev list and not only did you have plenty of opportunity to prep your data for the change, there were ways for you to convert your data after the fact.

    If you are the sort of person that likes to tweak around with your data in the repository (if you come from a CVS background -- you have to be) and gets the heeby-jeebies from having your data stored in a non-accessible format, let me ask you this, do you worry about the fact that you have data stored in Oracle/Postgres/Sybase/MySQL? No? Then why worry about the Subversion repository at all?

    Of course, the dev team has provided you with some nice backup tools, for example, the normal Unix cp command can be used to make hot-backups of your repostories, a very cool trick. In addition, there is an svnadmin command that has a "dump" feature that allows you to store your repository in a text file, if you worry about Subversion trashing your data, keep regular dumps of your repository.

    Of course, all is not rosy. I would like to see a patchsets feature, and I really miss "cvs annotate" (but "svn blame" is scheduled to be added after the 1.0 release), and of course, the db has a tendency to lock up every once in a while (you can fix it easily with db_recover) but by and large, these are things I can live with.

    After using this system for a while, I've come to one conclusion: it works. And it works better than CVS. Forget the years of bad habits you learned on CVS, once you start using Subversion, you will start to think about SCM systems in a whole new way. Try it out.

  21. Seems like too much baggage by SilentTristero · · Score: 2, Interesting

    We use CVS here, and like everyone else I'm fed up with the lack of rename support and branching. But looking at the install requirements of Subversion is very intimidating! It requires:
    - Berkeley DB, a particular version (this makes sense)
    - Apache 2.x
    - WebDAV
    - Neon
    and a bunch of other stuff, IIRC. (Their site is /.ed, so I can't check, sorry)
    All we need at my company is a server to run on one Linux machine and clients for all the others (MacOSX/WinXP/Linux/IRIX), all within our firewall.

    Doesn't all the above stuff, especially the Apache/WebDAV/Neon stuff, seem like overkill just to implement a network protocol for a version control system? Setting up a CVS server is certainly not this complicated, and it seems like with a little more effort on the developers' part, much end-user time and pain could be saved. Does Apache/WebDAV/Neon really buy enough so it's worth the install&admin overhead?

    I'm not trying to rag on the Subversion developers; it looks like a really cool system, once you get it up & running. It also looks like they've really done a great job of meeting their goals. I'm definitely looking forward to checking it out -- as soon as I have enough time.

    1. Re:Seems like too much baggage by be-fan · · Score: 2

      Actually, the install's not that bad. You download and compile berkeley db 4.0.14. Get apache from CVS and compile that. Download the subversion tarball, and compile that. Use that version to checkout a new version from the repository, wget neon and untar it, and compile it. Then, just edit the apache config file. The nice thing about it is that while it is long, the install document is *extremely* precise. It basically tells you exactly what commands to type in. Editing the apache config, file, for example, had the potential to be disastrous for someone like me who had never set up apache before. Yet, I just copied what it said in the config file, and it worked! The configure script is also very good. It makes sure to properly check all the dependencies, and installing a missing one is a matter of reading the very helpful error message and typing in [urpmi/emerge/apt-get install] "offending-library."

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:Seems like too much baggage by be-fan · · Score: 3, Insightful

      Well the nice thing about it is that it uses tools that already exist, so they get client/server essentially for free. WebDAV, for example, is an existing protocol for document versioning over networks. Makes it a perfect fit for this. Also, because it uses Apache, it can take advantage of the proven security and stability of the server. What would be bad is if Subversion rolled its own server and protocol.

      --
      A deep unwavering belief is a sure sign you're missing something...
    3. Re:Seems like too much baggage by Russ+Steffen · · Score: 2, Insightful

      You are overstating the requirements a bit. WebDAV is part of Apache 2, and Apache 2 is only required for remote access to the repository. The only real dependancies are Neon, BerkelyDB 4, which, at least for linux, will likely be included in the next generationj of distributions as Berkeley DB 3 and 2 are now. A neon is justa small shared library, not that big of a deal.

      Look at it this way, by the time Subversion is released the packages it depends on will be standard parts of most Linux distributions and will be staples in the *BSD ports system if they aren't already. Subversion will just snap right in.

      And I have to disagree about administrative overhead. By integrating with Apache, it's one less network service to configure, plus you get to take advantage of Apache's authentication modules, and you get web repository access with no extra setup.

    4. Re:Seems like too much baggage by Garrett+Rooney · · Score: 2, Informative

      Listing 'WebDAV' as a separate requirement makes very little sense.

      'WebDAV' is a protocol. 'Neon' is a client library we (Subversion) use to speak that protocol. 'Apache' is a server that provides an implementation of the protocol that we use in our server.

      So yes, we require Neon for building the client, and Berkeley DB if you want to access a repository directly (either for a local repository or if you're building a server), and Apache if you want to run a server. These requirements don't seem to crazy to me, and if you don't want to mess with them yourself, download a package. There are RPM's and a FreeBSD port (I think both still need to be updated for alpha, but I'll be doing that for the FreeBSD port tonight, and the RPM's are always updated pretty quick).

      -garrett

    5. Re:Seems like too much baggage by SilentTristero · · Score: 2, Informative

      Several folks pointed out that WebDAV is a protocol that comes with Apache. Sorry, my mistake -- I didn't read the docs carefully enough. Well, I'll put my money where my mouth is: I'm trying it right now. It's taken two hours so far.

      APR was dead simple. (No RPM available, but not needed.)

      Autoconf: I had a version of autoconf in /usr/bin, and the version subversion needs autoconfig'ed into /usr/local (of course). I fiddled with that, OK. (RPM available.)

      libtool 1.4: no problem. (RPM available.)

      I downloaded neon, and subversion built it automatically. (RPM available, but I didn't use it.)

      Berkeley DB was pretty simple, except that the whole subdir of docs/ that explains the build process was missing in my download -- I found the instructions on the web. This also created errors when doing the 'make install', had to use make -k to work around them. (No RPM for this version available.)

      However, when I went to configure subversion, it didn't recognize my Berkeley DB install (in the default place, /usr/local/BerkeleyDB.4.0), so I just copied it into the subversion build tree and it built it OK.

      As for apache, the first thing is subversion requires 2.0.40, but the latest I can find is 2.0.39. OK, so I figured out that means I need the latest CVS version. Also, I already have an older 1.3.xx version running because RT requires it, so now I have two versions running simultaneously! A bit of an admin hassle, but again, not a showstopper. (No RPM available for this version.)

      (I also installed python 2.0, which required a bunch of other stuff, but I gather that was optional.)

      I guess, from the comments I've seen, that I'm the only one who thinks it's weird to require people to install a web server just to do source control (with more than one machine). HOWEVER: now that I've started to try it out, I have to say it's really a pretty cool idea. It might even be useful to my company!

      I expect all this will get much simpler, but for now it's not for the faint of heart. Still, from what I can tell I think subversion will be the best post-CVS CVS!

    6. Re:Seems like too much baggage by slipsuss · · Score: 2

      Keep in mind: you only need to build Apache 2.0 if you want to create a Subversion *server*, i.e. network your repository.

      But you can just as easily build a Subversion client that has BerkeleyDB linked into it; you'd still be able to create and access a repository on local disk.

      In other words, it's relatively simple to build and use Subversion for "personal" use -- say, on a box where you don't have installation privs. Just use it in your home directory.

    7. Re:Seems like too much baggage by SurfsUp · · Score: 2

      But looking at the install requirements of Subversion is very intimidating!

      I did:

      sudo apt-get install subversion

      Voila! Installed, configured. It's just a little older than today's alpha (.13) but I don't mind. It will automatically update to the latest version in a few days.

      --
      Life's a bitch but somebody's gotta do it.
  22. I've been using Subversion for three months... by Ludwig668 · · Score: 4, Interesting
    ... and have been really happy with it. Setting it up is a thesis project (the most common problem with software that's free) but once that was done, it works beautifully.

    SCC works well for several purposes:
    • Backup--I save everything in a personal 'svndocs' directory; including stuff like quicken databases, word documents, all that stuff. Just 'svn commit' (or in my previous life, 'cvs commit') and you have your backup stored on another computer. I had a laptop die at a customer's site, and it took downloading the client and 20 minutes to resume development on another computer. My brownie point score soared.
    • Share files with customers which are far away. SCC acts like a low-bandwidth file server. There are suddenly no hassles putting together installers and such; so the rate at which you can deploy updates greatly increases. CVS really sucks when it comes to directory versioning, that's why I switched to SVN. I can now configure the whole deployment tree on my side, and don't have to start e-mails with 'well, because CVS can't do this, you need to delete the whole project and check out over again.' Monkeying around with directories is much more important, considering the way that ant relies on java files being in directories which correspond to their package names.
  23. Re:MOD PARENT DOWN: OVERRATED by Peyna · · Score: 2

    Actually, I usually forget I post at 2. I wish there was an option in the settings to always post at 1, but there isn't, so I have to remember to check "No Score +1 Bonus" whenever I want to post lower. I would rather it be the other way. Always post at 1, and have to manually decide to post higher. I usually type, then tab,tab,tab,enter real quick.

    --
    What?
  24. Re:Questions about scons by diewarzau · · Score: 2, Informative

    As a developer of SCons, I'd like to address the "annoyances" above:

    "Unless you don't know Python. I never figured make syntax to be very difficult."

    Neither is Python, and Python is much more powerful. I've seen makefiles for complex build processes, and they are nigh unreadable. Even if you don't know Python already, we considered the choice of a well-established, actively developed, powerful scripting language to be superior to the invention of Yet Another Mini Language.

    "I didn't realize this was an improvement over make, which is pretty language-agnostic. What about other languages? I usually assume listing specific elements means unlisted elements are NOT supported."

    You know what they say about assuming... I'll stipulate that the exact meaning of this statement is unclear at first glance. However, consider one of SCons's other features...automated dependency generation. In order to do that, SCons must have a dependency generator for that particular language (to parse #include's, etc.) Users can add their own dependency generators as well. SCons *will* support any language just like make, as long as you can put up with specifying dependencies explicitly for "unsupported" languages, just like make.

    SCons also makes it much easier than make to set up builds, since it already has some built-in knowledge of the way certain tools work. All of this is of course user-extensible, but we provide built-in support for some common tools.

    "That -j option look like they borrowed it from make"

    Okay, yes, we did borrow that from make.

    "Not sure exactly what this means, but make understands RCS and SCCS, IIRC. Been a while since I used the feature"

    SCons does not integrate with a specific source control system, but it does allow you to specify multiple directories (repositories) that will be searched for files before they are built or taken from the host machine. This allows building from a server, or even multiple servers. I think this is akin to make's "VPATH" support, but AFAIK it is more flexible.

    Come and see SCons and judge for yourself. I find it alredy vastly superior to make for large-scale, highly variant projects (or any project!) Of course, I am biased, since I wrote a large part of it, but I did so because I found existing tools insufficient.

    www.scons.org

  25. Re:ssl by ftobin · · Score: 2

    Ugh, how awful. One of the things I love about CVS is that it can run over ssh.

  26. Re:ssl by be-fan · · Score: 2

    Exactly why do you care what protocol the server uses? If HTTP is good enough for credit card numbers, it should be good enough for a source control system.

    --
    A deep unwavering belief is a sure sign you're missing something...
  27. Re:Emacs support by slipsuss · · Score: 3, Informative

    We've already got the beginnings of VC-mode support. The .el file is in the subversion source tree.

    Unfortunately, the VC API doesn't exactly match up with subversion concepts. So people have been batting around ideas to revamp the API for pcl-cvs, or maybe inventing a new API.

  28. Re:ssl by ftobin · · Score: 2

    I care becuase ssh has agent forwarding, public-key authentication, port tunnelling, and much more. All of this I care about, and use in conjunction with CVS and other things.

    The entire user-agent system for HTTP(S) is incredibly crappy compared to what ssh provides.

  29. oh no! by r00tarded · · Score: 3, Funny

    from the bang-on-it-if-that's-your-thing dept.
    How did you know what I was doing? Did someone stick an X10 in my bedroom?

  30. How about migration tools from CVS? by iabervon · · Score: 2

    It would be very useful if they had tools for making a subversion repository from a CVS repository, keeping all the history, because people who are now using CVS won't want to lose their historical info. Since the features seem to be a superset of CVS's features, the only problem would be that the pre-subversion history would look odd where people did things to work around missing features.

    1. Re:How about migration tools from CVS? by slipsuss · · Score: 5, Informative

      We've got python bindings for parsing RCS files, and bindings to subversion libraries (via SWIG). As a result, we now have a good start on a 'cvs2svn.py' repository-converter script.

      The script examines the cvs repository, deduces changesets, and commits them to an svn repository. It works right now.

      However, it doesn't yet convert cvs branches and tags. We're working on it.

  31. Re:ssl by GoRK · · Score: 2

    So tunnel subversion over ssh. Do your key auth and port 80 redirection with ssh, then use subversion just like the server was running on your local machine.

  32. Re:MOD PARENT DOWN: OVERRATED by Peyna · · Score: 2

    It must be new, I checked quite awhile ago and it wasn't there.

    --
    What?
  33. Re:testing subversion/cvs... by my_furry_butt · · Score: 2, Informative

    Something that might give you more confidence is that as subversion is self-hosting, much of what you would test on "real code" is being done every day by the subversion team, and has been for months. Branching, merging, rollbacks, etc would have to be pretty rock solid by now, otherwise the SVN team wouldn't be able to self-host effectively.

    But extreme pessimism for the first couple of "checkout-edit-compile-test-release-commit" cycles wouldn't hurt either - just don't expect to be shocked at issues.

    I think this alpha stage is more about getting a wider audience using SVN, and give feedback on usability, rather than stability and correctness. Things like how noisy is it, how informative, can a oft-repeated three-step process be reduced to two, or one (or none!) with a little thought for SVN's activites. Stuff that comes up when code is released into the wild.

    --
    It's not the depth of the water thats the problem. It's the current that kills you.
  34. I think.. by Inoshiro · · Score: 2

    If you're whacking it to Slashdot, you have larger problems than people watching you flog the dolphin ;)

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
  35. Re:testing subversion/cvs... by slamb · · Score: 2
    Of course, the dev team has provided you with some nice backup tools, for example, the normal Unix cp command can be used to make hot-backups of your repostories, a very cool trick.

    Please check out hot-backup.py. It doesn't do much more than cp, but it doesn't just do cp repository backupdir. It copies the logfiles last. That's important.