Added because of not always being able to use certain protocols (mainly git) from corporate intranet. And dirtying dependencies by editing their configuration files is well, dirty.
To force ssh, http or https use force_protocol=Protocol.
rebar get-deps force_protocol=https
Force protocol when using get-deps. Usage: rebar get-deps protocol=ht…
Support for bzr, mercurial and subversion
That should cover it..
This looks fine, but can you add some eunits to test the regexes are behaving?
Also, why is this better than simply configuring git like this:
insteadOf = git://github.com/
insteadOf = https://github.com/
insteadOf = http://github.com/
If, for example, I wanted to default to the ssh protocol on github?
It's not really; I did'nt know of the insteadOf option when writiing this.
So; Im closing this PR.
Thanks for replying :)