{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift-package-manager/issues/351","repository_url":"https://api.github.com/repos/apple/swift-package-manager","labels_url":"https://api.github.com/repos/apple/swift-package-manager/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift-package-manager/issues/351/comments","events_url":"https://api.github.com/repos/apple/swift-package-manager/issues/351/events","html_url":"https://github.com/apple/swift-package-manager/pull/351","id":155348626,"number":351,"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},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":6,"created_at":"2016-05-17T20:02:59Z","updated_at":"2016-05-18T16:21:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift-package-manager/pulls/351","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"},"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."},"comment":{"url":"https://api.github.com/repos/apple/swift-package-manager/issues/comments/220080355","html_url":"https://github.com/apple/swift-package-manager/pull/351#issuecomment-220080355","issue_url":"https://api.github.com/repos/apple/swift-package-manager/issues/351","id":220080355,"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},"created_at":"2016-05-18T16:21:03Z","updated_at":"2016-05-18T16:21:03Z","body":"Ah yes, the PackageType-to-PackageModel rename.  Rebased."}}