{"action":"created","comment":{"url":"https://api.github.com/repos/allenai/sbt-plugins/pulls/comments/29476727","id":29476727,"diff_hunk":"@@ -68,15 +72,18 @@ object ReleasePlugin extends AutoPlugin {\n     )\n   }\n \n-  val checkBranchIsNotMaster: State=>State = { st: State =>\n+  def checkBranchNotBlacklisted(blacklist: Set[String]): State=>State = { st: State =>\n     val vcs = Project.extract(st).get(ReleaseKeys.versionControlSystem).getOrElse {\n       sys.error(\"Aborting release. Working directory is not a repository of a recognized VCS.\")\n     }\n \n-    if (vcs.currentBranch == \"master\") {\n-      sys.error(\"Current branch is master.  At AI2, releases are done from another branch and \" +\n-        \"then merged into master via pull request.  Shippable, our continuous build system does \" +\n-        \"the actual publishing of the artifacts.\")\n+    val branch = vcs.currentBranch\n+    println(branch)","path":"src/main/scala/org/allenai/plugins/ReleasePlugin.scala","position":30,"original_position":30,"commit_id":"837083bc80eb3a0897ef33561a6dcb46d7a0c8eb","original_commit_id":"837083bc80eb3a0897ef33561a6dcb46d7a0c8eb","user":{"login":"jkinkead","id":1548392,"avatar_url":"https://avatars.githubusercontent.com/u/1548392?v=3","gravatar_id":"","url":"https://api.github.com/users/jkinkead","html_url":"https://github.com/jkinkead","followers_url":"https://api.github.com/users/jkinkead/followers","following_url":"https://api.github.com/users/jkinkead/following{/other_user}","gists_url":"https://api.github.com/users/jkinkead/gists{/gist_id}","starred_url":"https://api.github.com/users/jkinkead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkinkead/subscriptions","organizations_url":"https://api.github.com/users/jkinkead/orgs","repos_url":"https://api.github.com/users/jkinkead/repos","events_url":"https://api.github.com/users/jkinkead/events{/privacy}","received_events_url":"https://api.github.com/users/jkinkead/received_events","type":"User","site_admin":false},"body":"Probably don't want the printlns in.","created_at":"2015-04-30T22:28:08Z","updated_at":"2015-04-30T22:28:08Z","html_url":"https://github.com/allenai/sbt-plugins/pull/143#discussion_r29476727","pull_request_url":"https://api.github.com/repos/allenai/sbt-plugins/pulls/143","_links":{"self":{"href":"https://api.github.com/repos/allenai/sbt-plugins/pulls/comments/29476727"},"html":{"href":"https://github.com/allenai/sbt-plugins/pull/143#discussion_r29476727"},"pull_request":{"href":"https://api.github.com/repos/allenai/sbt-plugins/pulls/143"}}},"pull_request":{"url":"https://api.github.com/repos/allenai/sbt-plugins/pulls/143","id":34506255,"html_url":"https://github.com/allenai/sbt-plugins/pull/143","diff_url":"https://github.com/allenai/sbt-plugins/pull/143.diff","patch_url":"https://github.com/allenai/sbt-plugins/pull/143.patch","issue_url":"https://api.github.com/repos/allenai/sbt-plugins/issues/143","number":143,"state":"open","locked":false,"title":"Make blacklist configurable.","user":{"login":"schmmd","id":954798,"avatar_url":"https://avatars.githubusercontent.com/u/954798?v=3","gravatar_id":"","url":"https://api.github.com/users/schmmd","html_url":"https://github.com/schmmd","followers_url":"https://api.github.com/users/schmmd/followers","following_url":"https://api.github.com/users/schmmd/following{/other_user}","gists_url":"https://api.github.com/users/schmmd/gists{/gist_id}","starred_url":"https://api.github.com/users/schmmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmmd/subscriptions","organizations_url":"https://api.github.com/users/schmmd/orgs","repos_url":"https://api.github.com/users/schmmd/repos","events_url":"https://api.github.com/users/schmmd/events{/privacy}","received_events_url":"https://api.github.com/users/schmmd/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-30T22:11:26Z","updated_at":"2015-04-30T22:28:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3cd01bf06c096a93fa313a42a9adce77aa685db5","assignee":{"login":"jkinkead","id":1548392,"avatar_url":"https://avatars.githubusercontent.com/u/1548392?v=3","gravatar_id":"","url":"https://api.github.com/users/jkinkead","html_url":"https://github.com/jkinkead","followers_url":"https://api.github.com/users/jkinkead/followers","following_url":"https://api.github.com/users/jkinkead/following{/other_user}","gists_url":"https://api.github.com/users/jkinkead/gists{/gist_id}","starred_url":"https://api.github.com/users/jkinkead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkinkead/subscriptions","organizations_url":"https://api.github.com/users/jkinkead/orgs","repos_url":"https://api.github.com/users/jkinkead/repos","events_url":"https://api.github.com/users/jkinkead/events{/privacy}","received_events_url":"https://api.github.com/users/jkinkead/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/allenai/sbt-plugins/pulls/143/commits","review_comments_url":"https://api.github.com/repos/allenai/sbt-plugins/pulls/143/comments","review_comment_url":"https://api.github.com/repos/allenai/sbt-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/allenai/sbt-plugins/issues/143/comments","statuses_url":"https://api.github.com/repos/allenai/sbt-plugins/statuses/837083bc80eb3a0897ef33561a6dcb46d7a0c8eb","head":{"label":"allenai:configurable","ref":"configurable","sha":"837083bc80eb3a0897ef33561a6dcb46d7a0c8eb","user":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"repo":{"id":15742018,"name":"sbt-plugins","full_name":"allenai/sbt-plugins","owner":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allenai/sbt-plugins","description":"SBT Plugins for AI2 projects","fork":false,"url":"https://api.github.com/repos/allenai/sbt-plugins","forks_url":"https://api.github.com/repos/allenai/sbt-plugins/forks","keys_url":"https://api.github.com/repos/allenai/sbt-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allenai/sbt-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allenai/sbt-plugins/teams","hooks_url":"https://api.github.com/repos/allenai/sbt-plugins/hooks","issue_events_url":"https://api.github.com/repos/allenai/sbt-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/allenai/sbt-plugins/events","assignees_url":"https://api.github.com/repos/allenai/sbt-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/allenai/sbt-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/allenai/sbt-plugins/tags","blobs_url":"https://api.github.com/repos/allenai/sbt-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allenai/sbt-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allenai/sbt-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/allenai/sbt-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allenai/sbt-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/allenai/sbt-plugins/languages","stargazers_url":"https://api.github.com/repos/allenai/sbt-plugins/stargazers","contributors_url":"https://api.github.com/repos/allenai/sbt-plugins/contributors","subscribers_url":"https://api.github.com/repos/allenai/sbt-plugins/subscribers","subscription_url":"https://api.github.com/repos/allenai/sbt-plugins/subscription","commits_url":"https://api.github.com/repos/allenai/sbt-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/allenai/sbt-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/allenai/sbt-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/allenai/sbt-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/allenai/sbt-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/allenai/sbt-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allenai/sbt-plugins/merges","archive_url":"https://api.github.com/repos/allenai/sbt-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allenai/sbt-plugins/downloads","issues_url":"https://api.github.com/repos/allenai/sbt-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/allenai/sbt-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/allenai/sbt-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/allenai/sbt-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allenai/sbt-plugins/labels{/name}","releases_url":"https://api.github.com/repos/allenai/sbt-plugins/releases{/id}","created_at":"2014-01-08T17:07:07Z","updated_at":"2015-04-30T21:28:24Z","pushed_at":"2015-04-30T22:11:26Z","git_url":"git://github.com/allenai/sbt-plugins.git","ssh_url":"git@github.com:allenai/sbt-plugins.git","clone_url":"https://github.com/allenai/sbt-plugins.git","svn_url":"https://github.com/allenai/sbt-plugins","homepage":"","size":1731,"stargazers_count":8,"watchers_count":8,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":12,"forks":7,"open_issues":12,"watchers":8,"default_branch":"master"}},"base":{"label":"allenai:master","ref":"master","sha":"97ad6c18363c9c60a8a1b55405496fe592ded4d4","user":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"repo":{"id":15742018,"name":"sbt-plugins","full_name":"allenai/sbt-plugins","owner":{"login":"allenai","id":5667695,"avatar_url":"https://avatars.githubusercontent.com/u/5667695?v=3","gravatar_id":"","url":"https://api.github.com/users/allenai","html_url":"https://github.com/allenai","followers_url":"https://api.github.com/users/allenai/followers","following_url":"https://api.github.com/users/allenai/following{/other_user}","gists_url":"https://api.github.com/users/allenai/gists{/gist_id}","starred_url":"https://api.github.com/users/allenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenai/subscriptions","organizations_url":"https://api.github.com/users/allenai/orgs","repos_url":"https://api.github.com/users/allenai/repos","events_url":"https://api.github.com/users/allenai/events{/privacy}","received_events_url":"https://api.github.com/users/allenai/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allenai/sbt-plugins","description":"SBT Plugins for AI2 projects","fork":false,"url":"https://api.github.com/repos/allenai/sbt-plugins","forks_url":"https://api.github.com/repos/allenai/sbt-plugins/forks","keys_url":"https://api.github.com/repos/allenai/sbt-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allenai/sbt-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allenai/sbt-plugins/teams","hooks_url":"https://api.github.com/repos/allenai/sbt-plugins/hooks","issue_events_url":"https://api.github.com/repos/allenai/sbt-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/allenai/sbt-plugins/events","assignees_url":"https://api.github.com/repos/allenai/sbt-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/allenai/sbt-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/allenai/sbt-plugins/tags","blobs_url":"https://api.github.com/repos/allenai/sbt-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allenai/sbt-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allenai/sbt-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/allenai/sbt-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allenai/sbt-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/allenai/sbt-plugins/languages","stargazers_url":"https://api.github.com/repos/allenai/sbt-plugins/stargazers","contributors_url":"https://api.github.com/repos/allenai/sbt-plugins/contributors","subscribers_url":"https://api.github.com/repos/allenai/sbt-plugins/subscribers","subscription_url":"https://api.github.com/repos/allenai/sbt-plugins/subscription","commits_url":"https://api.github.com/repos/allenai/sbt-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/allenai/sbt-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/allenai/sbt-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/allenai/sbt-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/allenai/sbt-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/allenai/sbt-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allenai/sbt-plugins/merges","archive_url":"https://api.github.com/repos/allenai/sbt-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allenai/sbt-plugins/downloads","issues_url":"https://api.github.com/repos/allenai/sbt-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/allenai/sbt-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/allenai/sbt-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/allenai/sbt-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allenai/sbt-plugins/labels{/name}","releases_url":"https://api.github.com/repos/allenai/sbt-plugins/releases{/id}","created_at":"2014-01-08T17:07:07Z","updated_at":"2015-04-30T21:28:24Z","pushed_at":"2015-04-30T22:11:26Z","git_url":"git://github.com/allenai/sbt-plugins.git","ssh_url":"git@github.com:allenai/sbt-plugins.git","clone_url":"https://github.com/allenai/sbt-plugins.git","svn_url":"https://github.com/allenai/sbt-plugins","homepage":"","size":1731,"stargazers_count":8,"watchers_count":8,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":12,"forks":7,"open_issues":12,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/allenai/sbt-plugins/pulls/143"},"html":{"href":"https://github.com/allenai/sbt-plugins/pull/143"},"issue":{"href":"https://api.github.com/repos/allenai/sbt-plugins/issues/143"},"comments":{"href":"https://api.github.com/repos/allenai/sbt-plugins/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/allenai/sbt-plugins/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/allenai/sbt-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/allenai/sbt-plugins/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/allenai/sbt-plugins/statuses/837083bc80eb3a0897ef33561a6dcb46d7a0c8eb"}}}}