About the author

Steven Harmansteven harman :: makes sweet software with computers!

For recent posts and more about me, scroll to the bottom.

Subscribe

  • Subscribe to my feed. via RSS
  • Subscribe via email via email

News

Badges

  • Subtext Project
  • Support Subtext

Subversion Support Comes to CodePlex… Sorta’

One of my biggest gripes with CodePlex has always been that it uses Team Foundation Server as its source code management technology. And if you have any questions about my stance on TFS as a SCM system, just consult Twitter.

But thanks to a lot of hard work by Ayende - and the other contributors - I, and anyone else who prefers a low-friction SCM, have a workaround: SvnBridge.

You’re selling me a bridge?

SvnBridge running locally SvnBridge is a tiny, lightweight application than runs on your local machine, acting as a proxy and translator between your local Subversion clients (TortoiseSVN, svn native, etc…) and a remote TFS server. A remote TFS server like say… CodePlex. Or your company, client, or customer’s TFS servers.

The key to using SvnBridge is all in the URL you use to get your code. As you can see in the above screen shot, the URL for the actual SvnBridge code base is http://localhost:8081/tfs03.codeplex.com/SvnBridge. Meaning you could check-out the code using an SVN client, like TortoiseSVN using that URL.

Similarly, you can get at the code for the ASP.NET MVC framework and Rob Conery's MVC Storefront application using the following URLs:

  • http://localhost:8081/tfs07.codeplex.com/aspnet/MVC
  • http://localhost:8081/tfs07.codeplex.com/mvcsamples

It works, but…

Sure, using SvnBridge in this manner works, but its a bit unnatural compared to how most folks are used to using Subversion. Wouldn’t it be nice if you could get to the SvnBridge, ASP.NET MVC, and MVC Storefront code using SVN with URLs you’re used to?

Oh… and wouldn’t it be the bee’s knees if you didn’t have to run the SvnBridge proxy on your local machine at all!

SvnBridge on the CodePlex servers?

The other night I was informed of a little known (at least to me), and possibly still secret, CodePlex feature – SvnBridge, Server Edition!

https://your-project-here.svn.codeplex.com/svn

Though I have no concrete proof of it, I would imagine this is a result running SvnBridge on a CodePlex server, plus lots of fancy DNS and routing magic. And while I don’t know for sure how the CodePlex team is pulling it off, I do know that it works.

Don’t believe me? Give it a go for yourself!

Using your favorite SVN client, pull down the code for SvnBridge, ASP.NET MVC, or MVC Storefront using the following URLs:

Of course, you can also access any other CodePlex project by substituting its project name in at the beginning of the URL.

Show me!

Pulling down ASP.NET MVC via SVNAnd now, for your visual enjoyment, and because some folks refuse to believe that which they can not see, I give you a screen shot of TortoiseSVN checking out the ASP.NET MVC code base… without going through a local SvnBridge proxy!

Hopefully we’ll get some details on the setup the CodePlex folks are using to get this all working so we can start using it in the wild.

kick it on DotNetKicks.com

Technorati Tags: , , ,

What others are saying.

# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar icyflash
Sep 09, 2008
that's great!
# Codeplex直接支持Subversion
Gravatar Icyflash
Sep 10, 2008
原文:SubversionSupportComestoCodePlex
# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar Rob Conery
Sep 10, 2008
LOL CLASSIC! I was just trying to remember WTF my SVN server URL was and I couldn't figure it out! And here it is - thanks to you! Awesome possum - was really getting cranky with SVNBridge... yay HARMAN!
# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar leppie
Sep 10, 2008
Sweet! And Thanks :)
# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar Justin Kohnen
Sep 10, 2008
Dude that's great news, blurring the line of source controls. I'm assuming because SVN works git would work as well?
# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar Steven Harman
Sep 10, 2008
@Justin,
According the latest survey of the SCM neighborhood... yeah, you should be able to use Git w/CodePlex, via a combination of SvnBridge + git-svn.
# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar Emad Ibrahim
Sep 10, 2008
About freaking time... I don't have to move to google code anymore... well, i still might.

Hmmm.. I just tried it to get to mvccontrib and it didn't work but worked for yonkly...

URLs used:
http://mvccontrib.svn.codeplex.com/svn
and
https://yonkly.svn.codeplex.com/svn

Any idea why???
# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar Steven Harman
Sep 10, 2008
@Emad,
MVCContrib, along with several other projects, like SubSonic, actually host their source trees over at GoogleCode.

So you can find the MVCContrib code at http://code.google.com/p/mvccontrib/

And to be honest, if you're going to start a new OSS project and Subversion is the SCM you want to use, I wouldn't recommend using CodePlex + SvnBridge b/c I'm not sure how well that will support some of the advanced or new features of Subversion. For example, I still don't know if SvnBridge can support Merge Tracking (introduced in SVN 1.5) because I'm not sure that TFS has a related concept.
# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar Ayende Rahien
Sep 10, 2008
Emad,
It is https only, this will work:
https://mvccontrib.svn.codeplex.com/svn

@Steven,
Basically, SvnBridge emulates SVN server at version 1.4.2
So anything that a 1.5 client can do against a 1.4.2 version server should be supported.
# re: Subversion Support Comes to CodePlex… Sorta’
Gravatar Scott Parker
Sep 10, 2008
Oh man, this is too great. Thanks for this tidbit of information.

It's a double-win since I don't have to remember that one project is codeplex07 and another is codeplex03...

Thanks!
# Link Listing - September 11, 2008
Gravatar Christopher Steen
Sep 12, 2008
MSBuild MSBuild: Exec Task [Via: Sayed Ibrahim Hashimi ] WPF Synchronizing the width of elements in...
# 
Gravatar Christopher Steen
Sep 12, 2008
Link Listing - September 11, 2008
# CodePlex launches support for TortoiseSVN
Gravatar CodePlex Weblog
Sep 15, 2008
CodePlex is now offering server support for SvnBridge, the tool that enables TortoiseSVN to talk to Team
# Subversion on CodePlex
Gravatar Simpable
Oct 14, 2008
<p>My number reason for not using <a href="http://codeplex.com">CodePlex</a> regularly is the choice of source control. I had heard of the <a href="www.codeplex.com/.../a> a while ago, but had not had a chance to check out. </p>
Comments have been closed on this topic.