25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Use https instead of git in rebar file for dependencies url (#589)

This commit is contained in:
Badlop 2015-06-04 13:12:49 +02:00
parent fe10c6f6f2
commit c04053cfae

View File

@ -54,15 +54,15 @@ SrcDirs = lists:foldl(
Acc Acc
end, [], Cfg), end, [], Cfg),
Deps = [{p1_cache_tab, ".*", {git, "git://github.com/processone/cache_tab"}}, Deps = [{p1_cache_tab, ".*", {git, "https://github.com/processone/cache_tab"}},
{p1_tls, ".*", {git, "git://github.com/processone/tls"}}, {p1_tls, ".*", {git, "https://github.com/processone/tls"}},
{p1_stringprep, ".*", {git, "git://github.com/processone/stringprep"}}, {p1_stringprep, ".*", {git, "https://github.com/processone/stringprep"}},
{p1_xml, ".*", {git, "git://github.com/processone/xml"}}, {p1_xml, ".*", {git, "https://github.com/processone/xml"}},
{esip, ".*", {git, "git://github.com/processone/p1_sip"}}, {esip, ".*", {git, "https://github.com/processone/p1_sip"}},
{p1_stun, ".*", {git, "git://github.com/processone/stun"}}, {p1_stun, ".*", {git, "https://github.com/processone/stun"}},
{p1_yaml, ".*", {git, "git://github.com/processone/p1_yaml"}}, {p1_yaml, ".*", {git, "https://github.com/processone/p1_yaml"}},
{ehyperloglog, ".*", {git, "https://github.com/vaxelfel/eHyperLogLog.git"}}, {ehyperloglog, ".*", {git, "https://github.com/vaxelfel/eHyperLogLog.git"}},
{p1_utils, ".*", {git, "git://github.com/processone/p1_utils"}}], {p1_utils, ".*", {git, "https://github.com/processone/p1_utils"}}],
ConfigureCmd = fun(Pkg, Flags) -> ConfigureCmd = fun(Pkg, Flags) ->
{'get-deps', {'get-deps',
@ -87,32 +87,32 @@ PostHooks = [ConfigureCmd("p1_tls", ""),
CfgDeps = lists:flatmap( CfgDeps = lists:flatmap(
fun({mysql, true}) -> fun({mysql, true}) ->
[{p1_mysql, ".*", {git, "git://github.com/processone/mysql"}}]; [{p1_mysql, ".*", {git, "https://github.com/processone/mysql"}}];
({pgsql, true}) -> ({pgsql, true}) ->
[{p1_pgsql, ".*", {git, "git://github.com/processone/pgsql"}}]; [{p1_pgsql, ".*", {git, "https://github.com/processone/pgsql"}}];
({sqlite, true}) -> ({sqlite, true}) ->
[{sqlite3, ".*", {git, "git://github.com/alexeyr/erlang-sqlite3"}}]; [{sqlite3, ".*", {git, "https://github.com/alexeyr/erlang-sqlite3"}}];
({pam, true}) -> ({pam, true}) ->
[{p1_pam, ".*", {git, "git://github.com/processone/epam"}}]; [{p1_pam, ".*", {git, "https://github.com/processone/epam"}}];
({zlib, true}) -> ({zlib, true}) ->
[{p1_zlib, ".*", {git, "git://github.com/processone/zlib"}}]; [{p1_zlib, ".*", {git, "https://github.com/processone/zlib"}}];
({riak, true}) -> ({riak, true}) ->
[{riakc, ".*", {git, "git://github.com/basho/riak-erlang-client", {tag, "1.4.2"}}}]; [{riakc, ".*", {git, "https://github.com/basho/riak-erlang-client", {tag, "1.4.2"}}}];
({json, true}) -> ({json, true}) ->
[{jiffy, ".*", {git, "git://github.com/davisp/jiffy"}}]; [{jiffy, ".*", {git, "https://github.com/davisp/jiffy"}}];
({elixir, true}) -> ({elixir, true}) ->
[{rebar_elixir_plugin, ".*", {git, "git://github.com/yrashk/rebar_elixir_plugin"}}, [{rebar_elixir_plugin, ".*", {git, "https://github.com/yrashk/rebar_elixir_plugin"}},
{elixir, ".*", {git, "git://github.com/elixir-lang/elixir", {branch, "v1.0"}}}]; {elixir, ".*", {git, "https://github.com/elixir-lang/elixir", {branch, "v1.0"}}}];
({iconv, true}) -> ({iconv, true}) ->
[{p1_iconv, ".*", {git, "git://github.com/processone/eiconv"}}]; [{p1_iconv, ".*", {git, "https://github.com/processone/eiconv"}}];
({lager, true}) -> ({lager, true}) ->
[{lager, ".*", {git, "git://github.com/basho/lager"}}]; [{lager, ".*", {git, "https://github.com/basho/lager"}}];
({lager, false}) -> ({lager, false}) ->
[{p1_logger, ".*", {git, "git://github.com/processone/p1_logger"}}]; [{p1_logger, ".*", {git, "https://github.com/processone/p1_logger"}}];
({tools, true}) -> ({tools, true}) ->
[{meck, "0.*", {git, "https://github.com/eproxus/meck"}}]; [{meck, "0.*", {git, "https://github.com/eproxus/meck"}}];
({redis, true}) -> ({redis, true}) ->
[{eredis, ".*", {git, "git://github.com/wooga/eredis"}}]; [{eredis, ".*", {git, "https://github.com/wooga/eredis"}}];
(_) -> (_) ->
[] []
end, Cfg), end, Cfg),