{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/dockcross/dockcross/pulls/42","id":86431619,"html_url":"https://github.com/dockcross/dockcross/pull/42","diff_url":"https://github.com/dockcross/dockcross/pull/42.diff","patch_url":"https://github.com/dockcross/dockcross/pull/42.patch","issue_url":"https://api.github.com/repos/dockcross/dockcross/issues/42","number":42,"state":"open","locked":false,"title":"manylinux: Grant current user password less sudo access.","user":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"body":"This will allow build script like \"build-wheels.sh\" to run command like\r\nthe following (see [1]):\r\n\r\n```\r\nsudo yum install -y atlas-devel\r\n```\r\n\r\nIt will also allow to pip install using sudo and avoid error reported in [3].\r\n\r\nThat said, instead of running pip using sudo, the recommended approach\r\nis to specify the \"--user\" flag [2]\r\n\r\n[1] https://github.com/pypa/python-manylinux-demo/blob/893d92517e9e289b9d2ee063f19c3216a39534ab/travis/build-wheels.sh\r\n\r\n[2] http://stackoverflow.com/questions/7143077/how-can-i-install-packages-in-my-home-folder-with-pip#7143496\r\n\r\n[3] Error reported when running pip without \"sudo pip install <packagename\" or \"pip install --user <packagename>\"\r\n```\r\nException:\r\nTraceback (most recent call last):\r\n  File \"/opt/_internal/cpython-2.7.11-ucs2/lib/python2.7/site-packages/pip/basecommand.py\", line 215, in main\r\n    status = self.run(options, args)\r\n  File \"/opt/_internal/cpython-2.7.11-ucs2/lib/python2.7/site-packages/pip/commands/install.py\", line 317, in run\r\n    prefix=options.prefix_path,\r\n  File \"/opt/_internal/cpython-2.7.11-ucs2/lib/python2.7/site-packages/pip/req/req_set.py\", line 736, in install\r\n    requirement.uninstall(auto_confirm=True)\r\n  File \"/opt/_internal/cpython-2.7.11-ucs2/lib/python2.7/site-packages/pip/req/req_install.py\", line 742, in uninstall\r\n    paths_to_remove.remove(auto_confirm)\r\n  File \"/opt/_internal/cpython-2.7.11-ucs2/lib/python2.7/site-packages/pip/req/req_uninstall.py\", line 115, in remove\r\n    renames(path, new_path)\r\n  File \"/opt/_internal/cpython-2.7.11-ucs2/lib/python2.7/site-packages/pip/utils/__init__.py\", line 267, in renames\r\n    shutil.move(old, new)\r\n  File \"/opt/_internal/cpython-2.7.11-ucs2/lib/python2.7/shutil.py\", line 303, in move\r\n    os.unlink(src)\r\nOSError: [Errno 13] Permission denied: '/opt/_internal/cpython-2.7.11-ucs2/bin/easy_install'\r\n```","created_at":"2016-09-22T23:24:13Z","updated_at":"2016-09-22T23:24:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dockcross/dockcross/pulls/42/commits","review_comments_url":"https://api.github.com/repos/dockcross/dockcross/pulls/42/comments","review_comment_url":"https://api.github.com/repos/dockcross/dockcross/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dockcross/dockcross/issues/42/comments","statuses_url":"https://api.github.com/repos/dockcross/dockcross/statuses/995c9091e574b0a00b61f858fce9c94178488904","head":{"label":"jcfr:manylinux-allow-pip-install-squashed","ref":"manylinux-allow-pip-install-squashed","sha":"995c9091e574b0a00b61f858fce9c94178488904","user":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"repo":{"id":63464599,"name":"dockcross","full_name":"jcfr/dockcross","owner":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcfr/dockcross","description":"Cross compiling toolchains in Docker images","fork":true,"url":"https://api.github.com/repos/jcfr/dockcross","forks_url":"https://api.github.com/repos/jcfr/dockcross/forks","keys_url":"https://api.github.com/repos/jcfr/dockcross/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcfr/dockcross/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcfr/dockcross/teams","hooks_url":"https://api.github.com/repos/jcfr/dockcross/hooks","issue_events_url":"https://api.github.com/repos/jcfr/dockcross/issues/events{/number}","events_url":"https://api.github.com/repos/jcfr/dockcross/events","assignees_url":"https://api.github.com/repos/jcfr/dockcross/assignees{/user}","branches_url":"https://api.github.com/repos/jcfr/dockcross/branches{/branch}","tags_url":"https://api.github.com/repos/jcfr/dockcross/tags","blobs_url":"https://api.github.com/repos/jcfr/dockcross/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcfr/dockcross/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcfr/dockcross/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcfr/dockcross/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcfr/dockcross/statuses/{sha}","languages_url":"https://api.github.com/repos/jcfr/dockcross/languages","stargazers_url":"https://api.github.com/repos/jcfr/dockcross/stargazers","contributors_url":"https://api.github.com/repos/jcfr/dockcross/contributors","subscribers_url":"https://api.github.com/repos/jcfr/dockcross/subscribers","subscription_url":"https://api.github.com/repos/jcfr/dockcross/subscription","commits_url":"https://api.github.com/repos/jcfr/dockcross/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcfr/dockcross/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcfr/dockcross/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcfr/dockcross/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcfr/dockcross/contents/{+path}","compare_url":"https://api.github.com/repos/jcfr/dockcross/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcfr/dockcross/merges","archive_url":"https://api.github.com/repos/jcfr/dockcross/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcfr/dockcross/downloads","issues_url":"https://api.github.com/repos/jcfr/dockcross/issues{/number}","pulls_url":"https://api.github.com/repos/jcfr/dockcross/pulls{/number}","milestones_url":"https://api.github.com/repos/jcfr/dockcross/milestones{/number}","notifications_url":"https://api.github.com/repos/jcfr/dockcross/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcfr/dockcross/labels{/name}","releases_url":"https://api.github.com/repos/jcfr/dockcross/releases{/id}","deployments_url":"https://api.github.com/repos/jcfr/dockcross/deployments","created_at":"2016-07-16T03:58:53Z","updated_at":"2016-09-18T07:19:15Z","pushed_at":"2016-09-22T23:23:46Z","git_url":"git://github.com/jcfr/dockcross.git","ssh_url":"git@github.com:jcfr/dockcross.git","clone_url":"https://github.com/jcfr/dockcross.git","svn_url":"https://github.com/jcfr/dockcross","homepage":"","size":154,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"dockcross:master","ref":"master","sha":"131e6408ee68248e6e378ef481ab6f8e5b3b7f11","user":{"login":"dockcross","id":20482977,"avatar_url":"https://avatars.githubusercontent.com/u/20482977?v=3","gravatar_id":"","url":"https://api.github.com/users/dockcross","html_url":"https://github.com/dockcross","followers_url":"https://api.github.com/users/dockcross/followers","following_url":"https://api.github.com/users/dockcross/following{/other_user}","gists_url":"https://api.github.com/users/dockcross/gists{/gist_id}","starred_url":"https://api.github.com/users/dockcross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockcross/subscriptions","organizations_url":"https://api.github.com/users/dockcross/orgs","repos_url":"https://api.github.com/users/dockcross/repos","events_url":"https://api.github.com/users/dockcross/events{/privacy}","received_events_url":"https://api.github.com/users/dockcross/received_events","type":"Organization","site_admin":false},"repo":{"id":35052287,"name":"dockcross","full_name":"dockcross/dockcross","owner":{"login":"dockcross","id":20482977,"avatar_url":"https://avatars.githubusercontent.com/u/20482977?v=3","gravatar_id":"","url":"https://api.github.com/users/dockcross","html_url":"https://github.com/dockcross","followers_url":"https://api.github.com/users/dockcross/followers","following_url":"https://api.github.com/users/dockcross/following{/other_user}","gists_url":"https://api.github.com/users/dockcross/gists{/gist_id}","starred_url":"https://api.github.com/users/dockcross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dockcross/subscriptions","organizations_url":"https://api.github.com/users/dockcross/orgs","repos_url":"https://api.github.com/users/dockcross/repos","events_url":"https://api.github.com/users/dockcross/events{/privacy}","received_events_url":"https://api.github.com/users/dockcross/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dockcross/dockcross","description":"Cross compiling toolchains in Docker images","fork":true,"url":"https://api.github.com/repos/dockcross/dockcross","forks_url":"https://api.github.com/repos/dockcross/dockcross/forks","keys_url":"https://api.github.com/repos/dockcross/dockcross/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dockcross/dockcross/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dockcross/dockcross/teams","hooks_url":"https://api.github.com/repos/dockcross/dockcross/hooks","issue_events_url":"https://api.github.com/repos/dockcross/dockcross/issues/events{/number}","events_url":"https://api.github.com/repos/dockcross/dockcross/events","assignees_url":"https://api.github.com/repos/dockcross/dockcross/assignees{/user}","branches_url":"https://api.github.com/repos/dockcross/dockcross/branches{/branch}","tags_url":"https://api.github.com/repos/dockcross/dockcross/tags","blobs_url":"https://api.github.com/repos/dockcross/dockcross/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dockcross/dockcross/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dockcross/dockcross/git/refs{/sha}","trees_url":"https://api.github.com/repos/dockcross/dockcross/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dockcross/dockcross/statuses/{sha}","languages_url":"https://api.github.com/repos/dockcross/dockcross/languages","stargazers_url":"https://api.github.com/repos/dockcross/dockcross/stargazers","contributors_url":"https://api.github.com/repos/dockcross/dockcross/contributors","subscribers_url":"https://api.github.com/repos/dockcross/dockcross/subscribers","subscription_url":"https://api.github.com/repos/dockcross/dockcross/subscription","commits_url":"https://api.github.com/repos/dockcross/dockcross/commits{/sha}","git_commits_url":"https://api.github.com/repos/dockcross/dockcross/git/commits{/sha}","comments_url":"https://api.github.com/repos/dockcross/dockcross/comments{/number}","issue_comment_url":"https://api.github.com/repos/dockcross/dockcross/issues/comments{/number}","contents_url":"https://api.github.com/repos/dockcross/dockcross/contents/{+path}","compare_url":"https://api.github.com/repos/dockcross/dockcross/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dockcross/dockcross/merges","archive_url":"https://api.github.com/repos/dockcross/dockcross/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dockcross/dockcross/downloads","issues_url":"https://api.github.com/repos/dockcross/dockcross/issues{/number}","pulls_url":"https://api.github.com/repos/dockcross/dockcross/pulls{/number}","milestones_url":"https://api.github.com/repos/dockcross/dockcross/milestones{/number}","notifications_url":"https://api.github.com/repos/dockcross/dockcross/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dockcross/dockcross/labels{/name}","releases_url":"https://api.github.com/repos/dockcross/dockcross/releases{/id}","deployments_url":"https://api.github.com/repos/dockcross/dockcross/deployments","created_at":"2015-05-04T18:36:08Z","updated_at":"2016-09-22T17:56:31Z","pushed_at":"2016-09-22T23:24:13Z","git_url":"git://github.com/dockcross/dockcross.git","ssh_url":"git@github.com:dockcross/dockcross.git","clone_url":"https://github.com/dockcross/dockcross.git","svn_url":"https://github.com/dockcross/dockcross","homepage":"","size":164,"stargazers_count":64,"watchers_count":64,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":6,"forks":21,"open_issues":6,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dockcross/dockcross/pulls/42"},"html":{"href":"https://github.com/dockcross/dockcross/pull/42"},"issue":{"href":"https://api.github.com/repos/dockcross/dockcross/issues/42"},"comments":{"href":"https://api.github.com/repos/dockcross/dockcross/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/dockcross/dockcross/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/dockcross/dockcross/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dockcross/dockcross/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/dockcross/dockcross/statuses/995c9091e574b0a00b61f858fce9c94178488904"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"jcfr"}}