Collecting the Internet So You Don't Have To

We work on the Internet. As such, we are constantly consuming information. Believe me, there is a lot of it out there. Sometimes we even forget things unless we write them down. Our blog covers everything from web standards to the muppets, php to comic books, music and everything else that we find interesting. Leave us a note when you drop by.

Setting up a Springloops Git Repository in Coda 2

Technology
Lauren Zacharias
Lauren Zacharias Programmer
Visual Lizard
work
1 (204) 957-5520 ext:156
toll-free
1 (888) 237-9559
url
http://www.visuallizard.com
Lauren Zacharias Database Detective

We've been poking around using Git as source control for a few projects and recently ran into a bit of head-scratching while trying to configure a Coda project with a Springloops Git repository. 

We regularly set up Coda 2 with our Springloops SVN repositories, and have even set up GitHub and BitBucket repos in Coda in the past as well. 

The Problem

The problem we ran into was that Springloops usernames are email addresses, and Coda only asks for your Git URL and password. This means your username needs to be included in the URL.

With a GitHub account, this isn't an issue - the URL will look something like https://github.com/yourusername/reponame.git

The Solution

After some trial and error we determined that the trick with a username which is an email address is to URL encode it before inserting it into the repo URL.

Take note that with the Springloops URL the order is hostname, colon, URL encoded email address, rest of repo URL. For example:

Username: youremail@youremail.com
Springloops Git URL: https://slsapp.com/git/yourspingloopsaccount/reponame.git

Coda URL: https://slsapp.com:youremail%40youremail.com/git/yourspingloopsaccount/reponame.git

Happy Coding!