{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/packaging/pulls/comments/47168296","id":47168296,"diff_hunk":"@@ -199,7 +199,8 @@ def repo_deployment_command(origin_path, destination_path, destination, dryrun =\n         --update\n         --verbose\n         --perms\n-        --chmod='Dugo-s,Dug=rwx,Do=rx,Fug=rw,Fo=r'\n+        --no-g","path":"lib/packaging/deb/repo.rb","position":5,"original_position":5,"commit_id":"bc1ba4f41cd1e640a45680e0a37400a84f4c20d0","original_commit_id":"bc1ba4f41cd1e640a45680e0a37400a84f4c20d0","user":{"login":"mckern","id":344926,"avatar_url":"https://avatars.githubusercontent.com/u/344926?v=3","gravatar_id":"","url":"https://api.github.com/users/mckern","html_url":"https://github.com/mckern","followers_url":"https://api.github.com/users/mckern/followers","following_url":"https://api.github.com/users/mckern/following{/other_user}","gists_url":"https://api.github.com/users/mckern/gists{/gist_id}","starred_url":"https://api.github.com/users/mckern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckern/subscriptions","organizations_url":"https://api.github.com/users/mckern/orgs","repos_url":"https://api.github.com/users/mckern/repos","events_url":"https://api.github.com/users/mckern/events{/privacy}","received_events_url":"https://api.github.com/users/mckern/received_events","type":"User","site_admin":false},"body":"`--no-g`?","created_at":"2015-12-09T23:18:12Z","updated_at":"2015-12-09T23:18:12Z","html_url":"https://github.com/puppetlabs/packaging/pull/479#discussion_r47168296","pull_request_url":"https://api.github.com/repos/puppetlabs/packaging/pulls/479","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/comments/47168296"},"html":{"href":"https://github.com/puppetlabs/packaging/pull/479#discussion_r47168296"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/479"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/packaging/pulls/479","id":53193283,"html_url":"https://github.com/puppetlabs/packaging/pull/479","diff_url":"https://github.com/puppetlabs/packaging/pull/479.diff","patch_url":"https://github.com/puppetlabs/packaging/pull/479.patch","issue_url":"https://api.github.com/repos/puppetlabs/packaging/issues/479","number":479,"state":"open","locked":false,"title":"(maint) Update permissions for the deb deployment","user":{"login":"underscorgan","id":553464,"avatar_url":"https://avatars.githubusercontent.com/u/553464?v=3","gravatar_id":"","url":"https://api.github.com/users/underscorgan","html_url":"https://github.com/underscorgan","followers_url":"https://api.github.com/users/underscorgan/followers","following_url":"https://api.github.com/users/underscorgan/following{/other_user}","gists_url":"https://api.github.com/users/underscorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/underscorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscorgan/subscriptions","organizations_url":"https://api.github.com/users/underscorgan/orgs","repos_url":"https://api.github.com/users/underscorgan/repos","events_url":"https://api.github.com/users/underscorgan/events{/privacy}","received_events_url":"https://api.github.com/users/underscorgan/received_events","type":"User","site_admin":false},"body":"Manually mangling permissions is the worst. Except for maybe the sticky\r\nbit. The sticky bit is definitely terrible. This stops rsync from\r\ntrying to set the group of things on apt.puppetlabs.com and removes the\r\nsticky bit, because rsync does not listen to -s with its chmod.","created_at":"2015-12-09T23:16:08Z","updated_at":"2015-12-09T23:18:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80c5f93178cd71714700c42e19694016ad1afb9b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/packaging/pulls/479/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/packaging/pulls/479/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/packaging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/packaging/issues/479/comments","statuses_url":"https://api.github.com/repos/puppetlabs/packaging/statuses/bc1ba4f41cd1e640a45680e0a37400a84f4c20d0","head":{"label":"underscorgan:maint/master/deb-permissions","ref":"maint/master/deb-permissions","sha":"bc1ba4f41cd1e640a45680e0a37400a84f4c20d0","user":{"login":"underscorgan","id":553464,"avatar_url":"https://avatars.githubusercontent.com/u/553464?v=3","gravatar_id":"","url":"https://api.github.com/users/underscorgan","html_url":"https://github.com/underscorgan","followers_url":"https://api.github.com/users/underscorgan/followers","following_url":"https://api.github.com/users/underscorgan/following{/other_user}","gists_url":"https://api.github.com/users/underscorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/underscorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscorgan/subscriptions","organizations_url":"https://api.github.com/users/underscorgan/orgs","repos_url":"https://api.github.com/users/underscorgan/repos","events_url":"https://api.github.com/users/underscorgan/events{/privacy}","received_events_url":"https://api.github.com/users/underscorgan/received_events","type":"User","site_admin":false},"repo":{"id":43508812,"name":"packaging","full_name":"underscorgan/packaging","owner":{"login":"underscorgan","id":553464,"avatar_url":"https://avatars.githubusercontent.com/u/553464?v=3","gravatar_id":"","url":"https://api.github.com/users/underscorgan","html_url":"https://github.com/underscorgan","followers_url":"https://api.github.com/users/underscorgan/followers","following_url":"https://api.github.com/users/underscorgan/following{/other_user}","gists_url":"https://api.github.com/users/underscorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/underscorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscorgan/subscriptions","organizations_url":"https://api.github.com/users/underscorgan/orgs","repos_url":"https://api.github.com/users/underscorgan/repos","events_url":"https://api.github.com/users/underscorgan/events{/privacy}","received_events_url":"https://api.github.com/users/underscorgan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/underscorgan/packaging","description":"","fork":true,"url":"https://api.github.com/repos/underscorgan/packaging","forks_url":"https://api.github.com/repos/underscorgan/packaging/forks","keys_url":"https://api.github.com/repos/underscorgan/packaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/underscorgan/packaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/underscorgan/packaging/teams","hooks_url":"https://api.github.com/repos/underscorgan/packaging/hooks","issue_events_url":"https://api.github.com/repos/underscorgan/packaging/issues/events{/number}","events_url":"https://api.github.com/repos/underscorgan/packaging/events","assignees_url":"https://api.github.com/repos/underscorgan/packaging/assignees{/user}","branches_url":"https://api.github.com/repos/underscorgan/packaging/branches{/branch}","tags_url":"https://api.github.com/repos/underscorgan/packaging/tags","blobs_url":"https://api.github.com/repos/underscorgan/packaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/underscorgan/packaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/underscorgan/packaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/underscorgan/packaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/underscorgan/packaging/statuses/{sha}","languages_url":"https://api.github.com/repos/underscorgan/packaging/languages","stargazers_url":"https://api.github.com/repos/underscorgan/packaging/stargazers","contributors_url":"https://api.github.com/repos/underscorgan/packaging/contributors","subscribers_url":"https://api.github.com/repos/underscorgan/packaging/subscribers","subscription_url":"https://api.github.com/repos/underscorgan/packaging/subscription","commits_url":"https://api.github.com/repos/underscorgan/packaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/underscorgan/packaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/underscorgan/packaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/underscorgan/packaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/underscorgan/packaging/contents/{+path}","compare_url":"https://api.github.com/repos/underscorgan/packaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/underscorgan/packaging/merges","archive_url":"https://api.github.com/repos/underscorgan/packaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/underscorgan/packaging/downloads","issues_url":"https://api.github.com/repos/underscorgan/packaging/issues{/number}","pulls_url":"https://api.github.com/repos/underscorgan/packaging/pulls{/number}","milestones_url":"https://api.github.com/repos/underscorgan/packaging/milestones{/number}","notifications_url":"https://api.github.com/repos/underscorgan/packaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/underscorgan/packaging/labels{/name}","releases_url":"https://api.github.com/repos/underscorgan/packaging/releases{/id}","created_at":"2015-10-01T16:55:06Z","updated_at":"2015-10-01T16:55:07Z","pushed_at":"2015-12-09T23:15:39Z","git_url":"git://github.com/underscorgan/packaging.git","ssh_url":"git@github.com:underscorgan/packaging.git","clone_url":"https://github.com/underscorgan/packaging.git","svn_url":"https://github.com/underscorgan/packaging","homepage":null,"size":1710,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"puppetlabs:master","ref":"master","sha":"aca371ffa1916137805ee68f9f93c69298fae298","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":5209001,"name":"packaging","full_name":"puppetlabs/packaging","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/packaging","description":"","fork":false,"url":"https://api.github.com/repos/puppetlabs/packaging","forks_url":"https://api.github.com/repos/puppetlabs/packaging/forks","keys_url":"https://api.github.com/repos/puppetlabs/packaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/packaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/packaging/teams","hooks_url":"https://api.github.com/repos/puppetlabs/packaging/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/packaging/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/packaging/events","assignees_url":"https://api.github.com/repos/puppetlabs/packaging/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/packaging/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/packaging/tags","blobs_url":"https://api.github.com/repos/puppetlabs/packaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/packaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/packaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/packaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/packaging/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/packaging/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/packaging/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/packaging/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/packaging/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/packaging/subscription","commits_url":"https://api.github.com/repos/puppetlabs/packaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/packaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/packaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/packaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/packaging/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/packaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/packaging/merges","archive_url":"https://api.github.com/repos/puppetlabs/packaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/packaging/downloads","issues_url":"https://api.github.com/repos/puppetlabs/packaging/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/packaging/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/packaging/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/packaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/packaging/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/packaging/releases{/id}","created_at":"2012-07-27T20:18:19Z","updated_at":"2015-05-18T22:33:47Z","pushed_at":"2015-12-09T23:16:09Z","git_url":"git://github.com/puppetlabs/packaging.git","ssh_url":"git@github.com:puppetlabs/packaging.git","clone_url":"https://github.com/puppetlabs/packaging.git","svn_url":"https://github.com/puppetlabs/packaging","homepage":null,"size":1910,"stargazers_count":27,"watchers_count":27,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":2,"forks":50,"open_issues":2,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/479"},"html":{"href":"https://github.com/puppetlabs/packaging/pull/479"},"issue":{"href":"https://api.github.com/repos/puppetlabs/packaging/issues/479"},"comments":{"href":"https://api.github.com/repos/puppetlabs/packaging/issues/479/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/479/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/479/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/packaging/statuses/bc1ba4f41cd1e640a45680e0a37400a84f4c20d0"}}}}