{"action":"closed","number":391,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls/391","id":93877737,"html_url":"https://github.com/GoogleCloudPlatform/gsutil/pull/391","diff_url":"https://github.com/GoogleCloudPlatform/gsutil/pull/391.diff","patch_url":"https://github.com/GoogleCloudPlatform/gsutil/pull/391.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/391","number":391,"state":"closed","locked":false,"title":"Reduce duplication in defacl ch error message","user":{"login":"ixdy","id":8061296,"avatar_url":"https://avatars.githubusercontent.com/u/8061296?v=3","gravatar_id":"","url":"https://api.github.com/users/ixdy","html_url":"https://github.com/ixdy","followers_url":"https://api.github.com/users/ixdy/followers","following_url":"https://api.github.com/users/ixdy/following{/other_user}","gists_url":"https://api.github.com/users/ixdy/gists{/gist_id}","starred_url":"https://api.github.com/users/ixdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixdy/subscriptions","organizations_url":"https://api.github.com/users/ixdy/orgs","repos_url":"https://api.github.com/users/ixdy/repos","events_url":"https://api.github.com/users/ixdy/events{/privacy}","received_events_url":"https://api.github.com/users/ixdy/received_events","type":"User","site_admin":false},"body":"Before this change:\r\n\r\n```console\r\n$ gsutil defacl ch -u foo@example.com:bar gs://example\r\nCommandException: foo@example.com:bar is not a valid ACL change\r\nAllowed permissions are READER, OWNER, OWNER, WRITER, OWNER, WRITER, READER\r\n```\r\n\r\nAfter this change:\r\n```console\r\n$ ./gsutil defacl ch -u foo@example.com:bar gs://example\r\nCommandException: foo@example.com:bar is not a valid ACL change\r\nAllowed permissions are OWNER, WRITER, READER\r\n```","created_at":"2016-11-16T00:21:14Z","updated_at":"2016-11-16T00:26:16Z","closed_at":"2016-11-16T00:26:16Z","merged_at":"2016-11-16T00:26:16Z","merge_commit_sha":"73d024506b1ad31022d885fa6d6e21cdb050e2e6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls/391/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls/391/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/391/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/statuses/05e41e21953cda4c17086fe118ae880557ae5a57","head":{"label":"ixdy:defacl-permissions-message","ref":"defacl-permissions-message","sha":"05e41e21953cda4c17086fe118ae880557ae5a57","user":{"login":"ixdy","id":8061296,"avatar_url":"https://avatars.githubusercontent.com/u/8061296?v=3","gravatar_id":"","url":"https://api.github.com/users/ixdy","html_url":"https://github.com/ixdy","followers_url":"https://api.github.com/users/ixdy/followers","following_url":"https://api.github.com/users/ixdy/following{/other_user}","gists_url":"https://api.github.com/users/ixdy/gists{/gist_id}","starred_url":"https://api.github.com/users/ixdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixdy/subscriptions","organizations_url":"https://api.github.com/users/ixdy/orgs","repos_url":"https://api.github.com/users/ixdy/repos","events_url":"https://api.github.com/users/ixdy/events{/privacy}","received_events_url":"https://api.github.com/users/ixdy/received_events","type":"User","site_admin":false},"repo":{"id":73866841,"name":"gsutil","full_name":"ixdy/gsutil","owner":{"login":"ixdy","id":8061296,"avatar_url":"https://avatars.githubusercontent.com/u/8061296?v=3","gravatar_id":"","url":"https://api.github.com/users/ixdy","html_url":"https://github.com/ixdy","followers_url":"https://api.github.com/users/ixdy/followers","following_url":"https://api.github.com/users/ixdy/following{/other_user}","gists_url":"https://api.github.com/users/ixdy/gists{/gist_id}","starred_url":"https://api.github.com/users/ixdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixdy/subscriptions","organizations_url":"https://api.github.com/users/ixdy/orgs","repos_url":"https://api.github.com/users/ixdy/repos","events_url":"https://api.github.com/users/ixdy/events{/privacy}","received_events_url":"https://api.github.com/users/ixdy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ixdy/gsutil","description":"A command line tool for interacting with cloud storage services.","fork":true,"url":"https://api.github.com/repos/ixdy/gsutil","forks_url":"https://api.github.com/repos/ixdy/gsutil/forks","keys_url":"https://api.github.com/repos/ixdy/gsutil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ixdy/gsutil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ixdy/gsutil/teams","hooks_url":"https://api.github.com/repos/ixdy/gsutil/hooks","issue_events_url":"https://api.github.com/repos/ixdy/gsutil/issues/events{/number}","events_url":"https://api.github.com/repos/ixdy/gsutil/events","assignees_url":"https://api.github.com/repos/ixdy/gsutil/assignees{/user}","branches_url":"https://api.github.com/repos/ixdy/gsutil/branches{/branch}","tags_url":"https://api.github.com/repos/ixdy/gsutil/tags","blobs_url":"https://api.github.com/repos/ixdy/gsutil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ixdy/gsutil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ixdy/gsutil/git/refs{/sha}","trees_url":"https://api.github.com/repos/ixdy/gsutil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ixdy/gsutil/statuses/{sha}","languages_url":"https://api.github.com/repos/ixdy/gsutil/languages","stargazers_url":"https://api.github.com/repos/ixdy/gsutil/stargazers","contributors_url":"https://api.github.com/repos/ixdy/gsutil/contributors","subscribers_url":"https://api.github.com/repos/ixdy/gsutil/subscribers","subscription_url":"https://api.github.com/repos/ixdy/gsutil/subscription","commits_url":"https://api.github.com/repos/ixdy/gsutil/commits{/sha}","git_commits_url":"https://api.github.com/repos/ixdy/gsutil/git/commits{/sha}","comments_url":"https://api.github.com/repos/ixdy/gsutil/comments{/number}","issue_comment_url":"https://api.github.com/repos/ixdy/gsutil/issues/comments{/number}","contents_url":"https://api.github.com/repos/ixdy/gsutil/contents/{+path}","compare_url":"https://api.github.com/repos/ixdy/gsutil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ixdy/gsutil/merges","archive_url":"https://api.github.com/repos/ixdy/gsutil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ixdy/gsutil/downloads","issues_url":"https://api.github.com/repos/ixdy/gsutil/issues{/number}","pulls_url":"https://api.github.com/repos/ixdy/gsutil/pulls{/number}","milestones_url":"https://api.github.com/repos/ixdy/gsutil/milestones{/number}","notifications_url":"https://api.github.com/repos/ixdy/gsutil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ixdy/gsutil/labels{/name}","releases_url":"https://api.github.com/repos/ixdy/gsutil/releases{/id}","deployments_url":"https://api.github.com/repos/ixdy/gsutil/deployments","created_at":"2016-11-16T00:11:36Z","updated_at":"2016-11-16T00:11:38Z","pushed_at":"2016-11-16T00:20:04Z","git_url":"git://github.com/ixdy/gsutil.git","ssh_url":"git@github.com:ixdy/gsutil.git","clone_url":"https://github.com/ixdy/gsutil.git","svn_url":"https://github.com/ixdy/gsutil","homepage":"","size":10391,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"GoogleCloudPlatform:master","ref":"master","sha":"d024a53c766d251e839a6d09a6fc5250d3825e94","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":8347839,"name":"gsutil","full_name":"GoogleCloudPlatform/gsutil","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/gsutil","description":"A command line tool for interacting with cloud storage services.","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/deployments","created_at":"2013-02-22T01:15:43Z","updated_at":"2016-11-07T09:16:10Z","pushed_at":"2016-11-16T00:26:16Z","git_url":"git://github.com/GoogleCloudPlatform/gsutil.git","ssh_url":"git@github.com:GoogleCloudPlatform/gsutil.git","clone_url":"https://github.com/GoogleCloudPlatform/gsutil.git","svn_url":"https://github.com/GoogleCloudPlatform/gsutil","homepage":"","size":10391,"stargazers_count":256,"watchers_count":256,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":70,"forks":107,"open_issues":70,"watchers":256,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls/391"},"html":{"href":"https://github.com/GoogleCloudPlatform/gsutil/pull/391"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/391"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gsutil/statuses/05e41e21953cda4c17086fe118ae880557ae5a57"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"thobrla","id":3239120,"avatar_url":"https://avatars.githubusercontent.com/u/3239120?v=3","gravatar_id":"","url":"https://api.github.com/users/thobrla","html_url":"https://github.com/thobrla","followers_url":"https://api.github.com/users/thobrla/followers","following_url":"https://api.github.com/users/thobrla/following{/other_user}","gists_url":"https://api.github.com/users/thobrla/gists{/gist_id}","starred_url":"https://api.github.com/users/thobrla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thobrla/subscriptions","organizations_url":"https://api.github.com/users/thobrla/orgs","repos_url":"https://api.github.com/users/thobrla/repos","events_url":"https://api.github.com/users/thobrla/events{/privacy}","received_events_url":"https://api.github.com/users/thobrla/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"thobrla"}}