{"action":"opened","number":59,"pull_request":{"url":"https://api.github.com/repos/synrc/mad/pulls/59","id":90796891,"html_url":"https://github.com/synrc/mad/pull/59","diff_url":"https://github.com/synrc/mad/pull/59.diff","patch_url":"https://github.com/synrc/mad/pull/59.patch","issue_url":"https://api.github.com/repos/synrc/mad/issues/59","number":59,"state":"open","locked":false,"title":"Fixed loading of .app config files from ETS filesystem.","user":{"login":"mkshar","id":10059217,"avatar_url":"https://avatars.githubusercontent.com/u/10059217?v=3","gravatar_id":"","url":"https://api.github.com/users/mkshar","html_url":"https://github.com/mkshar","followers_url":"https://api.github.com/users/mkshar/followers","following_url":"https://api.github.com/users/mkshar/following{/other_user}","gists_url":"https://api.github.com/users/mkshar/gists{/gist_id}","starred_url":"https://api.github.com/users/mkshar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkshar/subscriptions","organizations_url":"https://api.github.com/users/mkshar/orgs","repos_url":"https://api.github.com/users/mkshar/repos","events_url":"https://api.github.com/users/mkshar/events{/privacy}","received_events_url":"https://api.github.com/users/mkshar/received_events","type":"User","site_admin":false},"body":"When single-file bundle (escript) built by MAD is deployed, it cannot find apps' configuration file(s) is the ETS filesystem (see comments):\r\n\r\nload_config(A) when is_list(A) ->\r\n    AppFile = A ++\".app\",\r\n    Name = wildcards([\"{apps,deps}/*/ebin/\"++AppFile,\"ebin/\"++AppFile]), % here Name will be = []\r\n    case file:read_file(Name) of % there is no files except escript bundle, failed\r\n         {ok,Bin} -> parse(binary_to_list(Bin));\r\n         {error,_} -> case ets:lookup(filesystem,AppFile) of % OK, found .app file is the ETS...\r\n                          [{Name,Bin}] -> parse(binary_to_list(Bin)); % ...but pattern matching failed\r\n                          _ -> [] end end.","created_at":"2016-10-25T12:25:47Z","updated_at":"2016-10-25T12:25:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/synrc/mad/pulls/59/commits","review_comments_url":"https://api.github.com/repos/synrc/mad/pulls/59/comments","review_comment_url":"https://api.github.com/repos/synrc/mad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/synrc/mad/issues/59/comments","statuses_url":"https://api.github.com/repos/synrc/mad/statuses/65d33e0f3dfb1b9d4f3d8c9f790a836cdda6469e","head":{"label":"mkshar:master","ref":"master","sha":"65d33e0f3dfb1b9d4f3d8c9f790a836cdda6469e","user":{"login":"mkshar","id":10059217,"avatar_url":"https://avatars.githubusercontent.com/u/10059217?v=3","gravatar_id":"","url":"https://api.github.com/users/mkshar","html_url":"https://github.com/mkshar","followers_url":"https://api.github.com/users/mkshar/followers","following_url":"https://api.github.com/users/mkshar/following{/other_user}","gists_url":"https://api.github.com/users/mkshar/gists{/gist_id}","starred_url":"https://api.github.com/users/mkshar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkshar/subscriptions","organizations_url":"https://api.github.com/users/mkshar/orgs","repos_url":"https://api.github.com/users/mkshar/repos","events_url":"https://api.github.com/users/mkshar/events{/privacy}","received_events_url":"https://api.github.com/users/mkshar/received_events","type":"User","site_admin":false},"repo":{"id":71890887,"name":"mad","full_name":"mkshar/mad","owner":{"login":"mkshar","id":10059217,"avatar_url":"https://avatars.githubusercontent.com/u/10059217?v=3","gravatar_id":"","url":"https://api.github.com/users/mkshar","html_url":"https://github.com/mkshar","followers_url":"https://api.github.com/users/mkshar/followers","following_url":"https://api.github.com/users/mkshar/following{/other_user}","gists_url":"https://api.github.com/users/mkshar/gists{/gist_id}","starred_url":"https://api.github.com/users/mkshar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkshar/subscriptions","organizations_url":"https://api.github.com/users/mkshar/orgs","repos_url":"https://api.github.com/users/mkshar/repos","events_url":"https://api.github.com/users/mkshar/events{/privacy}","received_events_url":"https://api.github.com/users/mkshar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkshar/mad","description":"⚡ Erlang Containers","fork":true,"url":"https://api.github.com/repos/mkshar/mad","forks_url":"https://api.github.com/repos/mkshar/mad/forks","keys_url":"https://api.github.com/repos/mkshar/mad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkshar/mad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkshar/mad/teams","hooks_url":"https://api.github.com/repos/mkshar/mad/hooks","issue_events_url":"https://api.github.com/repos/mkshar/mad/issues/events{/number}","events_url":"https://api.github.com/repos/mkshar/mad/events","assignees_url":"https://api.github.com/repos/mkshar/mad/assignees{/user}","branches_url":"https://api.github.com/repos/mkshar/mad/branches{/branch}","tags_url":"https://api.github.com/repos/mkshar/mad/tags","blobs_url":"https://api.github.com/repos/mkshar/mad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkshar/mad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkshar/mad/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkshar/mad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkshar/mad/statuses/{sha}","languages_url":"https://api.github.com/repos/mkshar/mad/languages","stargazers_url":"https://api.github.com/repos/mkshar/mad/stargazers","contributors_url":"https://api.github.com/repos/mkshar/mad/contributors","subscribers_url":"https://api.github.com/repos/mkshar/mad/subscribers","subscription_url":"https://api.github.com/repos/mkshar/mad/subscription","commits_url":"https://api.github.com/repos/mkshar/mad/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkshar/mad/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkshar/mad/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkshar/mad/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkshar/mad/contents/{+path}","compare_url":"https://api.github.com/repos/mkshar/mad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkshar/mad/merges","archive_url":"https://api.github.com/repos/mkshar/mad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkshar/mad/downloads","issues_url":"https://api.github.com/repos/mkshar/mad/issues{/number}","pulls_url":"https://api.github.com/repos/mkshar/mad/pulls{/number}","milestones_url":"https://api.github.com/repos/mkshar/mad/milestones{/number}","notifications_url":"https://api.github.com/repos/mkshar/mad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkshar/mad/labels{/name}","releases_url":"https://api.github.com/repos/mkshar/mad/releases{/id}","deployments_url":"https://api.github.com/repos/mkshar/mad/deployments","created_at":"2016-10-25T11:39:20Z","updated_at":"2016-10-25T11:39:21Z","pushed_at":"2016-10-25T12:01:57Z","git_url":"git://github.com/mkshar/mad.git","ssh_url":"git@github.com:mkshar/mad.git","clone_url":"https://github.com/mkshar/mad.git","svn_url":"https://github.com/mkshar/mad","homepage":"http://synrc.com/apps/mad/","size":8260,"stargazers_count":0,"watchers_count":0,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"synrc:master","ref":"master","sha":"37ac4d0b6b7f18b1b2b77d65a7924bf46bc9ba08","user":{"login":"synrc","id":661709,"avatar_url":"https://avatars.githubusercontent.com/u/661709?v=3","gravatar_id":"","url":"https://api.github.com/users/synrc","html_url":"https://github.com/synrc","followers_url":"https://api.github.com/users/synrc/followers","following_url":"https://api.github.com/users/synrc/following{/other_user}","gists_url":"https://api.github.com/users/synrc/gists{/gist_id}","starred_url":"https://api.github.com/users/synrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synrc/subscriptions","organizations_url":"https://api.github.com/users/synrc/orgs","repos_url":"https://api.github.com/users/synrc/repos","events_url":"https://api.github.com/users/synrc/events{/privacy}","received_events_url":"https://api.github.com/users/synrc/received_events","type":"Organization","site_admin":false},"repo":{"id":16932416,"name":"mad","full_name":"synrc/mad","owner":{"login":"synrc","id":661709,"avatar_url":"https://avatars.githubusercontent.com/u/661709?v=3","gravatar_id":"","url":"https://api.github.com/users/synrc","html_url":"https://github.com/synrc","followers_url":"https://api.github.com/users/synrc/followers","following_url":"https://api.github.com/users/synrc/following{/other_user}","gists_url":"https://api.github.com/users/synrc/gists{/gist_id}","starred_url":"https://api.github.com/users/synrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synrc/subscriptions","organizations_url":"https://api.github.com/users/synrc/orgs","repos_url":"https://api.github.com/users/synrc/repos","events_url":"https://api.github.com/users/synrc/events{/privacy}","received_events_url":"https://api.github.com/users/synrc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/synrc/mad","description":"⚡ Erlang Containers","fork":false,"url":"https://api.github.com/repos/synrc/mad","forks_url":"https://api.github.com/repos/synrc/mad/forks","keys_url":"https://api.github.com/repos/synrc/mad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synrc/mad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synrc/mad/teams","hooks_url":"https://api.github.com/repos/synrc/mad/hooks","issue_events_url":"https://api.github.com/repos/synrc/mad/issues/events{/number}","events_url":"https://api.github.com/repos/synrc/mad/events","assignees_url":"https://api.github.com/repos/synrc/mad/assignees{/user}","branches_url":"https://api.github.com/repos/synrc/mad/branches{/branch}","tags_url":"https://api.github.com/repos/synrc/mad/tags","blobs_url":"https://api.github.com/repos/synrc/mad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synrc/mad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synrc/mad/git/refs{/sha}","trees_url":"https://api.github.com/repos/synrc/mad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synrc/mad/statuses/{sha}","languages_url":"https://api.github.com/repos/synrc/mad/languages","stargazers_url":"https://api.github.com/repos/synrc/mad/stargazers","contributors_url":"https://api.github.com/repos/synrc/mad/contributors","subscribers_url":"https://api.github.com/repos/synrc/mad/subscribers","subscription_url":"https://api.github.com/repos/synrc/mad/subscription","commits_url":"https://api.github.com/repos/synrc/mad/commits{/sha}","git_commits_url":"https://api.github.com/repos/synrc/mad/git/commits{/sha}","comments_url":"https://api.github.com/repos/synrc/mad/comments{/number}","issue_comment_url":"https://api.github.com/repos/synrc/mad/issues/comments{/number}","contents_url":"https://api.github.com/repos/synrc/mad/contents/{+path}","compare_url":"https://api.github.com/repos/synrc/mad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synrc/mad/merges","archive_url":"https://api.github.com/repos/synrc/mad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synrc/mad/downloads","issues_url":"https://api.github.com/repos/synrc/mad/issues{/number}","pulls_url":"https://api.github.com/repos/synrc/mad/pulls{/number}","milestones_url":"https://api.github.com/repos/synrc/mad/milestones{/number}","notifications_url":"https://api.github.com/repos/synrc/mad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synrc/mad/labels{/name}","releases_url":"https://api.github.com/repos/synrc/mad/releases{/id}","deployments_url":"https://api.github.com/repos/synrc/mad/deployments","created_at":"2014-02-18T01:07:49Z","updated_at":"2016-10-06T12:47:56Z","pushed_at":"2016-10-10T15:54:44Z","git_url":"git://github.com/synrc/mad.git","ssh_url":"git@github.com:synrc/mad.git","clone_url":"https://github.com/synrc/mad.git","svn_url":"https://github.com/synrc/mad","homepage":"http://synrc.com/apps/mad/","size":8260,"stargazers_count":101,"watchers_count":101,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":10,"forks":29,"open_issues":10,"watchers":101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/synrc/mad/pulls/59"},"html":{"href":"https://github.com/synrc/mad/pull/59"},"issue":{"href":"https://api.github.com/repos/synrc/mad/issues/59"},"comments":{"href":"https://api.github.com/repos/synrc/mad/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/synrc/mad/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/synrc/mad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/synrc/mad/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/synrc/mad/statuses/65d33e0f3dfb1b9d4f3d8c9f790a836cdda6469e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"mkshar"}}