Skip to content

Commit 8a5184c

Browse files
author
Martin Cox
committed
otp20 fixes.
1 parent aa66398 commit 8a5184c

21 files changed

+71
-1107
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
_build/
12
ebin/
23
deps/
34
tests/

rebar

-200 KB
Binary file not shown.

rebar.config

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%% katja: Defines a function `query()`, which is a reserved word in R15
55
%% uuid: Dep on quickrand
66
%% quickrand: Bogus (IMHO) inability to adapt to R15 environment.
7-
{require_otp_vsn, "R16|17|18"}.
7+
{require_otp_vsn, "20"}.
88

99
{deps,
1010
[
@@ -15,53 +15,31 @@
1515
%% increments. If someone wants to take advantage of a
1616
%% new folsom feature, that desire + float incr must be
1717
%% weighed.
18-
{node_package, "2.0.*", {git, "git://github.com/basho/node_package", {tag, "2.0.0"}}},
19-
{folsom, ".*", {git, "git://github.com/basho/folsom.git", {branch, "boundary-0.7.1+basho-bench-float"}}},
20-
{lager, "2.*", {git, "git://github.com/basho/lager", {tag, "2.1.0"}}},
18+
{folsom, "0.8.7"},
19+
{lager, "2.*", {git, "git://github.com/erlang-lager/lager", {tag, "3.8.0"}}},
2120
{ibrowse, ".*",
22-
{git, "git://github.com/cmullaparthi/ibrowse.git", {tag, "v4.0.2"}}},
21+
{git, "git://github.com/basho/ibrowse.git", {branch, "develop-3.0"}}},
2322
{riakc, ".*",
24-
{git, "git://github.com/basho/riak-erlang-client", {branch, "master"}}},
23+
{git, "git://github.com/basho/riak-erlang-client", {branch, "develop-3.0"}}},
2524
{mochiweb, "2.9.*",
26-
{git, "git://github.com/basho/mochiweb", {tag, "v2.9.0"}}},
25+
{git, "git://github.com/mochi/mochiweb", {tag, "v2.9.0"}}},
2726
{getopt, ".*",
28-
{git, "git://github.com/jcomellas/getopt", {tag, "v0.8.2"}}},
29-
30-
{casbench, "0.1",
31-
{git, "git://github.com/basho/casbench",
32-
"95ed55b494551577870984aeb1e0f683631a326f"}},
33-
%% A commit to the cqerl repo in 2015-02 added a dependency on a package
34-
%% called 're2', which causes additional compilation dependencies for
35-
%% the entire basho_bench package. Use a commit that's most recent
36-
%% but prior to the introduction of 're2'.
37-
{cqerl, ".*",
38-
{git, "git://github.com/matehat/cqerl.git",
39-
"16021593c866ca314acd0ba6858194ed44a362b3"}},
40-
{katja, ".*",
41-
{git, "git://github.com/nifoc/katja.git",
42-
{branch, "master"}}},
43-
{rebar_lock_deps_plugin, ".*", {git, "git://github.com/seth/rebar_lock_deps_plugin.git", {tag, "3.1.0"}}}
27+
{git, "git://github.com/jcomellas/getopt", {tag, "v0.8.2"}}}
4428
]}.
4529

4630
{erl_opts, [{src_dirs, [src]},
4731
{parse_transform, lager_transform}]}.
4832

49-
{plugins, [rebar_lock_deps_plugin]}.
50-
5133
{escript_incl_apps, [
5234
bear,
53-
casbench,
54-
cqerl,
5535
folsom,
5636
getopt,
5737
goldrush,
5838
ibrowse,
59-
katja,
6039
lager,
6140
lz4,
6241
%% meck,
6342
mochiweb,
64-
node_package,
6543
%% proper,
6644
protobuffs,
6745
riak_pb,

rebar.config.lock

Lines changed: 0 additions & 76 deletions
This file was deleted.

rebar.lock

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{"1.1.0",
2+
[{<<"bear">>,{pkg,<<"bear">>,<<"0.8.7">>},1},
3+
{<<"folsom">>,{pkg,<<"folsom">>,<<"0.8.7">>},0},
4+
{<<"getopt">>,
5+
{git,"git://github.com/jcomellas/getopt",
6+
{ref,"388dc95caa7fb97ec7db8cfc39246a36aba61bd8"}},
7+
0},
8+
{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1},
9+
{<<"ibrowse">>,
10+
{git,"git://github.com/basho/ibrowse.git",
11+
{ref,"893864e25573b4ccd31a82b9412639751733ba40"}},
12+
0},
13+
{<<"lager">>,
14+
{git,"git://github.com/erlang-lager/lager",
15+
{ref,"22e62f28e5afabe90a6f31bcde367a2b5799fc94"}},
16+
0},
17+
{<<"mochiweb">>,
18+
{git,"git://github.com/mochi/mochiweb",
19+
{ref,"9090c7942f9dcde4ddbf9f78429e289ff5600c18"}},
20+
0},
21+
{<<"riak_pb">>,
22+
{git,"https://github.com/basho/riak_pb",
23+
{ref,"55fab3a2642edf2293228d5a43748a0fc3c8e554"}},
24+
1},
25+
{<<"riakc">>,
26+
{git,"git://github.com/basho/riak-erlang-client",
27+
{ref,"1bc4e86f2969d7dd8dd05362ea00817435579a0a"}},
28+
0}]}.
29+
[
30+
{pkg_hash,[
31+
{<<"bear">>, <<"16264309AE5D005D03718A5C82641FCC259C9E8F09ADEB6FD79CA4271168656F">>},
32+
{<<"folsom">>, <<"A885F0AEEE4C84270954C88A55A5A473D6B2C7493E32FFDC5765412DD555A951">>},
33+
{<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>}]}
34+
].

rebar3

835 KB
Binary file not shown.

src/basho_bench.erl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,4 @@ distribute_app(App) ->
347347
%% just a utility, should be in basho_bench_utils.erl
348348
%% but 's' is for multiple utilities, and so far this
349349
%% is the only one.
350-
-ifdef(new_hash).
351350
md5(Bin) -> crypto:hash(md5, Bin).
352-
-else.
353-
md5(Bin) -> crypto:md5(Bin).
354-
-endif.

src/basho_bench_driver_carbon.erl

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/basho_bench_driver_cassandra.erl

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)