From the category archives:

Subversion

Piloting Git in a Subversion Environment

by Ron Bieber on Tuesday, March 3, 2009

We’re looking to implement a pilot of Git to familiarize the team with the tool and introduce them to the more flexible workflow that Git supports over SVN. Because we support concurrent lines of development, we would like to forego the usual way of using git with SVN (each developer clones a branch of the repository and commits there) and try to implement a pure git experience using an intermediate “project repository”. The idea behind this repository is as follows:

  • We clone the main subversion repository using git svn
  • An empty project repository is created on the server and the Subversion clone is pushed to this repository (its an additional remote).
  • The development team clones the project repository and proceeds to do development in their own clones. Periodic pushes to and pulls from the project repository keeps each developers master branch up to date, from which they can rebase their local branches.
  • Periodically (probably daily), the originating SVN clone is ‘svn rebased’ and the new changes pushed to the project repository. These changes will be pulled by the developers on the next pull from the project repository.

In picture form, the workflow looks something like this:

Envisioned Pilot Process

Nevermind – StackOverflow ruined it for me.

{ 0 comments }

Subversion and SSL Troubles

by Ron Bieber on Friday, June 29, 2007

I decided to upgrade my home Subversion repository to version 1.4.3 as soon as it was released. Since then, my ViewVC application has ceased to work, getting a Python exception every time I try to execute it. Creating a small Python program that just imports the library (from svn import fs) gave me the following error:

ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol: SSL_load_error_strings

Thinking it was an SSL library problem, I upgraded SSL – a few times. I kept mucking with the options, rebuilding Subversion, only to get everything installed and get that same error:

ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol: SSL_load_error_strings

Over, and over and over again I repeated the process and got the same result. The absolute definition of insanity. This has been going on for a couple of months and I’ve been trying to address it in my spare time, as I’ve been pretty busy lately during the week and gone to the Relaxation Unit the last few weekends.

I googled my ass off to find the error, but to no avail. Finally today I ran across this thread that explained the problem. After going through my distribution directory for 1.4.4 (which I upgraded at the beginning of the month only to receive the same error) I realized that I hadn’t pulled down the Subversion dependencies tarball and rebuilt neon. So, basically I was using an old version of the neon libraries.

I finally settled on the configure statement listed here, after downloading and untarring the deps file:

./configure --with-ssl --with-apxs=/usr/local/apache2/bin/apxs \
            --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 \
            --enable-shared --with-libs=/usr/local/ssl

This uses the already installed apr libraries that I build with my Apache server, and ensures that the neon shared libraries are built. A quick configure/make/make install/make swig-py/make install-swig-py sequence later and my Python libraries were working fine.

I made it a point this time to document this on the Labs internal wiki, but thought I should throw this out here in public so that others can find it. Hope it helps save the weeks of frustration that I have been suffering for someone out there.

Happy building …

{ 2 comments }

Since getting a 80G iPod about a month ago two weeks ago, I’ve been really getting into watching the Google Tech Talks on Google Video. I recently watched How Open Source Projects Survive Poisonous People (And You Can Too), a lecture given by Brian Fitzpatrick and Ben Collins-Sussman from the Subversion team (now both Google employees) that summarizes a lot of information in Karl Fogels book Producing Open Source Software: How to Run a Successful Free Software Project.

If you haven’t had time to pick up and read Karls book, this video would be a good primer to some of the concepts in it and could very well motivate you to pick it up. Its an excellent book and one that I thoroughly enjoyed reading.

{ 0 comments }

Practical Subversion – Second Edition

by Ron Bieber December 17, 2006 Books

I received a free copy of Practical Subversion, Second Edition by Daniel Berlin and Garrett Rooney on Friday from their publishers, Apress. I had reviewed the first edition before it was released and had found it to be an excellent companion to “Version Control with Subversion” (C. Michael Pilato, Ben Collins-Sussman, Brian W. Fitzpatrick), mostly [...]

0 comments Read the full article →

Building Subversion on The Mac and using Ecto for Blogging

by Ron Bieber October 6, 2006 Macintosh

I finally upgraded my Subversion installation on my MacIntosh to the 1.4 version. I was waiting for the “official” packages to come out so that I could just install it, but in looking at the different places recommended by the downloads page, these distributions haven’t been updated since early 1.3 releases. I’ve had a goal [...]

1 comment Read the full article →

Upgrading Subversion to 1.4

by Ron Bieber October 1, 2006 Software Development

This weekend I finally bit the bullet and upgraded our production Subversion server to 1.4. The upgrade was painless, after the usual running of autogen.sh on the Neon libraries that for some reason are necessary when building on the Solaris 9 environment. I also had some weird test failures that wound up being caused by [...]

Read the full article →

Subversion 1.4 Released

by Ron Bieber September 13, 2006 Subversion

The Subversion team has released version 1.4 of its popular version control software. You can check out the release notes over at the official site get the the details, but here’s a summary of the changes, pulled directly from the aforementioned release notes: svnsync, a new repository mirroring tool Huge working-copy performance improvements Support for [...]

2 comments Read the full article →

SvnX : A Mac OSX Subversion Client

by Ron Bieber July 29, 2006 Remaindered

I haven’t looked at it yet, but definitely will be. SvnX is a Mac OSX client for the Subversion Version Control System.

2 comments Read the full article →

Audio Comment on Podshow DevCast #4

by Ron Bieber May 17, 2006 Remaindered

Just trying to do my part promoting Subversion and trying to help out the Podshow crew, I recorded an audio comment about Adam mentioning that Podshow was going to be using CVS instead of Subversion and it actually got played on Devcast #4. Maybe next time I’ll remember to mention my damn URL!

Read the full article →

Subversion 1.3.1 released

by Ron Bieber April 5, 2006 Remaindered

The Subversion team has announced the release of Subversion 1.3.1. Files can be found in their download area.

Read the full article →

Subversion Support Now LIVE on SourceForge

by Ron Bieber February 25, 2006 Subversion

After quite a long time of announcements and speculation as to when it would happen, Sourceforge has finally gone live with their support of Subversion as a source control option for their service. Following is a clip from the SourceForge mailing list: The SourceForge.net team is pleased to announce the General Availability of Subversion service [...]

Read the full article →

Dreamhost Now Providing One-Click Subversion Support

by Ron Bieber February 3, 2006 Subversion

My web hosting provider DreamHost has added Subversion to its list of software available through its one click installations. The service provides Subversion running under Apache. If your looking for a Subversion provider, DreamHost might be it for you. Their prices are pretty reasonable. I’ve been with them since 2001 and have no complaints whatsoever. [...]

Read the full article →

Subversion Version Control – Using the Subversion Version Control System in Development Projects

by Ron Bieber January 27, 2006 Books

William Nagel has created a web site for his book Subversion Version Control – Using the Subversion Version Control System in Development Projects. The site will contain errata and other things related to the book and also has a free PDF version of the book, which was written and published under the Open Publication License.

Read the full article →

Subversion 1.3.0 released.

by Ron Bieber January 3, 2006 Remaindered

The Subversion team announced yesterday the official release of Subversion 1.3.0. This release includes around 30 bug fixes along with new functionality such path-based authorization for svnserve, –xml support for additional commands and performance improvements on the svn status and blame commands. See all the detail in the release notes.

Read the full article →

Sourceforge (Finally) Putting Together Beta Service Offering for Subversion?

by Ron Bieber December 22, 2005 Subversion

From the SourceForge Recent Enhancements section: As of 2005-11, SourceForge.net staff are actively working to prepare a beta service offering related to the Subversion SCM. This offering will be provided in addition to our existing CVS service; there are no plans to discontinue CVS service. Pre-requisite analysis work has been initiated and hardware has been [...]

Read the full article →

JavaSVN 1.0.1 Release

by Ron Bieber December 15, 2005 Remaindered

I posted about the initial release of this software a while back, but I’m really getting the urge to see what it would take to use JavaSVN, a 100% Pure Java implementation of Subversion as the beginnings of a content management solution. Version 1.0.1 was announced yesterday afternoon.

Read the full article →

Subversion 1.3.0 Release Candidate 4 released.

by Ron Bieber November 30, 2005 Remaindered

Subversion 1.3.0 Release Candidate 4 released. According to the announcement, this is the first public release candidate. It looks like there are tons of changes for this one, including speed improvements, more support for xml rendering in commands (the –xml switch) and a whole lot more.

Read the full article →

Python Developers Switch To Subversion

by Ron Bieber November 1, 2005 Remaindered

PEP-347 on Python.org outlines a migration of the Python source base from CVS to Subversion. According to an email on the Subversion user list, the migration has been completed and the public repository is online.

Read the full article →

Backing up Subversion Automatically

by Ron Bieber September 23, 2005 Remaindered

Mark W. Shead has an article on Backing Up Subversion Automatically. I’ve been trying to make time to write a script like this, now Mark has provided one. Thanks Mark!

Read the full article →

Core Subversion Developer Moves To Google

by Ron Bieber September 17, 2005 Subversion

Ben Collins-Sussman, a core Subversion team member, announced yesterday that he will be leaving CollabNet and moving on to new opportunities, apparently at Google. Ben was one of the first members of the Subversion team, along with Karl Fogel and Jim Blandy. I’d like to wish Ben good luck in his new opportunity and give [...]

2 comments Read the full article →