fabpot/Sismo — Issue #49: Problem with Sismo\Project::setRepository()
Author: matthiasnoback
Created: 2012-02-13 19:03:19+00:00
State: open

I use Assembla and it it's repositories can be cloned using URL's like "git@git.assembla.com:projectname.git". The method setRepository() in Sismo\Project interprets the part before the "@" as the branch name, and the part after the "@" as the repository URL. Since "git" is not a branch and cloning without "git@" doesn't work, I'm stuck here. I had to modify the Sismo source. It seems to me, parsing the URL for determining the branch is really superfluous, since there is another method for selecting a specific branch, namely setBranch(). Maybe these lines should be removed.