{"action":"created","issue":{"url":"https://api.github.com/repos/erlware/relx/issues/511","repository_url":"https://api.github.com/repos/erlware/relx","labels_url":"https://api.github.com/repos/erlware/relx/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/erlware/relx/issues/511/comments","events_url":"https://api.github.com/repos/erlware/relx/issues/511/events","html_url":"https://github.com/erlware/relx/issues/511","id":178901564,"number":511,"title":"Order of dependencies","user":{"login":"silviucpp","id":4814731,"avatar_url":"https://avatars.githubusercontent.com/u/4814731?v=3","gravatar_id":"","url":"https://api.github.com/users/silviucpp","html_url":"https://github.com/silviucpp","followers_url":"https://api.github.com/users/silviucpp/followers","following_url":"https://api.github.com/users/silviucpp/following{/other_user}","gists_url":"https://api.github.com/users/silviucpp/gists{/gist_id}","starred_url":"https://api.github.com/users/silviucpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silviucpp/subscriptions","organizations_url":"https://api.github.com/users/silviucpp/orgs","repos_url":"https://api.github.com/users/silviucpp/repos","events_url":"https://api.github.com/users/silviucpp/events{/privacy}","received_events_url":"https://api.github.com/users/silviucpp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":32,"created_at":"2016-09-23T15:08:02Z","updated_at":"2016-10-27T07:12:30Z","closed_at":null,"body":"Hello,\r\n\r\nI already read all threads on this subject but I can't understand how I can fix my issue.\r\n\r\nI migrated from `rebar` to `rebar3` and seems my app is not starting properly because of the deps order. \r\n\r\nIn `my_app.src` I have the apps like:\r\n\r\n```erlang\r\n{applications, [\r\n        kernel,\r\n        stdlib,\r\n        lager,\r\n        folsom,\r\n        hackney,\r\n        beanstalkd_consumer\r\n    ]},\r\n{included_applications, [graylog_lager, jsone]},\r\n```\r\nIn relx:\r\n```erlang\r\n{release, { my_app, \"1.0\" }, [my_app]},\r\n```\r\n\r\nThe `my_app.rel` loks like:\r\n\r\n```erlang\r\n{release,{\"my_app\",\"1.0\"},\r\n         {erts,\"8.0\"},\r\n         [{stdlib,\"3.0\"},\r\n          {kernel,\"5.0\"},\r\n          {poolboy,\"1.5.1\"},\r\n          {lager,\"3.2.1\"},\r\n          {ebeanstalkd,\"1.1\",load},\r\n          {revolver,\"1.3.0\",load},\r\n          {ratx,\"1.0\",load},\r\n          {beanstalkd_consumer,\"1.5\"},\r\n          {metrics,\"1.0.1\"},\r\n          {ssl,\"8.0\"},\r\n          {ssl_verify_fun,\"1.1.0\"},\r\n          {certifi,\"0.4.0\"},\r\n          {mimerl,\"1.0.2\"},\r\n          {idna,\"1.2.0\"},\r\n          {public_key,\"1.2\"},\r\n          {crypto,\"3.7\"},\r\n          {asn1,\"4.0.3\"},\r\n          {hackney,\"1.6.0\"},\r\n          {bear,\"0.8.2\"},\r\n          {folsom,\"0.8.2\"},\r\n          {jsone,\"1.3.2\"},\r\n          {graylog_lager,\"1.0.0\"},\r\n          {compiler,\"7.0\"},\r\n          {syntax_tools,\"2.0\"},\r\n          {goldrush,\"0.1.8\"},\r\n          {my_app,\"1.0\"}]}. \r\n```\r\n\r\nProblem is `folsom` is required before `hackney` to be started. It's used as a plugin to record the metrics and is not listed in `hackeny` `.src` file. Only in my `app.config`:\r\n\r\n```erlang\r\n{hackney, [\r\n        {mod_metrics, folsom}\r\n    ]\r\n}\r\n```\r\nUsing `reltool` are ordered properly but with `relx` I have no idea how to do this.\r\n\r\nHelp is appreciated!\r\n\r\nSilviu\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/erlware/relx/issues/comments/256564592","html_url":"https://github.com/erlware/relx/issues/511#issuecomment-256564592","issue_url":"https://api.github.com/repos/erlware/relx/issues/511","id":256564592,"user":{"login":"silviucpp","id":4814731,"avatar_url":"https://avatars.githubusercontent.com/u/4814731?v=3","gravatar_id":"","url":"https://api.github.com/users/silviucpp","html_url":"https://github.com/silviucpp","followers_url":"https://api.github.com/users/silviucpp/followers","following_url":"https://api.github.com/users/silviucpp/following{/other_user}","gists_url":"https://api.github.com/users/silviucpp/gists{/gist_id}","starred_url":"https://api.github.com/users/silviucpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silviucpp/subscriptions","organizations_url":"https://api.github.com/users/silviucpp/orgs","repos_url":"https://api.github.com/users/silviucpp/repos","events_url":"https://api.github.com/users/silviucpp/events{/privacy}","received_events_url":"https://api.github.com/users/silviucpp/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T07:12:30Z","updated_at":"2016-10-27T07:12:30Z","body":"Any idea how I can test this using rebar3 ? I mean how I can make rebar3 to use this version of relx\r\n\r\nSilviu"}}
{"actor":{"display_login":"silviucpp"}}