-
Notifications
You must be signed in to change notification settings - Fork 166
Management of Bitbucket repositories #46
Comments
Using
I guess its not too well documented (not in the readme) It can be seen in the code. |
The problem is that Bitbucket composes its URLs in a manner that current helper method That config value is useful, and in fact I am already using it for my patched method: evaluating the host, and then composing the URL the way each host waits for. |
Ok, I see what's happening. The problem is that I am deploying private respositories, and for them, with the current method, I have to pass the param But for non read/write repositories, Bitbucket does not allow the URL that |
I've only used this for r/w. Sounds like there might be a pull request in here. |
@inigomedina I have a pull request here that I think will resolve your issue: #49 I added a protocol pass through to the git_freshen_or_clone method so anything you put there will be passed through (http or https for example in your case). Can you please let me know if this works for you and I'll merge it into master? |
Fix for issue #46 - allow git protocol passthrough on git
This has been merged, please let me know if this resolves your issue, the last optional parameter to git_freshen_or_clone is the protocol you would like to use. |
I've been continued developing some small features I really need for using Deployinator as our main deployment-tool. The first one has been regarding to Bitbucket, our hosting for git projects.
Deployinator's helpers for git actions use GitHub as the default service. That means some variables and methods, and mainly some assumptions regarding to the url composition.
I've introduced my "case" within the
git_url
method, evaluating thegithub_host
and composing specific url when this is set to bitbucket. Of course, there are ways for doing that cleaner and easier to add more services in the future. Do you think it would be interesting a pull-request for starting that?The text was updated successfully, but these errors were encountered: