How To: Use the SVNBridge to get TortoiseSVN working with CodePlex
It's so crazy it just might work. I've been talking on and off with the CodePlex team for at least a year. Many of them I consider friends, so I've always been very frank with them, saying things like:
"I'll never use any Open Source Hosting service without support for Subversion."
Of course, they are using Team Foundation Server, and there's a number of connectivity options if you're cool with them, including:
- The free CodePlexClient (CPC) that looks a LOT like command-line svn.exe.
- Teamprise Explorer, also free, from Teamprise.
- ...and now, the SvnBridge.
Still in very active development, this tool is a proxy between a Subversion client and Team Foundation Server. You can use it against any TFS system it seems.
The first version is local proxy - it runs in your tray - but plans are for a server-side version that will require no client installation.
Unfortunately, as of this writing, there's no binary release (or instructions) but here's how you get it working.
- Go to the Recent Check-Ins section of the SvnBridge Project on CodePlex and click the Download icon next to the LATEST checkin. Note that it's really changing a lot, so it might be broken. If so, try another.
- Unzip the ZIP file the system will give you, and either open the SvnBridge.sln or go to the command line and run "MSBuild SvnBridge.sln".
- Run SvnBridge.exe and note the blue Q-bert-looking icon that appears in your tray. Right-click and choose Settings.
Go to your CodePlex project in your browser and note the TFS Server URL of your project. It seems to usually be https://tfs03.codeplex.com. Enter that URL in the settings. The bridge port will usually be 8081, but you can change that. Note that this means http://localhost:8081 will be forwarded to https://tfs03.codeplex.com (443). The SvnBridge is just that, a port forwarder/translator/bridge. - Using your SVN tool of choice - mine is TortoiseSVN - browse to a local repository, using the format http://localhost:8081/<projectname> like http://localhost:8081/Subkismet. If everything works, you'll be checking code out and looking at logs just as if it's a Subversion repository. Madness. (I didn't expect it to work...it does.)
- Here's a constantly updated list of what works and what doesn't in the SvnBridge.
I think that the CodePlex site is probably the most actively developed Open Source Hosting site out there. (I mean the site itself, not the activity within the projects hosted there). They are always adding new stuff and have some nice things like the Advanced View of the Issue Tracker and RSS feeds for literally everything.
I have to give them credit for putting this bridge together, and for Open Sourcing the bridge itself. I'm reading the code now, and it's pretty cool stuff. Hacky, in places, but that's to be expected given the problem domain, but there's some interesting things going on that make the code worth at least taking a look at. They've got a mini-Mocking system called MyMocks (curious) and a TCPTracing "Tivo" like program that appears to code generate tests. Also, if you're interested in WebDAV in C#, there's a playground of good ideas.
Either way, there's interesting stuff going on over there. I look forward to their 1.0 release.
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.



About Newsletter