{"action":"created","issue":{"url":"https://api.github.com/repos/lrascao/rebar3_appup_plugin/issues/45","repository_url":"https://api.github.com/repos/lrascao/rebar3_appup_plugin","labels_url":"https://api.github.com/repos/lrascao/rebar3_appup_plugin/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/lrascao/rebar3_appup_plugin/issues/45/comments","events_url":"https://api.github.com/repos/lrascao/rebar3_appup_plugin/issues/45/events","html_url":"https://github.com/lrascao/rebar3_appup_plugin/issues/45","id":302668431,"number":45,"title":"incorrect appup file getting generated","user":{"login":"parmar7725274","id":7732439,"avatar_url":"https://avatars1.githubusercontent.com/u/7732439?v=4","gravatar_id":"","url":"https://api.github.com/users/parmar7725274","html_url":"https://github.com/parmar7725274","followers_url":"https://api.github.com/users/parmar7725274/followers","following_url":"https://api.github.com/users/parmar7725274/following{/other_user}","gists_url":"https://api.github.com/users/parmar7725274/gists{/gist_id}","starred_url":"https://api.github.com/users/parmar7725274/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parmar7725274/subscriptions","organizations_url":"https://api.github.com/users/parmar7725274/orgs","repos_url":"https://api.github.com/users/parmar7725274/repos","events_url":"https://api.github.com/users/parmar7725274/events{/privacy}","received_events_url":"https://api.github.com/users/parmar7725274/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-06T11:43:39Z","updated_at":"2018-03-06T11:59:29Z","closed_at":null,"author_association":"NONE","body":"I'm generating appup file for my svn hosted project. I have two branches names **rel_v0_1_0** and **rel_v0_2_0**. Both are identical except application version I have changed. Here is output of svn diff :\r\n\r\n> user@TH1574U:~/svn/erl_experiment/branches/rel_v0_2_0$ svn diff -r18\r\n> Index: lib/erl_experiment/src/erl_experiment.app.src\r\n> _===================================================================_\r\n> --- lib/erl_experiment/src/erl_experiment.app.src\t(.../rel_v0_1_0)\t(revision 18)\r\n> +++ lib/erl_experiment/src/erl_experiment.app.src\t(.../rel_v0_2_0)\t(working copy)\r\n> @@ -1,6 +1,6 @@\r\n>  {application, erl_experiment,\r\n>   [{description, \"An OTP application\"},\r\n> -  {vsn, \"0.1.0\"},\r\n> +  {vsn, \"0.2.0\"},\r\n>    {registered, []},\r\n>    {mod, { erl_experiment_app, []}},\r\n>    {applications,\r\n> Index: rebar.config\r\n> ===================================================================\r\n> --- rebar.config\t(.../rel_v0_1_0)\t(revision 18)\r\n> +++ rebar.config\t(.../rel_v0_2_0)\t(working copy)\r\n> @@ -5,7 +5,7 @@\r\n>  { base_dir, \"../_build\"}.\r\n>  { out_dir, \"../_build/default/lib/\"}.\r\n>  \r\n> -{relx, [{release, {erl_experiment, \"0.1.0\"}, [ erl_experiment, kernel, stdlib, sasl ]},\r\n> +{relx, [{release, {erl_experiment, \"0.2.0\"}, [ erl_experiment, kernel, stdlib, sasl ]},\r\n>  \r\n>   {dev_mode, false},\r\n>   {include_erts, true},\r\n> \r\n\r\nTo Generate appup file, I'm doing :\r\n[in branch **rel_v0_1_0** ]\r\n```\r\nuser@TH1574U:~/svn/erl_experiment/branches/rel_v0_1_0$ ./rebar3 release\r\nuser@TH1574U:~/svn/erl_experiment/branches/rel_v0_1_0$ ./rebar3 tar\r\n```\r\n\r\n[in branch **rel_v0_2_0** ]\r\n\r\n```\r\nuser@TH1574U:~/svn/erl_experiment/branches/rel_v0_2_0$ ./rebar3 release\r\nuser@TH1574U:~/svn/erl_experiment/branches/rel_v0_2_0$ ./rebar3 appup generate --previous_version 0.1.0 --previous /home/user/svn/erl_experiment/branches/_build/default/rel/erl_experiment/\r\n```\r\nAppup file is getting generated successfully and here it is, (unfortunately its wrong.)\r\n\r\n```\r\n%% appup generated for erl_experiment by rebar3_appup_plugin (2018/03/06 17:02:57)\r\n{ \"0.2.0\",\r\n    [{ \"0.1.0\",\r\n        [{load_module,erl_experiment_app,brutal_purge,brutal_purge,\r\n                      [erl_experiment_sup]},\r\n         {update,erl_experiment_sup,supervisor},\r\n         {update,mynew_server,{advanced,[]},brutal_purge,brutal_purge,[]}] }],\r\n    [{ \"0.1.0\",\r\n        [{update,mynew_server,{advanced,[]},brutal_purge,brutal_purge,[]},\r\n         {update,erl_experiment_sup,supervisor},\r\n         {load_module,erl_experiment_app,brutal_purge,brutal_purge,\r\n                      [erl_experiment_sup]}] }]\r\n}.\r\n\r\n```\r\nThe appup file shows changes in `mynew_server` module. But that module is not modified. \r\n\r\nCan anyone clerify why ? \r\n\r\nSVN Repo : [erl_experiment](https://svn.riouxsvn.com/erl_experiment)\r\nLog : [appup_generate.log](https://github.com/lrascao/rebar3_appup_plugin/files/1784791/appup_generate.log)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lrascao/rebar3_appup_plugin/issues/comments/370759141","html_url":"https://github.com/lrascao/rebar3_appup_plugin/issues/45#issuecomment-370759141","issue_url":"https://api.github.com/repos/lrascao/rebar3_appup_plugin/issues/45","id":370759141,"user":{"login":"parmar7725274","id":7732439,"avatar_url":"https://avatars1.githubusercontent.com/u/7732439?v=4","gravatar_id":"","url":"https://api.github.com/users/parmar7725274","html_url":"https://github.com/parmar7725274","followers_url":"https://api.github.com/users/parmar7725274/followers","following_url":"https://api.github.com/users/parmar7725274/following{/other_user}","gists_url":"https://api.github.com/users/parmar7725274/gists{/gist_id}","starred_url":"https://api.github.com/users/parmar7725274/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parmar7725274/subscriptions","organizations_url":"https://api.github.com/users/parmar7725274/orgs","repos_url":"https://api.github.com/users/parmar7725274/repos","events_url":"https://api.github.com/users/parmar7725274/events{/privacy}","received_events_url":"https://api.github.com/users/parmar7725274/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T11:59:29Z","updated_at":"2018-03-06T11:59:29Z","author_association":"NONE","body":"Output Directory is common for both versions. What do you want me to check exactly?"}}
{"actor":{"display_login":"parmar7725274"}}