{"action":"created","comment":{"url":"https://api.github.com/repos/bazelbuild/buildtools/pulls/comments/177707514","pull_request_review_id":107625765,"id":177707514,"diff_hunk":"@@ -1,8 +1,8 @@\n set -e\n \n-INPUT=\"def f(): pass\"  # formatted differently in build and bzl modes\n-BUILD_OUTPUT=\"def f(): pass\"\n-BZL_OUTPUT=\"def f():\\n    pass\"\n+INPUT=\"foo(tags=['b', 'a'],srcs=['d', 'c'])\"  # formatted differently in build and bzl modes\n+BUILD_OUTPUT=\"foo(\\n    srcs = [\\n        \\\"c\\\",\\n        \\\"d\\\",\\n    ],\\n    tags = [\\n        \\\"a\\\",\\n        \\\"b\\\",\\n    ],\\n)\"\n+BZL_OUTPUT=\"foo(\\n    tags = [\\n        \\\"b\\\",\\n        \\\"a\\\",\\n    ],\\n    srcs = [\\n        \\\"d\\\",\\n        \\\"c\\\",\\n    ],\\n)\"","path":"buildifier/integration_test.sh","position":null,"original_position":8,"commit_id":"611ab4598869a1c349889f28d05dafff48b310b0","original_commit_id":"601c1b822125aa456b86f31b5d85a2c10cf6ce75","user":{"login":"vladmos","id":223875,"avatar_url":"https://avatars0.githubusercontent.com/u/223875?v=4","gravatar_id":"","url":"https://api.github.com/users/vladmos","html_url":"https://github.com/vladmos","followers_url":"https://api.github.com/users/vladmos/followers","following_url":"https://api.github.com/users/vladmos/following{/other_user}","gists_url":"https://api.github.com/users/vladmos/gists{/gist_id}","starred_url":"https://api.github.com/users/vladmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladmos/subscriptions","organizations_url":"https://api.github.com/users/vladmos/orgs","repos_url":"https://api.github.com/users/vladmos/repos","events_url":"https://api.github.com/users/vladmos/events{/privacy}","received_events_url":"https://api.github.com/users/vladmos/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-03-28T10:39:38Z","updated_at":"2018-03-28T10:39:38Z","html_url":"https://github.com/bazelbuild/buildtools/pull/251#discussion_r177707514","pull_request_url":"https://api.github.com/repos/bazelbuild/buildtools/pulls/251","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/bazelbuild/buildtools/pulls/comments/177707514"},"html":{"href":"https://github.com/bazelbuild/buildtools/pull/251#discussion_r177707514"},"pull_request":{"href":"https://api.github.com/repos/bazelbuild/buildtools/pulls/251"}},"in_reply_to_id":177681253},"pull_request":{"url":"https://api.github.com/repos/bazelbuild/buildtools/pulls/251","id":177838502,"html_url":"https://github.com/bazelbuild/buildtools/pull/251","diff_url":"https://github.com/bazelbuild/buildtools/pull/251.diff","patch_url":"https://github.com/bazelbuild/buildtools/pull/251.patch","issue_url":"https://api.github.com/repos/bazelbuild/buildtools/issues/251","number":251,"state":"open","locked":false,"title":"Do not rewrite files in bzl mode","user":{"login":"vladmos","id":223875,"avatar_url":"https://avatars0.githubusercontent.com/u/223875?v=4","gravatar_id":"","url":"https://api.github.com/users/vladmos","html_url":"https://github.com/vladmos","followers_url":"https://api.github.com/users/vladmos/followers","following_url":"https://api.github.com/users/vladmos/following{/other_user}","gists_url":"https://api.github.com/users/vladmos/gists{/gist_id}","starred_url":"https://api.github.com/users/vladmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladmos/subscriptions","organizations_url":"https://api.github.com/users/vladmos/orgs","repos_url":"https://api.github.com/users/vladmos/repos","events_url":"https://api.github.com/users/vladmos/events{/privacy}","received_events_url":"https://api.github.com/users/vladmos/received_events","type":"User","site_admin":false},"body":"Also, fix .stripslashes.golden tests that were previously not running.","created_at":"2018-03-27T19:16:27Z","updated_at":"2018-03-28T10:39:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b14bfeff0e6e36966f8b07276acc258094863de","assignee":null,"assignees":[],"requested_reviewers":[{"login":"pmbethe09","id":11632338,"avatar_url":"https://avatars2.githubusercontent.com/u/11632338?v=4","gravatar_id":"","url":"https://api.github.com/users/pmbethe09","html_url":"https://github.com/pmbethe09","followers_url":"https://api.github.com/users/pmbethe09/followers","following_url":"https://api.github.com/users/pmbethe09/following{/other_user}","gists_url":"https://api.github.com/users/pmbethe09/gists{/gist_id}","starred_url":"https://api.github.com/users/pmbethe09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmbethe09/subscriptions","organizations_url":"https://api.github.com/users/pmbethe09/orgs","repos_url":"https://api.github.com/users/pmbethe09/repos","events_url":"https://api.github.com/users/pmbethe09/events{/privacy}","received_events_url":"https://api.github.com/users/pmbethe09/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":499300400,"url":"https://api.github.com/repos/bazelbuild/buildtools/labels/cla:%20yes","name":"cla: yes","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/bazelbuild/buildtools/pulls/251/commits","review_comments_url":"https://api.github.com/repos/bazelbuild/buildtools/pulls/251/comments","review_comment_url":"https://api.github.com/repos/bazelbuild/buildtools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bazelbuild/buildtools/issues/251/comments","statuses_url":"https://api.github.com/repos/bazelbuild/buildtools/statuses/611ab4598869a1c349889f28d05dafff48b310b0","head":{"label":"vladmos:rewrite","ref":"rewrite","sha":"611ab4598869a1c349889f28d05dafff48b310b0","user":{"login":"vladmos","id":223875,"avatar_url":"https://avatars0.githubusercontent.com/u/223875?v=4","gravatar_id":"","url":"https://api.github.com/users/vladmos","html_url":"https://github.com/vladmos","followers_url":"https://api.github.com/users/vladmos/followers","following_url":"https://api.github.com/users/vladmos/following{/other_user}","gists_url":"https://api.github.com/users/vladmos/gists{/gist_id}","starred_url":"https://api.github.com/users/vladmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladmos/subscriptions","organizations_url":"https://api.github.com/users/vladmos/orgs","repos_url":"https://api.github.com/users/vladmos/repos","events_url":"https://api.github.com/users/vladmos/events{/privacy}","received_events_url":"https://api.github.com/users/vladmos/received_events","type":"User","site_admin":false},"repo":{"id":88982061,"name":"buildtools","full_name":"vladmos/buildtools","owner":{"login":"vladmos","id":223875,"avatar_url":"https://avatars0.githubusercontent.com/u/223875?v=4","gravatar_id":"","url":"https://api.github.com/users/vladmos","html_url":"https://github.com/vladmos","followers_url":"https://api.github.com/users/vladmos/followers","following_url":"https://api.github.com/users/vladmos/following{/other_user}","gists_url":"https://api.github.com/users/vladmos/gists{/gist_id}","starred_url":"https://api.github.com/users/vladmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladmos/subscriptions","organizations_url":"https://api.github.com/users/vladmos/orgs","repos_url":"https://api.github.com/users/vladmos/repos","events_url":"https://api.github.com/users/vladmos/events{/privacy}","received_events_url":"https://api.github.com/users/vladmos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vladmos/buildtools","description":"A bazel BUILD file formatter and editor","fork":true,"url":"https://api.github.com/repos/vladmos/buildtools","forks_url":"https://api.github.com/repos/vladmos/buildtools/forks","keys_url":"https://api.github.com/repos/vladmos/buildtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vladmos/buildtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vladmos/buildtools/teams","hooks_url":"https://api.github.com/repos/vladmos/buildtools/hooks","issue_events_url":"https://api.github.com/repos/vladmos/buildtools/issues/events{/number}","events_url":"https://api.github.com/repos/vladmos/buildtools/events","assignees_url":"https://api.github.com/repos/vladmos/buildtools/assignees{/user}","branches_url":"https://api.github.com/repos/vladmos/buildtools/branches{/branch}","tags_url":"https://api.github.com/repos/vladmos/buildtools/tags","blobs_url":"https://api.github.com/repos/vladmos/buildtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vladmos/buildtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vladmos/buildtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/vladmos/buildtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vladmos/buildtools/statuses/{sha}","languages_url":"https://api.github.com/repos/vladmos/buildtools/languages","stargazers_url":"https://api.github.com/repos/vladmos/buildtools/stargazers","contributors_url":"https://api.github.com/repos/vladmos/buildtools/contributors","subscribers_url":"https://api.github.com/repos/vladmos/buildtools/subscribers","subscription_url":"https://api.github.com/repos/vladmos/buildtools/subscription","commits_url":"https://api.github.com/repos/vladmos/buildtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/vladmos/buildtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/vladmos/buildtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/vladmos/buildtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/vladmos/buildtools/contents/{+path}","compare_url":"https://api.github.com/repos/vladmos/buildtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vladmos/buildtools/merges","archive_url":"https://api.github.com/repos/vladmos/buildtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vladmos/buildtools/downloads","issues_url":"https://api.github.com/repos/vladmos/buildtools/issues{/number}","pulls_url":"https://api.github.com/repos/vladmos/buildtools/pulls{/number}","milestones_url":"https://api.github.com/repos/vladmos/buildtools/milestones{/number}","notifications_url":"https://api.github.com/repos/vladmos/buildtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vladmos/buildtools/labels{/name}","releases_url":"https://api.github.com/repos/vladmos/buildtools/releases{/id}","deployments_url":"https://api.github.com/repos/vladmos/buildtools/deployments","created_at":"2017-04-21T12:34:56Z","updated_at":"2017-04-21T12:34:58Z","pushed_at":"2018-03-28T10:39:35Z","git_url":"git://github.com/vladmos/buildtools.git","ssh_url":"git@github.com:vladmos/buildtools.git","clone_url":"https://github.com/vladmos/buildtools.git","svn_url":"https://github.com/vladmos/buildtools","homepage":"","size":519,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bazelbuild:master","ref":"master","sha":"648b0920113822e86d04e52d13576945782547b1","user":{"login":"bazelbuild","id":11684617,"avatar_url":"https://avatars1.githubusercontent.com/u/11684617?v=4","gravatar_id":"","url":"https://api.github.com/users/bazelbuild","html_url":"https://github.com/bazelbuild","followers_url":"https://api.github.com/users/bazelbuild/followers","following_url":"https://api.github.com/users/bazelbuild/following{/other_user}","gists_url":"https://api.github.com/users/bazelbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/bazelbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazelbuild/subscriptions","organizations_url":"https://api.github.com/users/bazelbuild/orgs","repos_url":"https://api.github.com/users/bazelbuild/repos","events_url":"https://api.github.com/users/bazelbuild/events{/privacy}","received_events_url":"https://api.github.com/users/bazelbuild/received_events","type":"Organization","site_admin":false},"repo":{"id":60805080,"name":"buildtools","full_name":"bazelbuild/buildtools","owner":{"login":"bazelbuild","id":11684617,"avatar_url":"https://avatars1.githubusercontent.com/u/11684617?v=4","gravatar_id":"","url":"https://api.github.com/users/bazelbuild","html_url":"https://github.com/bazelbuild","followers_url":"https://api.github.com/users/bazelbuild/followers","following_url":"https://api.github.com/users/bazelbuild/following{/other_user}","gists_url":"https://api.github.com/users/bazelbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/bazelbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazelbuild/subscriptions","organizations_url":"https://api.github.com/users/bazelbuild/orgs","repos_url":"https://api.github.com/users/bazelbuild/repos","events_url":"https://api.github.com/users/bazelbuild/events{/privacy}","received_events_url":"https://api.github.com/users/bazelbuild/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bazelbuild/buildtools","description":"A bazel BUILD file formatter and editor","fork":false,"url":"https://api.github.com/repos/bazelbuild/buildtools","forks_url":"https://api.github.com/repos/bazelbuild/buildtools/forks","keys_url":"https://api.github.com/repos/bazelbuild/buildtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bazelbuild/buildtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bazelbuild/buildtools/teams","hooks_url":"https://api.github.com/repos/bazelbuild/buildtools/hooks","issue_events_url":"https://api.github.com/repos/bazelbuild/buildtools/issues/events{/number}","events_url":"https://api.github.com/repos/bazelbuild/buildtools/events","assignees_url":"https://api.github.com/repos/bazelbuild/buildtools/assignees{/user}","branches_url":"https://api.github.com/repos/bazelbuild/buildtools/branches{/branch}","tags_url":"https://api.github.com/repos/bazelbuild/buildtools/tags","blobs_url":"https://api.github.com/repos/bazelbuild/buildtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bazelbuild/buildtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bazelbuild/buildtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/bazelbuild/buildtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bazelbuild/buildtools/statuses/{sha}","languages_url":"https://api.github.com/repos/bazelbuild/buildtools/languages","stargazers_url":"https://api.github.com/repos/bazelbuild/buildtools/stargazers","contributors_url":"https://api.github.com/repos/bazelbuild/buildtools/contributors","subscribers_url":"https://api.github.com/repos/bazelbuild/buildtools/subscribers","subscription_url":"https://api.github.com/repos/bazelbuild/buildtools/subscription","commits_url":"https://api.github.com/repos/bazelbuild/buildtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/bazelbuild/buildtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/bazelbuild/buildtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/bazelbuild/buildtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/bazelbuild/buildtools/contents/{+path}","compare_url":"https://api.github.com/repos/bazelbuild/buildtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bazelbuild/buildtools/merges","archive_url":"https://api.github.com/repos/bazelbuild/buildtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bazelbuild/buildtools/downloads","issues_url":"https://api.github.com/repos/bazelbuild/buildtools/issues{/number}","pulls_url":"https://api.github.com/repos/bazelbuild/buildtools/pulls{/number}","milestones_url":"https://api.github.com/repos/bazelbuild/buildtools/milestones{/number}","notifications_url":"https://api.github.com/repos/bazelbuild/buildtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bazelbuild/buildtools/labels{/name}","releases_url":"https://api.github.com/repos/bazelbuild/buildtools/releases{/id}","deployments_url":"https://api.github.com/repos/bazelbuild/buildtools/deployments","created_at":"2016-06-09T20:31:29Z","updated_at":"2018-03-28T02:31:34Z","pushed_at":"2018-03-28T10:39:37Z","git_url":"git://github.com/bazelbuild/buildtools.git","ssh_url":"git@github.com:bazelbuild/buildtools.git","clone_url":"https://github.com/bazelbuild/buildtools.git","svn_url":"https://github.com/bazelbuild/buildtools","homepage":"","size":514,"stargazers_count":134,"watchers_count":134,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":70,"open_issues":51,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bazelbuild/buildtools/pulls/251"},"html":{"href":"https://github.com/bazelbuild/buildtools/pull/251"},"issue":{"href":"https://api.github.com/repos/bazelbuild/buildtools/issues/251"},"comments":{"href":"https://api.github.com/repos/bazelbuild/buildtools/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/bazelbuild/buildtools/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/bazelbuild/buildtools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bazelbuild/buildtools/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/bazelbuild/buildtools/statuses/611ab4598869a1c349889f28d05dafff48b310b0"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"vladmos"}}