{"action":"created","issue":{"url":"https://api.github.com/repos/bitwalker/distillery/issues/38","repository_url":"https://api.github.com/repos/bitwalker/distillery","labels_url":"https://api.github.com/repos/bitwalker/distillery/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/bitwalker/distillery/issues/38/comments","events_url":"https://api.github.com/repos/bitwalker/distillery/issues/38/events","html_url":"https://github.com/bitwalker/distillery/issues/38","id":170910606,"number":38,"title":"Dependencies are not included if not specified in applications","user":{"login":"slashmili","id":585764,"avatar_url":"https://avatars.githubusercontent.com/u/585764?v=3","gravatar_id":"","url":"https://api.github.com/users/slashmili","html_url":"https://github.com/slashmili","followers_url":"https://api.github.com/users/slashmili/followers","following_url":"https://api.github.com/users/slashmili/following{/other_user}","gists_url":"https://api.github.com/users/slashmili/gists{/gist_id}","starred_url":"https://api.github.com/users/slashmili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slashmili/subscriptions","organizations_url":"https://api.github.com/users/slashmili/orgs","repos_url":"https://api.github.com/users/slashmili/repos","events_url":"https://api.github.com/users/slashmili/events{/privacy}","received_events_url":"https://api.github.com/users/slashmili/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitwalker/distillery/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/bitwalker/distillery/labels/has-workaround","name":"has-workaround","color":"1d76db"},{"url":"https://api.github.com/repos/bitwalker/distillery/labels/umbrellas","name":"umbrellas","color":"c2e0c6"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/bitwalker/distillery/milestones/1","html_url":"https://github.com/bitwalker/distillery/milestones/ElixirConf","labels_url":"https://api.github.com/repos/bitwalker/distillery/milestones/1/labels","id":1884604,"number":1,"title":"ElixirConf","description":"- Full replacement for exrm\r\n- Embedded/read-only filesystem support\r\n- Windows support\r\n- Ready for integration with core\r\n- Fully documented\r\n- Complete test suite","creator":{"login":"bitwalker","id":955793,"avatar_url":"https://avatars.githubusercontent.com/u/955793?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwalker","html_url":"https://github.com/bitwalker","followers_url":"https://api.github.com/users/bitwalker/followers","following_url":"https://api.github.com/users/bitwalker/following{/other_user}","gists_url":"https://api.github.com/users/bitwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwalker/subscriptions","organizations_url":"https://api.github.com/users/bitwalker/orgs","repos_url":"https://api.github.com/users/bitwalker/repos","events_url":"https://api.github.com/users/bitwalker/events{/privacy}","received_events_url":"https://api.github.com/users/bitwalker/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2016-07-15T00:27:27Z","updated_at":"2016-08-12T17:00:06Z","due_on":"2016-09-01T05:00:00Z","closed_at":null},"comments":2,"created_at":"2016-08-12T16:35:52Z","updated_at":"2016-08-12T17:36:09Z","closed_at":null,"body":"I have an umbrella scenario with a bit different approach(the app names are here only to make the point)\r\n\r\n* `MyDistributedCache` deploys in multiple machine and it uses pg2 for registering proces group\r\n* `MyAwesomeApp` deploys in one machine and uses `MyDistributedCache`\r\n\r\nSo in `my_distributed_cache` I create a global process group with name `:my_distributed_cache` and I used it from `:my_awesome_app`\r\n\r\nin `my_awesome_app` mix.exs I have included `:my_distributed_cache` but didn't list it in applications list:\r\n```\r\ndefmodule MyAwesomeApp.Mixfile do\r\n...\r\n  def application do\r\n    [mod: {MyAwesomeApp, []}]\r\n  end\r\n...\r\n  defp deps do\r\n    [{:my_distributed_cache, in_umbrella: true}]\r\n  end\r\n...\r\n```\r\nI made separate releases  for `:my_distributed_cache` and `:my_awesome_app` and released them separately and connected both nodes(`Node.connect`). The problem that I have is even though `:my_distributed_cache` is in dependency list of `:my_awesome_app` the beam files of `:my_distributed_cache` are not included in `:my_awesome_app` release and therefore I am not able to use `MyDistributedCache` modules from `MyAwesomeApp`\r\n\r\nAm I missing something here? Or making a mistake in the structure? or it's not supported?"},"comment":{"url":"https://api.github.com/repos/bitwalker/distillery/issues/comments/239510662","html_url":"https://github.com/bitwalker/distillery/issues/38#issuecomment-239510662","issue_url":"https://api.github.com/repos/bitwalker/distillery/issues/38","id":239510662,"user":{"login":"bitwalker","id":955793,"avatar_url":"https://avatars.githubusercontent.com/u/955793?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwalker","html_url":"https://github.com/bitwalker","followers_url":"https://api.github.com/users/bitwalker/followers","following_url":"https://api.github.com/users/bitwalker/following{/other_user}","gists_url":"https://api.github.com/users/bitwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwalker/subscriptions","organizations_url":"https://api.github.com/users/bitwalker/orgs","repos_url":"https://api.github.com/users/bitwalker/repos","events_url":"https://api.github.com/users/bitwalker/events{/privacy}","received_events_url":"https://api.github.com/users/bitwalker/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T17:36:09Z","updated_at":"2016-08-12T17:36:09Z","body":"Looks like this issue affects all project types. I'm working on a fix and will push a new release today when it's ready."}}
{"actor":{"display_login":"bitwalker"}}