Skip to contentSkip to conversation

OpenVPN source repository migrated to svn (subversion)

Openvpn-devel James Yonan 3 participants 6 messages Sep 26, 2005 – Sep 27, 2005

lore
Share & tools
lore
#0 lore raw

I've migrated the OpenVPN source repository from CVS to subversion.

Read-only access is available at svn://openvpn.net/openvpn

Examples:

Check out the stable branch:
svn checkout svn://openvpn.net/openvpn/trunk openvpn

Check out the BETA21 branch (has the new topology subnet and non-admin TAP-Win32 features):

checkout svn://openvpn.net/openvpn/branches/BETA21 openvpn

Check out the BETA25 branch (very experimental):

checkout svn://openvpn.net/openvpn/branches/BETA25 openvpn

I used the cvs2svn tool to convert the repository, so all the previous cvs metadata such as branch tags are still there.

James

#1 lore raw
Quoted 8 lines · James Yonan

I've migrated the OpenVPN source repository from CVS to subversion.

Read-only access is available at svn://openvpn.net/openvpn

Examples:

Check out the stable branch:
svn checkout svn://openvpn.net/openvpn/trunk openvpn

Hum, it has trunk/CVSROOT
trunk/openvpn

Probably the CVSROOT is not too useful to other people, so to checkout:

svn checkout svn://openvpn.net/openvpn/trunk/openvpn openvpn

                                            --------

Should give more of what is expected to start work.

Best viewed with a nonproportional font :)

Signature · 1 line
Matthias Andree
#2 lore raw
In reply to James Yonan

Feel free to ignore the below rant. Revision control is (or at least was for quite some time) one of my pet topics, and I occasionally feel compelled to bore people at parties (or on mailing lists) with a discussion of the subject. I certainly don't mean to compell anyone to switch RCSs a *second* time within a short period, though if a public request for comments would have been made, I might have argued hard for something different.

Quoted 1 line · James Yonan

I used the cvs2svn tool to convert the repository, so all the previous cvs metadata such as branch tags are still there.

Heh.

As former maintainer of cscvs (a tool which was most often used to import CVS history into GNU Arch), I'm more than a bit interested in just how effective cvs2svn's changeset-generation turns out to be, particularly in corner-cases (temporally overlapping commits or single commits split by a conflict partway through; commits made from systems with incorrect clocks [CVS uses the client's time, rather than the server's]; commits with comments quoting "cvs log" output (rlog doesn't quote user-provided data, so this can make parsing extremely hairy -- though this isn't such an issue if one works off the ,v files, those aren't always available); files implicitly created by CVS on the trunk due to a new addition to a branch; or the many other corner cases exposed by branching which I no longer have a good recollection of.

I'm not particularly fond of svn -- I think it's not nearly ambitious enough[1] and have had DB corruption issues in the past -- but it's certainly a big step up from CVS, and history stored in SVN can be far less ambiguously retrieved.

[1] - Consider that competing next-generation revision control systems offer distributed operation (allowing 3rd parties to start their own branches hosted on their own servers, and allowing easy merging between these various branches[2]); that competing systems offer "cherry-picking", which allows detailed tracking of which specific changesets/patches have been applied on which branches and thus prevents spurious merge attempts; that competing systems, being changeset- rather than snapshot-based, can offer more intelligent merge algorithms... though most of them do have downsides: Arch, for instance, is difficult to learn and has poor win32 support, while Darcs is easy to learn and portable but has serious scalability issues, and several of the others are behind Arch or Darcs in terms of providing the above-mentioned design features and functionality -- though there are some very new systems (such as Git and Mercurial) which have impressive performance characteristics, despite (as before) not having all the functionality (or, in many cases, a design which allows straightforward implementation of all the functionality) of the best-designed distributed SCMs.

[2] - Distributed operation is IMHO a killer feature doing open source development: It means that 3rd parties working on their own patches have revision control tools assisting them both in building the patch and keeping it up-to-date with the maintainer's tools, and providing the same level of support (ie. history of specific changes that went into their patch/branch) that projects done by the maintainer receive. Having worked on a few OSS projects using distributed revision control systems, I find it quite hard to go back.

#3 lore raw
Quoted 51 lines · Charles Duffy

Feel free to ignore the below rant. Revision control is (or at least was for quite some time) one of my pet topics, and I occasionally feel compelled to bore people at parties (or on mailing lists) with a discussion of the subject. I certainly don't mean to compell anyone to switch RCSs a *second* time within a short period, though if a public request for comments would have been made, I might have argued hard for something different.

Quoted 2 lines · James Yonan

I used the cvs2svn tool to convert the repository, so all the previous cvs metadata such as branch tags are still there.

Heh.

As former maintainer of cscvs (a tool which was most often used to import CVS history into GNU Arch), I'm more than a bit interested in just how effective cvs2svn's changeset-generation turns out to be, particularly in corner-cases (temporally overlapping commits or single commits split by a conflict partway through; commits made from systems with incorrect clocks [CVS uses the client's time, rather than the server's]; commits with comments quoting "cvs log" output (rlog doesn't quote user-provided data, so this can make parsing extremely hairy -- though this isn't such an issue if one works off the ,v files, those aren't always available); files implicitly created by CVS on the trunk due to a new addition to a branch; or the many other corner cases exposed by branching which I no longer have a good recollection of.

I'm not particularly fond of svn -- I think it's not nearly ambitious enough[1] and have had DB corruption issues in the past -- but it's certainly a big step up from CVS, and history stored in SVN can be far less ambiguously retrieved.

[1] - Consider that competing next-generation revision control systems offer distributed operation (allowing 3rd parties to start their own branches hosted on their own servers, and allowing easy merging between these various branches[2]); that competing systems offer "cherry-picking", which allows detailed tracking of which specific changesets/patches have been applied on which branches and thus prevents spurious merge attempts; that competing systems, being changeset- rather than snapshot-based, can offer more intelligent merge algorithms... though most of them do have downsides: Arch, for instance, is difficult to learn and has poor win32 support, while Darcs is easy to learn and portable but has serious scalability issues, and several of the others are behind Arch or Darcs in terms of providing the above-mentioned design features and functionality -- though there are some very new systems (such as Git and Mercurial) which have impressive performance characteristics, despite (as before) not having all the functionality (or, in many cases, a design which allows straightforward implementation of all the functionality) of the best-designed distributed SCMs.

Quoted 8 lines

[2] - Distributed operation is IMHO a killer feature doing open source
development: It means that 3rd parties working on their own patches have revision control tools assisting them both in building the patch and keeping it up-to-date with the maintainer's tools, and providing the same level of support (ie. history of specific changes that went into their patch/branch) that projects done by the maintainer receive. Having worked on a few OSS projects using distributed revision control systems, I find it quite hard to go back.

Charles,

You make good points, and I completely agree with you that long-term, distributed SCMs are the way to go.

My main inclination in choosing SVN right now is that it's mature, well-documented, fast, and is a (mostly) drop-in replacement for CVS which we were using before. SVN does a good job of accomplishing what it tries to do, based on the collective experience of many years using CVS, and the way that that experience helped us to construct a well-fashioned understanding of just what an ideal CVS would like like (without jumping out of the CVS model into the distributed SCM realm). In many respects, SVN is simply the latest release of CVS.

The distributed SCMs on the other hand are trying to tackle a much more challenging problem. To a certain extent, even an agreed-upon, canonical articulation of the distributed SCMs feature space is elusive at this point. There's certainly a lot of great development occurring right now, but the tools are going to be a moving target for some time.

So yes -- I'd love to switch to a distributed SCM, and I'd switch in a heartbeat if there was an open source alternative, say, of the same caliber as BK. I'm sure that will happen in the next few years, but until then I don't feel that the OpenVPN project has scaled up in development activity so much that the choice of SCM is holding it back.

James

#4 lore raw
In reply to Charles Duffy
Quoted 4 lines · Charles Duffy

I'm not particularly fond of svn -- I think it's not nearly ambitious enough[1] and have had DB corruption issues in the past -- but it's certainly a big step up from CVS, and history stored in SVN can be far less ambiguously retrieved.

I have worked quite a bit with Berkeley DB (which SVN set off with as its database backend) in bogofilter, and while lots of things are to be said about BDB robustness and corruptions, the most important point of criticism is that one needs to take BDB by the hand and guide it, and it doesn't tolerate application bugs that cause BDB to be used improperly. If used properly, it's fast and solid - but then you've entered the realm of transactions, and they're as awful to hack as GTK+ or assembly language - it's all raw and low-level.

SVN has its shortcomings, and it's a huge beast, code-wise, but switching programmers from CVS to SVN is easy.

Quoted 10 lines

[1] [about competitors]
though most of them do have downsides: Arch, for instance, is difficult to learn and has poor win32 support, while Darcs is easy to learn and portable but has serious scalability issues, and several of the others are behind Arch or Darcs in terms of providing the above-mentioned design features and functionality -- though there are some very new systems (such as Git and Mercurial) which have impressive performance characteristics, despite (as before) not having all the functionality (or, in many cases, a design which allows straightforward implementation of all the functionality) of the best-designed distributed SCMs.

I think that SCM systems are interesting to watch and to see what comes out of it. After long years with everyone being happy between RCS and CVS, some still on SCCS, some trying BitKeeper for a change, a lot of projects have started, some have forked, and it's interesting to watch some of them taking a second attempt before the first one had even completely finished - SCMs are certainly a field where a lot of development will take place in the near future.

For a maintainer however, he needs to get a job done. Trying the SCM of the week will distract him from the real work, pull him into the depths of meta data export, and in the end the situation might be worse than it used to be even with CVS's serious shortcomings.

Quoted 8 lines

[2] - Distributed operation is IMHO a killer feature doing open source
development: It means that 3rd parties working on their own patches have revision control tools assisting them both in building the patch and keeping it up-to-date with the maintainer's tools, and providing the same level of support (ie. history of specific changes that went into their patch/branch) that projects done by the maintainer receive. Having worked on a few OSS projects using distributed revision control systems, I find it quite hard to go back.

While they all have their advantages, they, too, need proper handling, and you can also just import the upstream branch in your local SCM of the day, clone the code and hack away, and then merge back. It gets, of course, harder if you do a lot of work, but it's certainly OK for the "occasional" patch - and lots of work in the OSS communities is that someone sends a short patch, it's merged, and at that point, the local separate branch becomes obsolete -- it was a single merge point, perhaps two or three, and that's it.

I think if the SCM zoo has stabilized in two years, we hackers (I'm not speaking for the OpenVPN project now) will have some more tools that a maintainer can rely on, that are widespread and work well.

Those that caught my eye, and are open source, are listed in
<http://home.pages.de/~mandree/version-control-links.html> - chances are there's a new promising contestant out that I've missed in the past quarter or someone that used to be centralized has now gone distributed.

Signature · 1 line
Matthias Andree
#5 lore raw
Quoted 8 lines · Matthias Andree

I have worked quite a bit with Berkeley DB (which SVN set off with as its database backend) in bogofilter, and while lots of things are to be said about BDB robustness and corruptions, the most important point of criticism is that one needs to take BDB by the hand and guide it, and it doesn't tolerate application bugs that cause BDB to be used improperly. If used properly, it's fast and solid - but then you've entered the realm of transactions, and they're as awful to hack as GTK+ or assembly language - it's all raw and low-level.

True, but SVN supports different repository formats, and BDB is just one option (and rather deprecated at this point). I'm using an FSFS repository, which gets away from nearly all of the disadvantages of BDB.

James