{"action":"opened","number":351,"pull_request":{"url":"https://api.github.com/repos/apple/swift-package-manager/pulls/351","id":70420629,"html_url":"https://github.com/apple/swift-package-manager/pull/351","diff_url":"https://github.com/apple/swift-package-manager/pull/351.diff","patch_url":"https://github.com/apple/swift-package-manager/pull/351.patch","issue_url":"https://api.github.com/repos/apple/swift-package-manager/issues/351","number":351,"state":"open","locked":false,"title":"<https://bugs.swift.org/browse/SR-1540> Make bootstrap script able to pass down a version string to display for --version option","user":{"login":"abertelrud","id":18221004,"avatar_url":"https://avatars.githubusercontent.com/u/18221004?v=3","gravatar_id":"","url":"https://api.github.com/users/abertelrud","html_url":"https://github.com/abertelrud","followers_url":"https://api.github.com/users/abertelrud/followers","following_url":"https://api.github.com/users/abertelrud/following{/other_user}","gists_url":"https://api.github.com/users/abertelrud/gists{/gist_id}","starred_url":"https://api.github.com/users/abertelrud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abertelrud/subscriptions","organizations_url":"https://api.github.com/users/abertelrud/orgs","repos_url":"https://api.github.com/users/abertelrud/repos","events_url":"https://api.github.com/users/abertelrud/events{/privacy}","received_events_url":"https://api.github.com/users/abertelrud/received_events","type":"User","site_admin":false},"body":"This adds a new --version-string option to the bootstrap script. When set, this causes the bootstrap script to emit a header containing a function that returns the string literal, and a module map so Swift can find it. main.swift is also modified to conditionally invoke this function to get the string to print out.\r\n\r\nThe net effect of this is to allow customization of the string that swiftpm prints out for the --version flag.","created_at":"2016-05-17T20:02:59Z","updated_at":"2016-05-17T20:02:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/351/commits","review_comments_url":"https://api.github.com/repos/apple/swift-package-manager/pulls/351/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/351/comments","statuses_url":"https://api.github.com/repos/apple/swift-package-manager/statuses/af3124a2d3ee551376d9fd48b911b50f234d822f","head":{"label":"abertelrud:master","ref":"master","sha":"af3124a2d3ee551376d9fd48b911b50f234d822f","user":{"login":"abertelrud","id":18221004,"avatar_url":"https://avatars.githubusercontent.com/u/18221004?v=3","gravatar_id":"","url":"https://api.github.com/users/abertelrud","html_url":"https://github.com/abertelrud","followers_url":"https://api.github.com/users/abertelrud/followers","following_url":"https://api.github.com/users/abertelrud/following{/other_user}","gists_url":"https://api.github.com/users/abertelrud/gists{/gist_id}","starred_url":"https://api.github.com/users/abertelrud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abertelrud/subscriptions","organizations_url":"https://api.github.com/users/abertelrud/orgs","repos_url":"https://api.github.com/users/abertelrud/repos","events_url":"https://api.github.com/users/abertelrud/events{/privacy}","received_events_url":"https://api.github.com/users/abertelrud/received_events","type":"User","site_admin":false},"repo":{"id":55987698,"name":"swift-package-manager","full_name":"abertelrud/swift-package-manager","owner":{"login":"abertelrud","id":18221004,"avatar_url":"https://avatars.githubusercontent.com/u/18221004?v=3","gravatar_id":"","url":"https://api.github.com/users/abertelrud","html_url":"https://github.com/abertelrud","followers_url":"https://api.github.com/users/abertelrud/followers","following_url":"https://api.github.com/users/abertelrud/following{/other_user}","gists_url":"https://api.github.com/users/abertelrud/gists{/gist_id}","starred_url":"https://api.github.com/users/abertelrud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abertelrud/subscriptions","organizations_url":"https://api.github.com/users/abertelrud/orgs","repos_url":"https://api.github.com/users/abertelrud/repos","events_url":"https://api.github.com/users/abertelrud/events{/privacy}","received_events_url":"https://api.github.com/users/abertelrud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abertelrud/swift-package-manager","description":"The Package Manager for the Swift Programming Language","fork":true,"url":"https://api.github.com/repos/abertelrud/swift-package-manager","forks_url":"https://api.github.com/repos/abertelrud/swift-package-manager/forks","keys_url":"https://api.github.com/repos/abertelrud/swift-package-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abertelrud/swift-package-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abertelrud/swift-package-manager/teams","hooks_url":"https://api.github.com/repos/abertelrud/swift-package-manager/hooks","issue_events_url":"https://api.github.com/repos/abertelrud/swift-package-manager/issues/events{/number}","events_url":"https://api.github.com/repos/abertelrud/swift-package-manager/events","assignees_url":"https://api.github.com/repos/abertelrud/swift-package-manager/assignees{/user}","branches_url":"https://api.github.com/repos/abertelrud/swift-package-manager/branches{/branch}","tags_url":"https://api.github.com/repos/abertelrud/swift-package-manager/tags","blobs_url":"https://api.github.com/repos/abertelrud/swift-package-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abertelrud/swift-package-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abertelrud/swift-package-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/abertelrud/swift-package-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abertelrud/swift-package-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/abertelrud/swift-package-manager/languages","stargazers_url":"https://api.github.com/repos/abertelrud/swift-package-manager/stargazers","contributors_url":"https://api.github.com/repos/abertelrud/swift-package-manager/contributors","subscribers_url":"https://api.github.com/repos/abertelrud/swift-package-manager/subscribers","subscription_url":"https://api.github.com/repos/abertelrud/swift-package-manager/subscription","commits_url":"https://api.github.com/repos/abertelrud/swift-package-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/abertelrud/swift-package-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/abertelrud/swift-package-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/abertelrud/swift-package-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/abertelrud/swift-package-manager/contents/{+path}","compare_url":"https://api.github.com/repos/abertelrud/swift-package-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abertelrud/swift-package-manager/merges","archive_url":"https://api.github.com/repos/abertelrud/swift-package-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abertelrud/swift-package-manager/downloads","issues_url":"https://api.github.com/repos/abertelrud/swift-package-manager/issues{/number}","pulls_url":"https://api.github.com/repos/abertelrud/swift-package-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/abertelrud/swift-package-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/abertelrud/swift-package-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abertelrud/swift-package-manager/labels{/name}","releases_url":"https://api.github.com/repos/abertelrud/swift-package-manager/releases{/id}","deployments_url":"https://api.github.com/repos/abertelrud/swift-package-manager/deployments","created_at":"2016-04-11T16:12:30Z","updated_at":"2016-04-11T16:12:31Z","pushed_at":"2016-05-17T19:58:12Z","git_url":"git://github.com/abertelrud/swift-package-manager.git","ssh_url":"git@github.com:abertelrud/swift-package-manager.git","clone_url":"https://github.com/abertelrud/swift-package-manager.git","svn_url":"https://github.com/abertelrud/swift-package-manager","homepage":"","size":1400,"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":"e6a95ea432416ffea58a1265afefb4dc8b3a1a4f","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-17T19:14:13Z","pushed_at":"2016-05-17T19:22: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":1709,"stargazers_count":4070,"watchers_count":4070,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":338,"mirror_url":null,"open_issues_count":14,"forks":338,"open_issues":14,"watchers":4070,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/351"},"html":{"href":"https://github.com/apple/swift-package-manager/pull/351"},"issue":{"href":"https://api.github.com/repos/apple/swift-package-manager/issues/351"},"comments":{"href":"https://api.github.com/repos/apple/swift-package-manager/issues/351/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-package-manager/pulls/351/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/351/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-package-manager/statuses/af3124a2d3ee551376d9fd48b911b50f234d822f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":52,"deletions":4,"changed_files":2}}