{"action":"created","comment":{"url":"https://api.github.com/repos/inaka/sumo_db/pulls/comments/47130471","id":47130471,"diff_hunk":"@@ -39,23 +39,12 @@\n \n -behaviour(supervisor).\n \n--type init_result() ::\n-   {ok,\n-    {{supervisor:strategy(), non_neg_integer(), non_neg_integer()},\n-     [supervisor:child_spec()]\n-    }\n-   }\n-   | ignore.\n-\n-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n-%% Code starts here.\n-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n-\n--spec start_link() -> supervisor:startlink_ret().\n+-spec start_link() -> {ok, pid()} | {error, any()}.\n start_link() ->\n   supervisor:start_link({local, ?MODULE}, ?MODULE, []).\n \n--spec init(term()) -> init_result().\n+-spec init(any()) ->","path":"src/sumo_backend_sup.erl","position":22,"original_position":22,"commit_id":"5db9f0c15fd5846a07210b27e7042a0fec242f71","original_commit_id":"5db9f0c15fd5846a07210b27e7042a0fec242f71","user":{"login":"gadgetci","id":10134338,"avatar_url":"https://avatars.githubusercontent.com/u/10134338?v=3","gravatar_id":"","url":"https://api.github.com/users/gadgetci","html_url":"https://github.com/gadgetci","followers_url":"https://api.github.com/users/gadgetci/followers","following_url":"https://api.github.com/users/gadgetci/following{/other_user}","gists_url":"https://api.github.com/users/gadgetci/gists{/gist_id}","starred_url":"https://api.github.com/users/gadgetci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadgetci/subscriptions","organizations_url":"https://api.github.com/users/gadgetci/orgs","repos_url":"https://api.github.com/users/gadgetci/repos","events_url":"https://api.github.com/users/gadgetci/events{/privacy}","received_events_url":"https://api.github.com/users/gadgetci/received_events","type":"User","site_admin":false},"body":"According to **Dialyzer**:\n>  The return type {'ok',{_,[{_,{atom() | tuple(),atom(),'undefined' | [any()]},'permanent' | 'temporary' | 'transient','brutal_kill' | 'infinity' | non_neg_integer(),'supervisor' | 'worker','dynamic' | [atom() | tuple()]}]}} in the specification of init/1 is not a subtype of 'ignore' | {'ok',{{'one_for_all',non_neg_integer(),non_neg_integer()} | {'one_for_one',non_neg_integer(),non_neg_integer()} | {'rest_for_one',non_neg_integer(),non_neg_integer()} | {'simple_one_for_one',non_neg_integer(),non_neg_integer()},[{_,{atom() | tuple(),atom(),'undefined' | [any()]},'permanent' | 'temporary' | 'transient','brutal_kill' | 'infinity' | non_neg_integer(),'supervisor' | 'worker','dynamic' | [atom() | tuple()]}]}}, which is the expected return type for the callback of supervisor behaviour\n","created_at":"2015-12-09T18:28:38Z","updated_at":"2015-12-09T18:28:38Z","html_url":"https://github.com/inaka/sumo_db/pull/215#discussion_r47130471","pull_request_url":"https://api.github.com/repos/inaka/sumo_db/pulls/215","_links":{"self":{"href":"https://api.github.com/repos/inaka/sumo_db/pulls/comments/47130471"},"html":{"href":"https://github.com/inaka/sumo_db/pull/215#discussion_r47130471"},"pull_request":{"href":"https://api.github.com/repos/inaka/sumo_db/pulls/215"}}},"pull_request":{"url":"https://api.github.com/repos/inaka/sumo_db/pulls/215","id":53155143,"html_url":"https://github.com/inaka/sumo_db/pull/215","diff_url":"https://github.com/inaka/sumo_db/pull/215.diff","patch_url":"https://github.com/inaka/sumo_db/pull/215.patch","issue_url":"https://api.github.com/repos/inaka/sumo_db/issues/215","number":215,"state":"open","locked":false,"title":"Upgrade erlang.mk and get the app to compile","user":{"login":"elbrujohalcon","id":93657,"avatar_url":"https://avatars.githubusercontent.com/u/93657?v=3","gravatar_id":"","url":"https://api.github.com/users/elbrujohalcon","html_url":"https://github.com/elbrujohalcon","followers_url":"https://api.github.com/users/elbrujohalcon/followers","following_url":"https://api.github.com/users/elbrujohalcon/following{/other_user}","gists_url":"https://api.github.com/users/elbrujohalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/elbrujohalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbrujohalcon/subscriptions","organizations_url":"https://api.github.com/users/elbrujohalcon/orgs","repos_url":"https://api.github.com/users/elbrujohalcon/repos","events_url":"https://api.github.com/users/elbrujohalcon/events{/privacy}","received_events_url":"https://api.github.com/users/elbrujohalcon/received_events","type":"User","site_admin":false},"body":"This app doesn't compile with the latest version of erlang.mk","created_at":"2015-12-09T17:59:48Z","updated_at":"2015-12-09T18:28:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21fdf630fed60d185c6f0464701d14819b710395","assignee":{"login":"elbrujohalcon","id":93657,"avatar_url":"https://avatars.githubusercontent.com/u/93657?v=3","gravatar_id":"","url":"https://api.github.com/users/elbrujohalcon","html_url":"https://github.com/elbrujohalcon","followers_url":"https://api.github.com/users/elbrujohalcon/followers","following_url":"https://api.github.com/users/elbrujohalcon/following{/other_user}","gists_url":"https://api.github.com/users/elbrujohalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/elbrujohalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbrujohalcon/subscriptions","organizations_url":"https://api.github.com/users/elbrujohalcon/orgs","repos_url":"https://api.github.com/users/elbrujohalcon/repos","events_url":"https://api.github.com/users/elbrujohalcon/events{/privacy}","received_events_url":"https://api.github.com/users/elbrujohalcon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/inaka/sumo_db/pulls/215/commits","review_comments_url":"https://api.github.com/repos/inaka/sumo_db/pulls/215/comments","review_comment_url":"https://api.github.com/repos/inaka/sumo_db/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inaka/sumo_db/issues/215/comments","statuses_url":"https://api.github.com/repos/inaka/sumo_db/statuses/5db9f0c15fd5846a07210b27e7042a0fec242f71","head":{"label":"inaka:elbrujohalcon.215.upgrade_erlang_mk_and_get_the_","ref":"elbrujohalcon.215.upgrade_erlang_mk_and_get_the_","sha":"5db9f0c15fd5846a07210b27e7042a0fec242f71","user":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"repo":{"id":11457919,"name":"sumo_db","full_name":"inaka/sumo_db","owner":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inaka/sumo_db","description":"Erlang Persistency Framework","fork":false,"url":"https://api.github.com/repos/inaka/sumo_db","forks_url":"https://api.github.com/repos/inaka/sumo_db/forks","keys_url":"https://api.github.com/repos/inaka/sumo_db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inaka/sumo_db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inaka/sumo_db/teams","hooks_url":"https://api.github.com/repos/inaka/sumo_db/hooks","issue_events_url":"https://api.github.com/repos/inaka/sumo_db/issues/events{/number}","events_url":"https://api.github.com/repos/inaka/sumo_db/events","assignees_url":"https://api.github.com/repos/inaka/sumo_db/assignees{/user}","branches_url":"https://api.github.com/repos/inaka/sumo_db/branches{/branch}","tags_url":"https://api.github.com/repos/inaka/sumo_db/tags","blobs_url":"https://api.github.com/repos/inaka/sumo_db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inaka/sumo_db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inaka/sumo_db/git/refs{/sha}","trees_url":"https://api.github.com/repos/inaka/sumo_db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inaka/sumo_db/statuses/{sha}","languages_url":"https://api.github.com/repos/inaka/sumo_db/languages","stargazers_url":"https://api.github.com/repos/inaka/sumo_db/stargazers","contributors_url":"https://api.github.com/repos/inaka/sumo_db/contributors","subscribers_url":"https://api.github.com/repos/inaka/sumo_db/subscribers","subscription_url":"https://api.github.com/repos/inaka/sumo_db/subscription","commits_url":"https://api.github.com/repos/inaka/sumo_db/commits{/sha}","git_commits_url":"https://api.github.com/repos/inaka/sumo_db/git/commits{/sha}","comments_url":"https://api.github.com/repos/inaka/sumo_db/comments{/number}","issue_comment_url":"https://api.github.com/repos/inaka/sumo_db/issues/comments{/number}","contents_url":"https://api.github.com/repos/inaka/sumo_db/contents/{+path}","compare_url":"https://api.github.com/repos/inaka/sumo_db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inaka/sumo_db/merges","archive_url":"https://api.github.com/repos/inaka/sumo_db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inaka/sumo_db/downloads","issues_url":"https://api.github.com/repos/inaka/sumo_db/issues{/number}","pulls_url":"https://api.github.com/repos/inaka/sumo_db/pulls{/number}","milestones_url":"https://api.github.com/repos/inaka/sumo_db/milestones{/number}","notifications_url":"https://api.github.com/repos/inaka/sumo_db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inaka/sumo_db/labels{/name}","releases_url":"https://api.github.com/repos/inaka/sumo_db/releases{/id}","created_at":"2013-07-16T19:15:37Z","updated_at":"2015-12-04T09:49:01Z","pushed_at":"2015-12-09T18:08:49Z","git_url":"git://github.com/inaka/sumo_db.git","ssh_url":"git@github.com:inaka/sumo_db.git","clone_url":"https://github.com/inaka/sumo_db.git","svn_url":"https://github.com/inaka/sumo_db","homepage":"http://inaka.github.io/sumo_db/","size":959,"stargazers_count":76,"watchers_count":76,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":40,"forks":15,"open_issues":40,"watchers":76,"default_branch":"master"}},"base":{"label":"inaka:master","ref":"master","sha":"ad0999a7a48f16e73ac72779b58916d5bc7846bb","user":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"repo":{"id":11457919,"name":"sumo_db","full_name":"inaka/sumo_db","owner":{"login":"inaka","id":867053,"avatar_url":"https://avatars.githubusercontent.com/u/867053?v=3","gravatar_id":"","url":"https://api.github.com/users/inaka","html_url":"https://github.com/inaka","followers_url":"https://api.github.com/users/inaka/followers","following_url":"https://api.github.com/users/inaka/following{/other_user}","gists_url":"https://api.github.com/users/inaka/gists{/gist_id}","starred_url":"https://api.github.com/users/inaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inaka/subscriptions","organizations_url":"https://api.github.com/users/inaka/orgs","repos_url":"https://api.github.com/users/inaka/repos","events_url":"https://api.github.com/users/inaka/events{/privacy}","received_events_url":"https://api.github.com/users/inaka/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inaka/sumo_db","description":"Erlang Persistency Framework","fork":false,"url":"https://api.github.com/repos/inaka/sumo_db","forks_url":"https://api.github.com/repos/inaka/sumo_db/forks","keys_url":"https://api.github.com/repos/inaka/sumo_db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inaka/sumo_db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inaka/sumo_db/teams","hooks_url":"https://api.github.com/repos/inaka/sumo_db/hooks","issue_events_url":"https://api.github.com/repos/inaka/sumo_db/issues/events{/number}","events_url":"https://api.github.com/repos/inaka/sumo_db/events","assignees_url":"https://api.github.com/repos/inaka/sumo_db/assignees{/user}","branches_url":"https://api.github.com/repos/inaka/sumo_db/branches{/branch}","tags_url":"https://api.github.com/repos/inaka/sumo_db/tags","blobs_url":"https://api.github.com/repos/inaka/sumo_db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inaka/sumo_db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inaka/sumo_db/git/refs{/sha}","trees_url":"https://api.github.com/repos/inaka/sumo_db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inaka/sumo_db/statuses/{sha}","languages_url":"https://api.github.com/repos/inaka/sumo_db/languages","stargazers_url":"https://api.github.com/repos/inaka/sumo_db/stargazers","contributors_url":"https://api.github.com/repos/inaka/sumo_db/contributors","subscribers_url":"https://api.github.com/repos/inaka/sumo_db/subscribers","subscription_url":"https://api.github.com/repos/inaka/sumo_db/subscription","commits_url":"https://api.github.com/repos/inaka/sumo_db/commits{/sha}","git_commits_url":"https://api.github.com/repos/inaka/sumo_db/git/commits{/sha}","comments_url":"https://api.github.com/repos/inaka/sumo_db/comments{/number}","issue_comment_url":"https://api.github.com/repos/inaka/sumo_db/issues/comments{/number}","contents_url":"https://api.github.com/repos/inaka/sumo_db/contents/{+path}","compare_url":"https://api.github.com/repos/inaka/sumo_db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inaka/sumo_db/merges","archive_url":"https://api.github.com/repos/inaka/sumo_db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inaka/sumo_db/downloads","issues_url":"https://api.github.com/repos/inaka/sumo_db/issues{/number}","pulls_url":"https://api.github.com/repos/inaka/sumo_db/pulls{/number}","milestones_url":"https://api.github.com/repos/inaka/sumo_db/milestones{/number}","notifications_url":"https://api.github.com/repos/inaka/sumo_db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inaka/sumo_db/labels{/name}","releases_url":"https://api.github.com/repos/inaka/sumo_db/releases{/id}","created_at":"2013-07-16T19:15:37Z","updated_at":"2015-12-04T09:49:01Z","pushed_at":"2015-12-09T18:08:49Z","git_url":"git://github.com/inaka/sumo_db.git","ssh_url":"git@github.com:inaka/sumo_db.git","clone_url":"https://github.com/inaka/sumo_db.git","svn_url":"https://github.com/inaka/sumo_db","homepage":"http://inaka.github.io/sumo_db/","size":959,"stargazers_count":76,"watchers_count":76,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":40,"forks":15,"open_issues":40,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inaka/sumo_db/pulls/215"},"html":{"href":"https://github.com/inaka/sumo_db/pull/215"},"issue":{"href":"https://api.github.com/repos/inaka/sumo_db/issues/215"},"comments":{"href":"https://api.github.com/repos/inaka/sumo_db/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/inaka/sumo_db/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/inaka/sumo_db/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inaka/sumo_db/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/inaka/sumo_db/statuses/5db9f0c15fd5846a07210b27e7042a0fec242f71"}}}}