{"action":"created","comment":{"url":"https://api.github.com/repos/dart-lang/pub/pulls/comments/138989561","pull_request_review_id":62861494,"id":138989561,"diff_hunk":"@@ -29,13 +30,53 @@ final _packageName = new RegExp(\n /// The default SDK upper bound constraint for packages that don't declare one.\n ///\n /// This provides a sane default for packages that don't have an upper bound.\n-final _defaultUpperBoundSdkConstraint = new VersionConstraint.parse(\"<2.0.0\");\n+final VersionRange _defaultUpperBoundSdkConstraint =\n+    new VersionConstraint.parse(\"<2.0.0\");\n+\n+/// The upper bound contraint that matches the dev sdk.","path":"lib/src/pubspec.dart","position":16,"original_position":16,"commit_id":"e99ac7ace2418411c352601e8a9ac3b62fef8cbd","original_commit_id":"e99ac7ace2418411c352601e8a9ac3b62fef8cbd","user":{"login":"munificent","id":46275,"avatar_url":"https://avatars0.githubusercontent.com/u/46275?v=4","gravatar_id":"","url":"https://api.github.com/users/munificent","html_url":"https://github.com/munificent","followers_url":"https://api.github.com/users/munificent/followers","following_url":"https://api.github.com/users/munificent/following{/other_user}","gists_url":"https://api.github.com/users/munificent/gists{/gist_id}","starred_url":"https://api.github.com/users/munificent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munificent/subscriptions","organizations_url":"https://api.github.com/users/munificent/orgs","repos_url":"https://api.github.com/users/munificent/repos","events_url":"https://api.github.com/users/munificent/events{/privacy}","received_events_url":"https://api.github.com/users/munificent/received_events","type":"User","site_admin":false},"body":"\"sdk\", here and elsewhere.","created_at":"2017-09-14T19:30:34Z","updated_at":"2017-09-14T19:36:07Z","html_url":"https://github.com/dart-lang/pub/pull/1704#discussion_r138989561","pull_request_url":"https://api.github.com/repos/dart-lang/pub/pulls/1704","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dart-lang/pub/pulls/comments/138989561"},"html":{"href":"https://github.com/dart-lang/pub/pull/1704#discussion_r138989561"},"pull_request":{"href":"https://api.github.com/repos/dart-lang/pub/pulls/1704"}}},"pull_request":{"url":"https://api.github.com/repos/dart-lang/pub/pulls/1704","id":141139121,"html_url":"https://github.com/dart-lang/pub/pull/1704","diff_url":"https://github.com/dart-lang/pub/pull/1704.diff","patch_url":"https://github.com/dart-lang/pub/pull/1704.patch","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1704","number":1704,"state":"open","locked":false,"title":"Add default upper bound Dart SDK constraint override from 2.0.0 -> 2.0.0-dev.infinity","user":{"login":"jakemac53","id":984921,"avatar_url":"https://avatars3.githubusercontent.com/u/984921?v=4","gravatar_id":"","url":"https://api.github.com/users/jakemac53","html_url":"https://github.com/jakemac53","followers_url":"https://api.github.com/users/jakemac53/followers","following_url":"https://api.github.com/users/jakemac53/following{/other_user}","gists_url":"https://api.github.com/users/jakemac53/gists{/gist_id}","starred_url":"https://api.github.com/users/jakemac53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakemac53/subscriptions","organizations_url":"https://api.github.com/users/jakemac53/orgs","repos_url":"https://api.github.com/users/jakemac53/repos","events_url":"https://api.github.com/users/jakemac53/events{/privacy}","received_events_url":"https://api.github.com/users/jakemac53/received_events","type":"User","site_admin":false},"body":"Also introduces the PUB_ALLOW_PRERELEASE_SDK environment variable which can override this behavior. Valid values are `true` (default), `false`, and `quiet` (true but no log message about the override).\r\n\r\nFixes https://github.com/dart-lang/pub/issues/1692","created_at":"2017-09-14T17:57:20Z","updated_at":"2017-09-14T19:36:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c46edeaf0dd8b69ce7a9888168f1d8a9ccc5a878","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dart-lang/pub/pulls/1704/commits","review_comments_url":"https://api.github.com/repos/dart-lang/pub/pulls/1704/comments","review_comment_url":"https://api.github.com/repos/dart-lang/pub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1704/comments","statuses_url":"https://api.github.com/repos/dart-lang/pub/statuses/e99ac7ace2418411c352601e8a9ac3b62fef8cbd","head":{"label":"dart-lang:allow-prerelease-sdk-var","ref":"allow-prerelease-sdk-var","sha":"e99ac7ace2418411c352601e8a9ac3b62fef8cbd","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars0.githubusercontent.com/u/1609975?v=4","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":35700184,"name":"pub","full_name":"dart-lang/pub","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars0.githubusercontent.com/u/1609975?v=4","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/pub","description":"The package manager for Dart","fork":false,"url":"https://api.github.com/repos/dart-lang/pub","forks_url":"https://api.github.com/repos/dart-lang/pub/forks","keys_url":"https://api.github.com/repos/dart-lang/pub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/pub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/pub/teams","hooks_url":"https://api.github.com/repos/dart-lang/pub/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/pub/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/pub/events","assignees_url":"https://api.github.com/repos/dart-lang/pub/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/pub/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/pub/tags","blobs_url":"https://api.github.com/repos/dart-lang/pub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/pub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/pub/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/pub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/pub/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/pub/languages","stargazers_url":"https://api.github.com/repos/dart-lang/pub/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/pub/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/pub/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/pub/subscription","commits_url":"https://api.github.com/repos/dart-lang/pub/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/pub/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/pub/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/pub/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/pub/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/pub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/pub/merges","archive_url":"https://api.github.com/repos/dart-lang/pub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/pub/downloads","issues_url":"https://api.github.com/repos/dart-lang/pub/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/pub/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/pub/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/pub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/pub/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/pub/releases{/id}","deployments_url":"https://api.github.com/repos/dart-lang/pub/deployments","created_at":"2015-05-15T22:36:26Z","updated_at":"2017-09-04T03:13:00Z","pushed_at":"2017-09-14T17:57:21Z","git_url":"git://github.com/dart-lang/pub.git","ssh_url":"git@github.com:dart-lang/pub.git","clone_url":"https://github.com/dart-lang/pub.git","svn_url":"https://github.com/dart-lang/pub","homepage":"https://www.dartlang.org/tools/pub","size":5309,"stargazers_count":48,"watchers_count":48,"language":"Dart","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":137,"forks":30,"open_issues":137,"watchers":48,"default_branch":"master"}},"base":{"label":"dart-lang:master","ref":"master","sha":"ebc64f7e5f1a1f7798ccff6d29dc596278f43136","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars0.githubusercontent.com/u/1609975?v=4","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":35700184,"name":"pub","full_name":"dart-lang/pub","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars0.githubusercontent.com/u/1609975?v=4","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/pub","description":"The package manager for Dart","fork":false,"url":"https://api.github.com/repos/dart-lang/pub","forks_url":"https://api.github.com/repos/dart-lang/pub/forks","keys_url":"https://api.github.com/repos/dart-lang/pub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/pub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/pub/teams","hooks_url":"https://api.github.com/repos/dart-lang/pub/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/pub/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/pub/events","assignees_url":"https://api.github.com/repos/dart-lang/pub/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/pub/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/pub/tags","blobs_url":"https://api.github.com/repos/dart-lang/pub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/pub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/pub/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/pub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/pub/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/pub/languages","stargazers_url":"https://api.github.com/repos/dart-lang/pub/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/pub/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/pub/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/pub/subscription","commits_url":"https://api.github.com/repos/dart-lang/pub/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/pub/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/pub/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/pub/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/pub/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/pub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/pub/merges","archive_url":"https://api.github.com/repos/dart-lang/pub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/pub/downloads","issues_url":"https://api.github.com/repos/dart-lang/pub/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/pub/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/pub/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/pub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/pub/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/pub/releases{/id}","deployments_url":"https://api.github.com/repos/dart-lang/pub/deployments","created_at":"2015-05-15T22:36:26Z","updated_at":"2017-09-04T03:13:00Z","pushed_at":"2017-09-14T17:57:21Z","git_url":"git://github.com/dart-lang/pub.git","ssh_url":"git@github.com:dart-lang/pub.git","clone_url":"https://github.com/dart-lang/pub.git","svn_url":"https://github.com/dart-lang/pub","homepage":"https://www.dartlang.org/tools/pub","size":5309,"stargazers_count":48,"watchers_count":48,"language":"Dart","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":137,"forks":30,"open_issues":137,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-lang/pub/pulls/1704"},"html":{"href":"https://github.com/dart-lang/pub/pull/1704"},"issue":{"href":"https://api.github.com/repos/dart-lang/pub/issues/1704"},"comments":{"href":"https://api.github.com/repos/dart-lang/pub/issues/1704/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-lang/pub/pulls/1704/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-lang/pub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-lang/pub/pulls/1704/commits"},"statuses":{"href":"https://api.github.com/repos/dart-lang/pub/statuses/e99ac7ace2418411c352601e8a9ac3b62fef8cbd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"munificent"}}