Closed Omegaice closed 10 years ago
@Omegaice Thanks, this created another problem, private repositories ("without github") stopped working, we have to think of another solution.
Exemple:
git@bitbucket.org:koshoo/shashtag-web.git
or
https://felipefdl@bitbucket.org/koshoo/shashtag-web.git
Do you want to do this, or can I do?
Hmm, I don't have any private bitbucket accounts setup with Wercker so it might be easier for you.
It seems that bitbucket also has a similar structure for ssh and http cloning which makes things easier but I am not sure how to handle cases such as people hosting their own repository and checking it out differently etc.
I believe that following the same pattern from github and bitbucket, will cover the majority of cases.
I'm correcting now, thank you for your cooperation!
=D
I noticed that when I installed this package it would show Wercker:... and then disappear. I edited the code and found that wercker's api returned a ssh repository and my local repository was cloned via https. This meant that the repositories didn't match and thus the status was never displayed.
I updated the code to parse out the username and repository from whatever the local repository was cloned as and then test both against wercker's api response to see if it matches.