{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/Rorosha/testCloud/pulls/9","id":35464589,"html_url":"https://github.com/Rorosha/testCloud/pull/9","diff_url":"https://github.com/Rorosha/testCloud/pull/9.diff","patch_url":"https://github.com/Rorosha/testCloud/pull/9.patch","issue_url":"https://api.github.com/repos/Rorosha/testCloud/issues/9","number":9,"state":"open","locked":false,"title":"Feature/t477 work with selinux","user":{"login":"tflink","id":605355,"avatar_url":"https://avatars.githubusercontent.com/u/605355?v=3","gravatar_id":"","url":"https://api.github.com/users/tflink","html_url":"https://github.com/tflink","followers_url":"https://api.github.com/users/tflink/followers","following_url":"https://api.github.com/users/tflink/following{/other_user}","gists_url":"https://api.github.com/users/tflink/gists{/gist_id}","starred_url":"https://api.github.com/users/tflink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tflink/subscriptions","organizations_url":"https://api.github.com/users/tflink/orgs","repos_url":"https://api.github.com/users/tflink/repos","events_url":"https://api.github.com/users/tflink/events{/privacy}","received_events_url":"https://api.github.com/users/tflink/received_events","type":"User","site_admin":false},"body":"This is a fix for [T477](https://phab.qadevel.cloud.fedoraproject.org/T477) that fixes the selinux context for incoming image files as they are being copied to the cache.\r\n\r\nThis patch lets me run testCloud with SELinux enforcing. I don't have any non-enabled systems to try this code out on but it should just skip the `chcon` command if `selinuxenabled` returns 1 or doesn't exit.","created_at":"2015-05-14T21:33:24Z","updated_at":"2015-05-14T21:33:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rorosha/testCloud/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Rorosha/testCloud/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Rorosha/testCloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rorosha/testCloud/issues/9/comments","statuses_url":"https://api.github.com/repos/Rorosha/testCloud/statuses/7380f49dbdd115309a8bc1426267c8b0015acc8c","head":{"label":"tflink:feature/T477-work-with-selinux","ref":"feature/T477-work-with-selinux","sha":"7380f49dbdd115309a8bc1426267c8b0015acc8c","user":{"login":"tflink","id":605355,"avatar_url":"https://avatars.githubusercontent.com/u/605355?v=3","gravatar_id":"","url":"https://api.github.com/users/tflink","html_url":"https://github.com/tflink","followers_url":"https://api.github.com/users/tflink/followers","following_url":"https://api.github.com/users/tflink/following{/other_user}","gists_url":"https://api.github.com/users/tflink/gists{/gist_id}","starred_url":"https://api.github.com/users/tflink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tflink/subscriptions","organizations_url":"https://api.github.com/users/tflink/orgs","repos_url":"https://api.github.com/users/tflink/repos","events_url":"https://api.github.com/users/tflink/events{/privacy}","received_events_url":"https://api.github.com/users/tflink/received_events","type":"User","site_admin":false},"repo":{"id":28935908,"name":"testCloud","full_name":"tflink/testCloud","owner":{"login":"tflink","id":605355,"avatar_url":"https://avatars.githubusercontent.com/u/605355?v=3","gravatar_id":"","url":"https://api.github.com/users/tflink","html_url":"https://github.com/tflink","followers_url":"https://api.github.com/users/tflink/followers","following_url":"https://api.github.com/users/tflink/following{/other_user}","gists_url":"https://api.github.com/users/tflink/gists{/gist_id}","starred_url":"https://api.github.com/users/tflink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tflink/subscriptions","organizations_url":"https://api.github.com/users/tflink/orgs","repos_url":"https://api.github.com/users/tflink/repos","events_url":"https://api.github.com/users/tflink/events{/privacy}","received_events_url":"https://api.github.com/users/tflink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tflink/testCloud","description":"testCloud is a small helper script to download and boot cloud images locally.","fork":true,"url":"https://api.github.com/repos/tflink/testCloud","forks_url":"https://api.github.com/repos/tflink/testCloud/forks","keys_url":"https://api.github.com/repos/tflink/testCloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tflink/testCloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tflink/testCloud/teams","hooks_url":"https://api.github.com/repos/tflink/testCloud/hooks","issue_events_url":"https://api.github.com/repos/tflink/testCloud/issues/events{/number}","events_url":"https://api.github.com/repos/tflink/testCloud/events","assignees_url":"https://api.github.com/repos/tflink/testCloud/assignees{/user}","branches_url":"https://api.github.com/repos/tflink/testCloud/branches{/branch}","tags_url":"https://api.github.com/repos/tflink/testCloud/tags","blobs_url":"https://api.github.com/repos/tflink/testCloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tflink/testCloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tflink/testCloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/tflink/testCloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tflink/testCloud/statuses/{sha}","languages_url":"https://api.github.com/repos/tflink/testCloud/languages","stargazers_url":"https://api.github.com/repos/tflink/testCloud/stargazers","contributors_url":"https://api.github.com/repos/tflink/testCloud/contributors","subscribers_url":"https://api.github.com/repos/tflink/testCloud/subscribers","subscription_url":"https://api.github.com/repos/tflink/testCloud/subscription","commits_url":"https://api.github.com/repos/tflink/testCloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/tflink/testCloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/tflink/testCloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/tflink/testCloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/tflink/testCloud/contents/{+path}","compare_url":"https://api.github.com/repos/tflink/testCloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tflink/testCloud/merges","archive_url":"https://api.github.com/repos/tflink/testCloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tflink/testCloud/downloads","issues_url":"https://api.github.com/repos/tflink/testCloud/issues{/number}","pulls_url":"https://api.github.com/repos/tflink/testCloud/pulls{/number}","milestones_url":"https://api.github.com/repos/tflink/testCloud/milestones{/number}","notifications_url":"https://api.github.com/repos/tflink/testCloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tflink/testCloud/labels{/name}","releases_url":"https://api.github.com/repos/tflink/testCloud/releases{/id}","created_at":"2015-01-07T21:50:36Z","updated_at":"2015-01-07T21:50:37Z","pushed_at":"2015-05-14T21:30:17Z","git_url":"git://github.com/tflink/testCloud.git","ssh_url":"git@github.com:tflink/testCloud.git","clone_url":"https://github.com/tflink/testCloud.git","svn_url":"https://github.com/tflink/testCloud","homepage":"","size":222,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"Rorosha:master","ref":"master","sha":"5b961e0deafbebe613f29e00a5f5dbb39c078ee5","user":{"login":"Rorosha","id":1541443,"avatar_url":"https://avatars.githubusercontent.com/u/1541443?v=3","gravatar_id":"","url":"https://api.github.com/users/Rorosha","html_url":"https://github.com/Rorosha","followers_url":"https://api.github.com/users/Rorosha/followers","following_url":"https://api.github.com/users/Rorosha/following{/other_user}","gists_url":"https://api.github.com/users/Rorosha/gists{/gist_id}","starred_url":"https://api.github.com/users/Rorosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rorosha/subscriptions","organizations_url":"https://api.github.com/users/Rorosha/orgs","repos_url":"https://api.github.com/users/Rorosha/repos","events_url":"https://api.github.com/users/Rorosha/events{/privacy}","received_events_url":"https://api.github.com/users/Rorosha/received_events","type":"User","site_admin":false},"repo":{"id":22229959,"name":"testCloud","full_name":"Rorosha/testCloud","owner":{"login":"Rorosha","id":1541443,"avatar_url":"https://avatars.githubusercontent.com/u/1541443?v=3","gravatar_id":"","url":"https://api.github.com/users/Rorosha","html_url":"https://github.com/Rorosha","followers_url":"https://api.github.com/users/Rorosha/followers","following_url":"https://api.github.com/users/Rorosha/following{/other_user}","gists_url":"https://api.github.com/users/Rorosha/gists{/gist_id}","starred_url":"https://api.github.com/users/Rorosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rorosha/subscriptions","organizations_url":"https://api.github.com/users/Rorosha/orgs","repos_url":"https://api.github.com/users/Rorosha/repos","events_url":"https://api.github.com/users/Rorosha/events{/privacy}","received_events_url":"https://api.github.com/users/Rorosha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rorosha/testCloud","description":"testCloud is a small helper script to download and boot cloud images locally.","fork":false,"url":"https://api.github.com/repos/Rorosha/testCloud","forks_url":"https://api.github.com/repos/Rorosha/testCloud/forks","keys_url":"https://api.github.com/repos/Rorosha/testCloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rorosha/testCloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rorosha/testCloud/teams","hooks_url":"https://api.github.com/repos/Rorosha/testCloud/hooks","issue_events_url":"https://api.github.com/repos/Rorosha/testCloud/issues/events{/number}","events_url":"https://api.github.com/repos/Rorosha/testCloud/events","assignees_url":"https://api.github.com/repos/Rorosha/testCloud/assignees{/user}","branches_url":"https://api.github.com/repos/Rorosha/testCloud/branches{/branch}","tags_url":"https://api.github.com/repos/Rorosha/testCloud/tags","blobs_url":"https://api.github.com/repos/Rorosha/testCloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rorosha/testCloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rorosha/testCloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rorosha/testCloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rorosha/testCloud/statuses/{sha}","languages_url":"https://api.github.com/repos/Rorosha/testCloud/languages","stargazers_url":"https://api.github.com/repos/Rorosha/testCloud/stargazers","contributors_url":"https://api.github.com/repos/Rorosha/testCloud/contributors","subscribers_url":"https://api.github.com/repos/Rorosha/testCloud/subscribers","subscription_url":"https://api.github.com/repos/Rorosha/testCloud/subscription","commits_url":"https://api.github.com/repos/Rorosha/testCloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rorosha/testCloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rorosha/testCloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rorosha/testCloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rorosha/testCloud/contents/{+path}","compare_url":"https://api.github.com/repos/Rorosha/testCloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rorosha/testCloud/merges","archive_url":"https://api.github.com/repos/Rorosha/testCloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rorosha/testCloud/downloads","issues_url":"https://api.github.com/repos/Rorosha/testCloud/issues{/number}","pulls_url":"https://api.github.com/repos/Rorosha/testCloud/pulls{/number}","milestones_url":"https://api.github.com/repos/Rorosha/testCloud/milestones{/number}","notifications_url":"https://api.github.com/repos/Rorosha/testCloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rorosha/testCloud/labels{/name}","releases_url":"https://api.github.com/repos/Rorosha/testCloud/releases{/id}","created_at":"2014-07-24T20:33:16Z","updated_at":"2015-05-07T13:59:53Z","pushed_at":"2015-05-13T17:42:29Z","git_url":"git://github.com/Rorosha/testCloud.git","ssh_url":"git@github.com:Rorosha/testCloud.git","clone_url":"https://github.com/Rorosha/testCloud.git","svn_url":"https://github.com/Rorosha/testCloud","homepage":"","size":323,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rorosha/testCloud/pulls/9"},"html":{"href":"https://github.com/Rorosha/testCloud/pull/9"},"issue":{"href":"https://api.github.com/repos/Rorosha/testCloud/issues/9"},"comments":{"href":"https://api.github.com/repos/Rorosha/testCloud/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Rorosha/testCloud/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Rorosha/testCloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rorosha/testCloud/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Rorosha/testCloud/statuses/7380f49dbdd115309a8bc1426267c8b0015acc8c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":38,"additions":1151,"deletions":349,"changed_files":18}}