{"action":"closed","number":18,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls/18","id":28804834,"html_url":"https://github.com/ministryofjustice/salt-shaker/pull/18","diff_url":"https://github.com/ministryofjustice/salt-shaker/pull/18.diff","patch_url":"https://github.com/ministryofjustice/salt-shaker/pull/18.patch","issue_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/18","number":18,"state":"closed","locked":false,"title":"Fixes empty formula dependencies edge case","user":{"login":"milosgajdos83","id":1392526,"avatar_url":"https://avatars.githubusercontent.com/u/1392526?v=3","gravatar_id":"","url":"https://api.github.com/users/milosgajdos83","html_url":"https://github.com/milosgajdos83","followers_url":"https://api.github.com/users/milosgajdos83/followers","following_url":"https://api.github.com/users/milosgajdos83/following{/other_user}","gists_url":"https://api.github.com/users/milosgajdos83/gists{/gist_id}","starred_url":"https://api.github.com/users/milosgajdos83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milosgajdos83/subscriptions","organizations_url":"https://api.github.com/users/milosgajdos83/orgs","repos_url":"https://api.github.com/users/milosgajdos83/repos","events_url":"https://api.github.com/users/milosgajdos83/events{/privacy}","received_events_url":"https://api.github.com/users/milosgajdos83/received_events","type":"User","site_admin":false},"body":"When a formula has no dependencies but specifies ```metadata.yml```, ```salt-shaker``` crashes. This PR handles this edge case but it's probably not idiomatic Python.\r\n\r\nFixes #17  ","created_at":"2015-02-06T12:24:55Z","updated_at":"2015-02-06T16:49:02Z","closed_at":"2015-02-06T16:49:02Z","merged_at":"2015-02-06T16:49:02Z","merge_commit_sha":"0b76b8d3ca32a352fda8416a31bbbc1019c1f209","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls/18/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls/18/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/18/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/statuses/bd60d8a5457908a829ca4e6664b18a9913d8a85d","head":{"label":"ministryofjustice:zero-dependencies","ref":"zero-dependencies","sha":"bd60d8a5457908a829ca4e6664b18a9913d8a85d","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":22644756,"name":"salt-shaker","full_name":"ministryofjustice/salt-shaker","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/salt-shaker","description":"Opinionated saltstack formula dependency resolver","fork":false,"url":"https://api.github.com/repos/ministryofjustice/salt-shaker","forks_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/forks","keys_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/events","assignees_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/comments/{number}","contents_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/merges","archive_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/releases{/id}","created_at":"2014-08-05T13:36:31Z","updated_at":"2015-02-02T12:37:17Z","pushed_at":"2015-02-06T16:49:02Z","git_url":"git://github.com/ministryofjustice/salt-shaker.git","ssh_url":"git@github.com:ministryofjustice/salt-shaker.git","clone_url":"https://github.com/ministryofjustice/salt-shaker.git","svn_url":"https://github.com/ministryofjustice/salt-shaker","homepage":"","size":453,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":4,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"0b6970cd3bfdf17c559375626f09ac82b0c82469","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":22644756,"name":"salt-shaker","full_name":"ministryofjustice/salt-shaker","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/salt-shaker","description":"Opinionated saltstack formula dependency resolver","fork":false,"url":"https://api.github.com/repos/ministryofjustice/salt-shaker","forks_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/forks","keys_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/events","assignees_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/comments/{number}","contents_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/merges","archive_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/releases{/id}","created_at":"2014-08-05T13:36:31Z","updated_at":"2015-02-02T12:37:17Z","pushed_at":"2015-02-06T16:49:02Z","git_url":"git://github.com/ministryofjustice/salt-shaker.git","ssh_url":"git@github.com:ministryofjustice/salt-shaker.git","clone_url":"https://github.com/ministryofjustice/salt-shaker.git","svn_url":"https://github.com/ministryofjustice/salt-shaker","homepage":"","size":453,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls/18"},"html":{"href":"https://github.com/ministryofjustice/salt-shaker/pull/18"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/18"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/salt-shaker/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/salt-shaker/statuses/bd60d8a5457908a829ca4e6664b18a9913d8a85d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ashb","id":34150,"avatar_url":"https://avatars.githubusercontent.com/u/34150?v=3","gravatar_id":"","url":"https://api.github.com/users/ashb","html_url":"https://github.com/ashb","followers_url":"https://api.github.com/users/ashb/followers","following_url":"https://api.github.com/users/ashb/following{/other_user}","gists_url":"https://api.github.com/users/ashb/gists{/gist_id}","starred_url":"https://api.github.com/users/ashb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashb/subscriptions","organizations_url":"https://api.github.com/users/ashb/orgs","repos_url":"https://api.github.com/users/ashb/repos","events_url":"https://api.github.com/users/ashb/events{/privacy}","received_events_url":"https://api.github.com/users/ashb/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":34,"deletions":4,"changed_files":2}}