mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
Merge pull request #119 from basho/jd-python-version
Bumped python client version to 1.5-stable, for fuzzy versioning.
This commit is contained in:
commit
6a8ecb5232
@ -2,7 +2,8 @@
|
|||||||
-export([confirm/0]).
|
-export([confirm/0]).
|
||||||
-include_lib("eunit/include/eunit.hrl").
|
-include_lib("eunit/include/eunit.hrl").
|
||||||
|
|
||||||
-define(PYTHON_CLIENT_TAG, "1.5.1").
|
%% @todo set this to 1.5.2 or greater, once that's released
|
||||||
|
-define(PYTHON_CLIENT_TAG, "1.5-stable").
|
||||||
-define(PYTHON_CHECKOUT, filename:join([rt:config(rt_scratch_dir), "riak-python-client"])).
|
-define(PYTHON_CHECKOUT, filename:join([rt:config(rt_scratch_dir), "riak-python-client"])).
|
||||||
-define(PYTHON_GIT_URL, "git://github.com/basho/riak-python-client.git").
|
-define(PYTHON_GIT_URL, "git://github.com/basho/riak-python-client.git").
|
||||||
|
|
||||||
@ -63,7 +64,10 @@ prereqs() ->
|
|||||||
rt:stream_cmd(Cmd),
|
rt:stream_cmd(Cmd),
|
||||||
|
|
||||||
lager:info("[PREREQ] Resetting python client to tag '~s'", [?PYTHON_CLIENT_TAG]),
|
lager:info("[PREREQ] Resetting python client to tag '~s'", [?PYTHON_CLIENT_TAG]),
|
||||||
TagCmd = io_lib:format("git reset --hard ~s", [?PYTHON_CLIENT_TAG]),
|
%% @todo below is how to reset to a tag, use that when 1.5.2 is available
|
||||||
|
%%TagCmd = io_lib:format("git reset --hard ~s", [?PYTHON_CLIENT_TAG]),
|
||||||
|
rt:stream_cmd("git reset --hard", [{cd, ?PYTHON_CHECKOUT}]),
|
||||||
|
TagCmd = io_lib:format("git checkout -b ~s", [?PYTHON_CLIENT_TAG]),
|
||||||
rt:stream_cmd(TagCmd, [{cd, ?PYTHON_CHECKOUT}]),
|
rt:stream_cmd(TagCmd, [{cd, ?PYTHON_CHECKOUT}]),
|
||||||
|
|
||||||
lager:info("[PREREQ] Installing an isolated environment with virtualenv in ~s", [?PYTHON_CHECKOUT]),
|
lager:info("[PREREQ] Installing an isolated environment with virtualenv in ~s", [?PYTHON_CHECKOUT]),
|
||||||
|
Loading…
Reference in New Issue
Block a user