Skip to content

Commit

Permalink
Add TODO comment to install_upgrade script template
Browse files Browse the repository at this point in the history
  • Loading branch information
shino committed Dec 27, 2013
1 parent eafc1bd commit 61982e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions priv/templates/simplenode.install_upgrade.escript
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
-define(TIMEOUT, 60000).
-define(INFO(Fmt,Args), io:format(Fmt,Args)).

%% TODO: This script currently does NOT support slim releases.
%% Necessary steps to upgrade a slim release are as follows:
%% 1. unpack relup archive manually
%% 2. copy releases directory and necessary libraries
%% 3. using release_hander:set_unpacked/2 .
%% For more details, see https://github.com/rebar/rebar/pull/52
%% and https://github.com/rebar/rebar/issues/202

main([NodeName, Cookie, ReleasePackage]) ->
TargetNode = start_distribution(NodeName, Cookie),
{ok, Vsn} = rpc:call(TargetNode, release_handler, unpack_release,
Expand Down

0 comments on commit 61982e3

Please sign in to comment.