{"action":"closed","number":315,"pull_request":{"url":"https://api.github.com/repos/apple/swift-package-manager/pulls/315","id":68986476,"html_url":"https://github.com/apple/swift-package-manager/pull/315","diff_url":"https://github.com/apple/swift-package-manager/pull/315.diff","patch_url":"https://github.com/apple/swift-package-manager/pull/315.patch","issue_url":"https://api.github.com/repos/apple/swift-package-manager/issues/315","number":315,"state":"closed","locked":false,"title":"Add JSON dumper for dependencies","user":{"login":"bhargavg","id":5916302,"avatar_url":"https://avatars.githubusercontent.com/u/5916302?v=3","gravatar_id":"","url":"https://api.github.com/users/bhargavg","html_url":"https://github.com/bhargavg","followers_url":"https://api.github.com/users/bhargavg/followers","following_url":"https://api.github.com/users/bhargavg/following{/other_user}","gists_url":"https://api.github.com/users/bhargavg/gists{/gist_id}","starred_url":"https://api.github.com/users/bhargavg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhargavg/subscriptions","organizations_url":"https://api.github.com/users/bhargavg/orgs","repos_url":"https://api.github.com/users/bhargavg/repos","events_url":"https://api.github.com/users/bhargavg/events{/privacy}","received_events_url":"https://api.github.com/users/bhargavg/received_events","type":"User","site_admin":false},"body":"```bash\r\n$ swift-build --show-dependencies json | jq '.'\r\n{\r\n  \"name\": \"app\",\r\n  \"url\": \"/private/tmp/bhargavg/testspm/app\",\r\n  \"version\": \"0.1.0\",\r\n  \"path\": \"/private/tmp/bhargavg/testspm/app\",\r\n  \"dependencies\": [\r\n    {\r\n      \"name\": \"Vapor\",\r\n      \"url\": \"https://github.com/qutheory/vapor\",\r\n      \"version\": \"0.7.1\",\r\n      \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/Vapor-0.7.1\",\r\n      \"dependencies\": [\r\n        {\r\n          \"name\": \"S4\",\r\n          \"url\": \"https://github.com/open-swift/S4.git\",\r\n          \"version\": \"0.5.0\",\r\n          \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/S4-0.5.0\",\r\n          \"dependencies\": [\r\n            {\r\n              \"name\": \"C7\",\r\n              \"url\": \"https://github.com/open-swift/C7.git\",\r\n              \"version\": \"0.6.0\",\r\n              \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/C7-0.6.0\",\r\n              \"dependencies\": []\r\n            }\r\n          ]\r\n        },\r\n        {\r\n          \"name\": \"String\",\r\n          \"url\": \"https://github.com/Zewo/String.git\",\r\n          \"version\": \"0.5.1\",\r\n          \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/String-0.5.1\",\r\n          \"dependencies\": []\r\n        },\r\n        {\r\n          \"name\": \"JSON\",\r\n          \"url\": \"https://github.com/Zewo/JSON.git\",\r\n          \"version\": \"0.6.0\",\r\n          \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/JSON-0.6.0\",\r\n          \"dependencies\": [\r\n            {\r\n              \"name\": \"StructuredData\",\r\n              \"url\": \"https://github.com/Zewo/StructuredData.git\",\r\n              \"version\": \"0.6.0\",\r\n              \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/StructuredData-0.6.0\",\r\n              \"dependencies\": [\r\n                {\r\n                  \"name\": \"C7\",\r\n                  \"url\": \"https://github.com/open-swift/C7.git\",\r\n                  \"version\": \"0.6.0\",\r\n                  \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/C7-0.6.0\",\r\n                  \"dependencies\": []\r\n                }\r\n              ]\r\n            }\r\n          ]\r\n        },\r\n        {\r\n          \"name\": \"Hummingbird\",\r\n          \"url\": \"https://github.com/ketzusaka/Hummingbird.git\",\r\n          \"version\": \"1.5.0\",\r\n          \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/Hummingbird-1.5.0\",\r\n          \"dependencies\": [\r\n            {\r\n              \"name\": \"Strand\",\r\n              \"url\": \"https://github.com/ketzusaka/Strand.git\",\r\n              \"version\": \"1.2.3\",\r\n              \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/Strand-1.2.3\",\r\n              \"dependencies\": []\r\n            },\r\n            {\r\n              \"name\": \"C7\",\r\n              \"url\": \"https://github.com/open-swift/C7.git\",\r\n              \"version\": \"0.6.0\",\r\n              \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/C7-0.6.0\",\r\n              \"dependencies\": []\r\n            }\r\n          ]\r\n        },\r\n        {\r\n          \"name\": \"HMAC\",\r\n          \"url\": \"https://github.com/CryptoKitten/HMAC.git\",\r\n          \"version\": \"0.5.2\",\r\n          \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/HMAC-0.5.2\",\r\n          \"dependencies\": [\r\n            {\r\n              \"name\": \"CryptoEssentials\",\r\n              \"url\": \"https://github.com/CryptoKitten/CryptoEssentials.git\",\r\n              \"version\": \"0.5.2\",\r\n              \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/CryptoEssentials-0.5.2\",\r\n              \"dependencies\": []\r\n            }\r\n          ]\r\n        },\r\n        {\r\n          \"name\": \"SHA2\",\r\n          \"url\": \"https://github.com/CryptoKitten/SHA2.git\",\r\n          \"version\": \"0.5.1\",\r\n          \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/SHA2-0.5.1\",\r\n          \"dependencies\": [\r\n            {\r\n              \"name\": \"CryptoEssentials\",\r\n              \"url\": \"https://github.com/CryptoKitten/CryptoEssentials.git\",\r\n              \"version\": \"0.5.2\",\r\n              \"path\": \"/private/tmp/bhargavg/testspm/app/Packages/CryptoEssentials-0.5.2\",\r\n              \"dependencies\": []\r\n            }\r\n          ]\r\n        }\r\n      ]\r\n    }\r\n  ]\r\n}\r\n```","created_at":"2016-05-05T09:55:04Z","updated_at":"2016-05-05T23:52:38Z","closed_at":"2016-05-05T23:52:38Z","merged_at":"2016-05-05T23:52:38Z","merge_commit_sha":"3f9350774efcc0bbc77564cb8a1dd36e531d4d48","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/315/commits","review_comments_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/315/comments","review_comment_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-package-manager/issues/315/comments","statuses_url":"https://api.github.com/repos/apple/swift-package-manager/statuses/73a53a5e27eae94bef8ccb7979957f1def468b38","head":{"label":"bhargavg:add-json-dumper","ref":"add-json-dumper","sha":"73a53a5e27eae94bef8ccb7979957f1def468b38","user":{"login":"bhargavg","id":5916302,"avatar_url":"https://avatars.githubusercontent.com/u/5916302?v=3","gravatar_id":"","url":"https://api.github.com/users/bhargavg","html_url":"https://github.com/bhargavg","followers_url":"https://api.github.com/users/bhargavg/followers","following_url":"https://api.github.com/users/bhargavg/following{/other_user}","gists_url":"https://api.github.com/users/bhargavg/gists{/gist_id}","starred_url":"https://api.github.com/users/bhargavg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhargavg/subscriptions","organizations_url":"https://api.github.com/users/bhargavg/orgs","repos_url":"https://api.github.com/users/bhargavg/repos","events_url":"https://api.github.com/users/bhargavg/events{/privacy}","received_events_url":"https://api.github.com/users/bhargavg/received_events","type":"User","site_admin":false},"repo":{"id":52591901,"name":"swift-package-manager","full_name":"bhargavg/swift-package-manager","owner":{"login":"bhargavg","id":5916302,"avatar_url":"https://avatars.githubusercontent.com/u/5916302?v=3","gravatar_id":"","url":"https://api.github.com/users/bhargavg","html_url":"https://github.com/bhargavg","followers_url":"https://api.github.com/users/bhargavg/followers","following_url":"https://api.github.com/users/bhargavg/following{/other_user}","gists_url":"https://api.github.com/users/bhargavg/gists{/gist_id}","starred_url":"https://api.github.com/users/bhargavg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhargavg/subscriptions","organizations_url":"https://api.github.com/users/bhargavg/orgs","repos_url":"https://api.github.com/users/bhargavg/repos","events_url":"https://api.github.com/users/bhargavg/events{/privacy}","received_events_url":"https://api.github.com/users/bhargavg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bhargavg/swift-package-manager","description":"The Package Manager for the Swift Programming Language","fork":true,"url":"https://api.github.com/repos/bhargavg/swift-package-manager","forks_url":"https://api.github.com/repos/bhargavg/swift-package-manager/forks","keys_url":"https://api.github.com/repos/bhargavg/swift-package-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bhargavg/swift-package-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bhargavg/swift-package-manager/teams","hooks_url":"https://api.github.com/repos/bhargavg/swift-package-manager/hooks","issue_events_url":"https://api.github.com/repos/bhargavg/swift-package-manager/issues/events{/number}","events_url":"https://api.github.com/repos/bhargavg/swift-package-manager/events","assignees_url":"https://api.github.com/repos/bhargavg/swift-package-manager/assignees{/user}","branches_url":"https://api.github.com/repos/bhargavg/swift-package-manager/branches{/branch}","tags_url":"https://api.github.com/repos/bhargavg/swift-package-manager/tags","blobs_url":"https://api.github.com/repos/bhargavg/swift-package-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bhargavg/swift-package-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bhargavg/swift-package-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/bhargavg/swift-package-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bhargavg/swift-package-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/bhargavg/swift-package-manager/languages","stargazers_url":"https://api.github.com/repos/bhargavg/swift-package-manager/stargazers","contributors_url":"https://api.github.com/repos/bhargavg/swift-package-manager/contributors","subscribers_url":"https://api.github.com/repos/bhargavg/swift-package-manager/subscribers","subscription_url":"https://api.github.com/repos/bhargavg/swift-package-manager/subscription","commits_url":"https://api.github.com/repos/bhargavg/swift-package-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/bhargavg/swift-package-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/bhargavg/swift-package-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/bhargavg/swift-package-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/bhargavg/swift-package-manager/contents/{+path}","compare_url":"https://api.github.com/repos/bhargavg/swift-package-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bhargavg/swift-package-manager/merges","archive_url":"https://api.github.com/repos/bhargavg/swift-package-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bhargavg/swift-package-manager/downloads","issues_url":"https://api.github.com/repos/bhargavg/swift-package-manager/issues{/number}","pulls_url":"https://api.github.com/repos/bhargavg/swift-package-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/bhargavg/swift-package-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/bhargavg/swift-package-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bhargavg/swift-package-manager/labels{/name}","releases_url":"https://api.github.com/repos/bhargavg/swift-package-manager/releases{/id}","deployments_url":"https://api.github.com/repos/bhargavg/swift-package-manager/deployments","created_at":"2016-02-26T09:01:06Z","updated_at":"2016-02-26T09:01:07Z","pushed_at":"2016-05-05T09:52:44Z","git_url":"git://github.com/bhargavg/swift-package-manager.git","ssh_url":"git@github.com:bhargavg/swift-package-manager.git","clone_url":"https://github.com/bhargavg/swift-package-manager.git","svn_url":"https://github.com/bhargavg/swift-package-manager","homepage":"","size":1249,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"apple:master","ref":"master","sha":"ceee3364fd7f27cb2a23849a4f993d1f6c04e3ae","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":44840041,"name":"swift-package-manager","full_name":"apple/swift-package-manager","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift-package-manager","description":"The Package Manager for the Swift Programming Language","fork":false,"url":"https://api.github.com/repos/apple/swift-package-manager","forks_url":"https://api.github.com/repos/apple/swift-package-manager/forks","keys_url":"https://api.github.com/repos/apple/swift-package-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-package-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-package-manager/teams","hooks_url":"https://api.github.com/repos/apple/swift-package-manager/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-package-manager/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-package-manager/events","assignees_url":"https://api.github.com/repos/apple/swift-package-manager/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-package-manager/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-package-manager/tags","blobs_url":"https://api.github.com/repos/apple/swift-package-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-package-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-package-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-package-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-package-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-package-manager/languages","stargazers_url":"https://api.github.com/repos/apple/swift-package-manager/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-package-manager/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-package-manager/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-package-manager/subscription","commits_url":"https://api.github.com/repos/apple/swift-package-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-package-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-package-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-package-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-package-manager/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-package-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-package-manager/merges","archive_url":"https://api.github.com/repos/apple/swift-package-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-package-manager/downloads","issues_url":"https://api.github.com/repos/apple/swift-package-manager/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-package-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-package-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-package-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-package-manager/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-package-manager/releases{/id}","deployments_url":"https://api.github.com/repos/apple/swift-package-manager/deployments","created_at":"2015-10-23T21:41:12Z","updated_at":"2016-05-05T23:50:10Z","pushed_at":"2016-05-05T23:52:38Z","git_url":"git://github.com/apple/swift-package-manager.git","ssh_url":"git@github.com:apple/swift-package-manager.git","clone_url":"https://github.com/apple/swift-package-manager.git","svn_url":"https://github.com/apple/swift-package-manager","homepage":"","size":1520,"stargazers_count":3999,"watchers_count":3999,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":334,"mirror_url":null,"open_issues_count":22,"forks":334,"open_issues":22,"watchers":3999,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/315"},"html":{"href":"https://github.com/apple/swift-package-manager/pull/315"},"issue":{"href":"https://api.github.com/repos/apple/swift-package-manager/issues/315"},"comments":{"href":"https://api.github.com/repos/apple/swift-package-manager/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-package-manager/statuses/73a53a5e27eae94bef8ccb7979957f1def468b38"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ddunbar","id":106625,"avatar_url":"https://avatars.githubusercontent.com/u/106625?v=3","gravatar_id":"","url":"https://api.github.com/users/ddunbar","html_url":"https://github.com/ddunbar","followers_url":"https://api.github.com/users/ddunbar/followers","following_url":"https://api.github.com/users/ddunbar/following{/other_user}","gists_url":"https://api.github.com/users/ddunbar/gists{/gist_id}","starred_url":"https://api.github.com/users/ddunbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddunbar/subscriptions","organizations_url":"https://api.github.com/users/ddunbar/orgs","repos_url":"https://api.github.com/users/ddunbar/repos","events_url":"https://api.github.com/users/ddunbar/events{/privacy}","received_events_url":"https://api.github.com/users/ddunbar/received_events","type":"User","site_admin":false},"comments":4,"review_comments":1,"commits":1,"additions":29,"deletions":1,"changed_files":2}}