{"action":"opened","number":2875,"pull_request":{"url":"https://api.github.com/repos/deis/deis/pulls/2875","id":27163713,"html_url":"https://github.com/deis/deis/pull/2875","diff_url":"https://github.com/deis/deis/pull/2875.diff","patch_url":"https://github.com/deis/deis/pull/2875.patch","issue_url":"https://api.github.com/repos/deis/deis/issues/2875","number":2875,"state":"open","locked":false,"title":"ref(builder): Reduce use of root","user":{"login":"Blystad","id":324506,"avatar_url":"https://avatars.githubusercontent.com/u/324506?v=3","gravatar_id":"","url":"https://api.github.com/users/Blystad","html_url":"https://github.com/Blystad","followers_url":"https://api.github.com/users/Blystad/followers","following_url":"https://api.github.com/users/Blystad/following{/other_user}","gists_url":"https://api.github.com/users/Blystad/gists{/gist_id}","starred_url":"https://api.github.com/users/Blystad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blystad/subscriptions","organizations_url":"https://api.github.com/users/Blystad/orgs","repos_url":"https://api.github.com/users/Blystad/repos","events_url":"https://api.github.com/users/Blystad/events{/privacy}","received_events_url":"https://api.github.com/users/Blystad/received_events","type":"User","site_admin":false},"body":"Changed the builder from running an entire script as root through sudo, to just a single command.\r\n\r\nThis also fixes #1843, which happened since the builder script was ran as root, and we executed \"git gc\" as root, causing files and folders to \"randomly\" be owned by root:root instead of git:git","created_at":"2015-01-11T15:00:23Z","updated_at":"2015-01-11T15:00:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/deis/deis/pulls/2875/commits","review_comments_url":"https://api.github.com/repos/deis/deis/pulls/2875/comments","review_comment_url":"https://api.github.com/repos/deis/deis/pulls/comments/{number}","comments_url":"https://api.github.com/repos/deis/deis/issues/2875/comments","statuses_url":"https://api.github.com/repos/deis/deis/statuses/964a846c447a7a35856b4b529fe39a161257483f","head":{"label":"Blystad:builder_non-root_docker","ref":"builder_non-root_docker","sha":"964a846c447a7a35856b4b529fe39a161257483f","user":{"login":"Blystad","id":324506,"avatar_url":"https://avatars.githubusercontent.com/u/324506?v=3","gravatar_id":"","url":"https://api.github.com/users/Blystad","html_url":"https://github.com/Blystad","followers_url":"https://api.github.com/users/Blystad/followers","following_url":"https://api.github.com/users/Blystad/following{/other_user}","gists_url":"https://api.github.com/users/Blystad/gists{/gist_id}","starred_url":"https://api.github.com/users/Blystad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blystad/subscriptions","organizations_url":"https://api.github.com/users/Blystad/orgs","repos_url":"https://api.github.com/users/Blystad/repos","events_url":"https://api.github.com/users/Blystad/events{/privacy}","received_events_url":"https://api.github.com/users/Blystad/received_events","type":"User","site_admin":false},"repo":{"id":23628016,"name":"deis","full_name":"Blystad/deis","owner":{"login":"Blystad","id":324506,"avatar_url":"https://avatars.githubusercontent.com/u/324506?v=3","gravatar_id":"","url":"https://api.github.com/users/Blystad","html_url":"https://github.com/Blystad","followers_url":"https://api.github.com/users/Blystad/followers","following_url":"https://api.github.com/users/Blystad/following{/other_user}","gists_url":"https://api.github.com/users/Blystad/gists{/gist_id}","starred_url":"https://api.github.com/users/Blystad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blystad/subscriptions","organizations_url":"https://api.github.com/users/Blystad/orgs","repos_url":"https://api.github.com/users/Blystad/repos","events_url":"https://api.github.com/users/Blystad/events{/privacy}","received_events_url":"https://api.github.com/users/Blystad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Blystad/deis","description":"Your PaaS. Your Rules. ","fork":true,"url":"https://api.github.com/repos/Blystad/deis","forks_url":"https://api.github.com/repos/Blystad/deis/forks","keys_url":"https://api.github.com/repos/Blystad/deis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Blystad/deis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Blystad/deis/teams","hooks_url":"https://api.github.com/repos/Blystad/deis/hooks","issue_events_url":"https://api.github.com/repos/Blystad/deis/issues/events{/number}","events_url":"https://api.github.com/repos/Blystad/deis/events","assignees_url":"https://api.github.com/repos/Blystad/deis/assignees{/user}","branches_url":"https://api.github.com/repos/Blystad/deis/branches{/branch}","tags_url":"https://api.github.com/repos/Blystad/deis/tags","blobs_url":"https://api.github.com/repos/Blystad/deis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Blystad/deis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Blystad/deis/git/refs{/sha}","trees_url":"https://api.github.com/repos/Blystad/deis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Blystad/deis/statuses/{sha}","languages_url":"https://api.github.com/repos/Blystad/deis/languages","stargazers_url":"https://api.github.com/repos/Blystad/deis/stargazers","contributors_url":"https://api.github.com/repos/Blystad/deis/contributors","subscribers_url":"https://api.github.com/repos/Blystad/deis/subscribers","subscription_url":"https://api.github.com/repos/Blystad/deis/subscription","commits_url":"https://api.github.com/repos/Blystad/deis/commits{/sha}","git_commits_url":"https://api.github.com/repos/Blystad/deis/git/commits{/sha}","comments_url":"https://api.github.com/repos/Blystad/deis/comments{/number}","issue_comment_url":"https://api.github.com/repos/Blystad/deis/issues/comments/{number}","contents_url":"https://api.github.com/repos/Blystad/deis/contents/{+path}","compare_url":"https://api.github.com/repos/Blystad/deis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Blystad/deis/merges","archive_url":"https://api.github.com/repos/Blystad/deis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Blystad/deis/downloads","issues_url":"https://api.github.com/repos/Blystad/deis/issues{/number}","pulls_url":"https://api.github.com/repos/Blystad/deis/pulls{/number}","milestones_url":"https://api.github.com/repos/Blystad/deis/milestones{/number}","notifications_url":"https://api.github.com/repos/Blystad/deis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Blystad/deis/labels{/name}","releases_url":"https://api.github.com/repos/Blystad/deis/releases{/id}","created_at":"2014-09-03T16:23:54Z","updated_at":"2014-10-04T19:14:24Z","pushed_at":"2015-01-11T14:59:09Z","git_url":"git://github.com/Blystad/deis.git","ssh_url":"git@github.com:Blystad/deis.git","clone_url":"https://github.com/Blystad/deis.git","svn_url":"https://github.com/Blystad/deis","homepage":"http://deis.io","size":15515,"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":"deis:master","ref":"master","sha":"809725f29d97e1876aa456f5d80e55c114177ab1","user":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"repo":{"id":11589713,"name":"deis","full_name":"deis/deis","owner":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deis/deis","description":"Your PaaS. Your Rules. ","fork":false,"url":"https://api.github.com/repos/deis/deis","forks_url":"https://api.github.com/repos/deis/deis/forks","keys_url":"https://api.github.com/repos/deis/deis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deis/deis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deis/deis/teams","hooks_url":"https://api.github.com/repos/deis/deis/hooks","issue_events_url":"https://api.github.com/repos/deis/deis/issues/events{/number}","events_url":"https://api.github.com/repos/deis/deis/events","assignees_url":"https://api.github.com/repos/deis/deis/assignees{/user}","branches_url":"https://api.github.com/repos/deis/deis/branches{/branch}","tags_url":"https://api.github.com/repos/deis/deis/tags","blobs_url":"https://api.github.com/repos/deis/deis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deis/deis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deis/deis/git/refs{/sha}","trees_url":"https://api.github.com/repos/deis/deis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deis/deis/statuses/{sha}","languages_url":"https://api.github.com/repos/deis/deis/languages","stargazers_url":"https://api.github.com/repos/deis/deis/stargazers","contributors_url":"https://api.github.com/repos/deis/deis/contributors","subscribers_url":"https://api.github.com/repos/deis/deis/subscribers","subscription_url":"https://api.github.com/repos/deis/deis/subscription","commits_url":"https://api.github.com/repos/deis/deis/commits{/sha}","git_commits_url":"https://api.github.com/repos/deis/deis/git/commits{/sha}","comments_url":"https://api.github.com/repos/deis/deis/comments{/number}","issue_comment_url":"https://api.github.com/repos/deis/deis/issues/comments/{number}","contents_url":"https://api.github.com/repos/deis/deis/contents/{+path}","compare_url":"https://api.github.com/repos/deis/deis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deis/deis/merges","archive_url":"https://api.github.com/repos/deis/deis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deis/deis/downloads","issues_url":"https://api.github.com/repos/deis/deis/issues{/number}","pulls_url":"https://api.github.com/repos/deis/deis/pulls{/number}","milestones_url":"https://api.github.com/repos/deis/deis/milestones{/number}","notifications_url":"https://api.github.com/repos/deis/deis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deis/deis/labels{/name}","releases_url":"https://api.github.com/repos/deis/deis/releases{/id}","created_at":"2013-07-22T19:02:40Z","updated_at":"2015-01-11T06:34:36Z","pushed_at":"2015-01-11T06:34:36Z","git_url":"git://github.com/deis/deis.git","ssh_url":"git@github.com:deis/deis.git","clone_url":"https://github.com/deis/deis.git","svn_url":"https://github.com/deis/deis","homepage":"http://deis.io","size":31968,"stargazers_count":3629,"watchers_count":3629,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":498,"mirror_url":null,"open_issues_count":170,"forks":498,"open_issues":170,"watchers":3629,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deis/deis/pulls/2875"},"html":{"href":"https://github.com/deis/deis/pull/2875"},"issue":{"href":"https://api.github.com/repos/deis/deis/issues/2875"},"comments":{"href":"https://api.github.com/repos/deis/deis/issues/2875/comments"},"review_comments":{"href":"https://api.github.com/repos/deis/deis/pulls/2875/comments"},"review_comment":{"href":"https://api.github.com/repos/deis/deis/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/deis/deis/pulls/2875/commits"},"statuses":{"href":"https://api.github.com/repos/deis/deis/statuses/964a846c447a7a35856b4b529fe39a161257483f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":9,"changed_files":3}}