{"action":"created","comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments/75985657","id":75985657,"diff_hunk":"@@ -492,24 +492,38 @@ sub process_request {\n         $oldmask = umask 0077;\n     } elsif ($method =~ /tar/) {\n         if (!$exlistloc) {\n-            my $checkoption = `tar --xattrs-include 2>&1`;\n-            if ($checkoption =~ /unrecognized/) {\n-                $excludestr = \"find . -xdev -print0 | tar --selinux --no-recursion --use-compress-program=$compress --null -T - -cf ../rootimg.$suffix\";\n+            my $checkoption1 = `tar --xattrs-include 2>&1`;","path":"xCAT-server/lib/xcat/plugins/packimage.pm","position":7,"original_position":7,"commit_id":"e51b7c5d075b3c1afeeef43901aa4108bf4fb714","original_commit_id":"e51b7c5d075b3c1afeeef43901aa4108bf4fb714","user":{"login":"immarvin","id":5668922,"avatar_url":"https://avatars.githubusercontent.com/u/5668922?v=3","gravatar_id":"","url":"https://api.github.com/users/immarvin","html_url":"https://github.com/immarvin","followers_url":"https://api.github.com/users/immarvin/followers","following_url":"https://api.github.com/users/immarvin/following{/other_user}","gists_url":"https://api.github.com/users/immarvin/gists{/gist_id}","starred_url":"https://api.github.com/users/immarvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immarvin/subscriptions","organizations_url":"https://api.github.com/users/immarvin/orgs","repos_url":"https://api.github.com/users/immarvin/repos","events_url":"https://api.github.com/users/immarvin/events{/privacy}","received_events_url":"https://api.github.com/users/immarvin/received_events","type":"User","site_admin":false},"body":"the logic from line#495 to line#524 should be moved to line#494, it should be outside the if-else  \r\n on exlistloc ","created_at":"2016-08-24T02:26:19Z","updated_at":"2016-08-24T02:26:19Z","html_url":"https://github.com/xcat2/xcat-core/pull/1743#discussion_r75985657","pull_request_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1743","_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments/75985657"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/1743#discussion_r75985657"},"pull_request":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/1743"}}},"pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1743","id":81929898,"html_url":"https://github.com/xcat2/xcat-core/pull/1743","diff_url":"https://github.com/xcat2/xcat-core/pull/1743.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/1743.patch","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1743","number":1743,"state":"open","locked":false,"title":"fix sles11.4 packimage return error when use tar compress method","user":{"login":"penguhyang","id":13343411,"avatar_url":"https://avatars.githubusercontent.com/u/13343411?v=3","gravatar_id":"","url":"https://api.github.com/users/penguhyang","html_url":"https://github.com/penguhyang","followers_url":"https://api.github.com/users/penguhyang/followers","following_url":"https://api.github.com/users/penguhyang/following{/other_user}","gists_url":"https://api.github.com/users/penguhyang/gists{/gist_id}","starred_url":"https://api.github.com/users/penguhyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penguhyang/subscriptions","organizations_url":"https://api.github.com/users/penguhyang/orgs","repos_url":"https://api.github.com/users/penguhyang/repos","events_url":"https://api.github.com/users/penguhyang/events{/privacy}","received_events_url":"https://api.github.com/users/penguhyang/received_events","type":"User","site_admin":false},"body":"sles11.4 tar not support --selinux --xattrs-include options\r\nfix #1742","created_at":"2016-08-19T05:53:12Z","updated_at":"2016-08-24T02:26:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f78a8cb4a0e87c95ccc7a678d89354cf295ae66e","assignee":{"login":"immarvin","id":5668922,"avatar_url":"https://avatars.githubusercontent.com/u/5668922?v=3","gravatar_id":"","url":"https://api.github.com/users/immarvin","html_url":"https://github.com/immarvin","followers_url":"https://api.github.com/users/immarvin/followers","following_url":"https://api.github.com/users/immarvin/following{/other_user}","gists_url":"https://api.github.com/users/immarvin/gists{/gist_id}","starred_url":"https://api.github.com/users/immarvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immarvin/subscriptions","organizations_url":"https://api.github.com/users/immarvin/orgs","repos_url":"https://api.github.com/users/immarvin/repos","events_url":"https://api.github.com/users/immarvin/events{/privacy}","received_events_url":"https://api.github.com/users/immarvin/received_events","type":"User","site_admin":false},"assignees":[{"login":"immarvin","id":5668922,"avatar_url":"https://avatars.githubusercontent.com/u/5668922?v=3","gravatar_id":"","url":"https://api.github.com/users/immarvin","html_url":"https://github.com/immarvin","followers_url":"https://api.github.com/users/immarvin/followers","following_url":"https://api.github.com/users/immarvin/following{/other_user}","gists_url":"https://api.github.com/users/immarvin/gists{/gist_id}","starred_url":"https://api.github.com/users/immarvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immarvin/subscriptions","organizations_url":"https://api.github.com/users/immarvin/orgs","repos_url":"https://api.github.com/users/immarvin/repos","events_url":"https://api.github.com/users/immarvin/events{/privacy}","received_events_url":"https://api.github.com/users/immarvin/received_events","type":"User","site_admin":false},{"login":"daniceexi","id":10385985,"avatar_url":"https://avatars.githubusercontent.com/u/10385985?v=3","gravatar_id":"","url":"https://api.github.com/users/daniceexi","html_url":"https://github.com/daniceexi","followers_url":"https://api.github.com/users/daniceexi/followers","following_url":"https://api.github.com/users/daniceexi/following{/other_user}","gists_url":"https://api.github.com/users/daniceexi/gists{/gist_id}","starred_url":"https://api.github.com/users/daniceexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniceexi/subscriptions","organizations_url":"https://api.github.com/users/daniceexi/orgs","repos_url":"https://api.github.com/users/daniceexi/repos","events_url":"https://api.github.com/users/daniceexi/events{/privacy}","received_events_url":"https://api.github.com/users/daniceexi/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/18","html_url":"https://github.com/xcat2/xcat-core/milestones/2.12.3","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/18/labels","id":1925756,"number":18,"title":"2.12.3","description":"","creator":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"open_issues":95,"closed_issues":7,"state":"open","created_at":"2016-08-05T15:38:02Z","updated_at":"2016-08-24T01:45:51Z","due_on":"2016-09-30T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1743/commits","review_comments_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1743/comments","review_comment_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1743/comments","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/e51b7c5d075b3c1afeeef43901aa4108bf4fb714","head":{"label":"penguhyang:fix_sles11.4_tar","ref":"fix_sles11.4_tar","sha":"e51b7c5d075b3c1afeeef43901aa4108bf4fb714","user":{"login":"penguhyang","id":13343411,"avatar_url":"https://avatars.githubusercontent.com/u/13343411?v=3","gravatar_id":"","url":"https://api.github.com/users/penguhyang","html_url":"https://github.com/penguhyang","followers_url":"https://api.github.com/users/penguhyang/followers","following_url":"https://api.github.com/users/penguhyang/following{/other_user}","gists_url":"https://api.github.com/users/penguhyang/gists{/gist_id}","starred_url":"https://api.github.com/users/penguhyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penguhyang/subscriptions","organizations_url":"https://api.github.com/users/penguhyang/orgs","repos_url":"https://api.github.com/users/penguhyang/repos","events_url":"https://api.github.com/users/penguhyang/events{/privacy}","received_events_url":"https://api.github.com/users/penguhyang/received_events","type":"User","site_admin":false},"repo":{"id":62190170,"name":"xcat-core","full_name":"penguhyang/xcat-core","owner":{"login":"penguhyang","id":13343411,"avatar_url":"https://avatars.githubusercontent.com/u/13343411?v=3","gravatar_id":"","url":"https://api.github.com/users/penguhyang","html_url":"https://github.com/penguhyang","followers_url":"https://api.github.com/users/penguhyang/followers","following_url":"https://api.github.com/users/penguhyang/following{/other_user}","gists_url":"https://api.github.com/users/penguhyang/gists{/gist_id}","starred_url":"https://api.github.com/users/penguhyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penguhyang/subscriptions","organizations_url":"https://api.github.com/users/penguhyang/orgs","repos_url":"https://api.github.com/users/penguhyang/repos","events_url":"https://api.github.com/users/penguhyang/events{/privacy}","received_events_url":"https://api.github.com/users/penguhyang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/penguhyang/xcat-core","description":"Code repo for xCAT core packages","fork":true,"url":"https://api.github.com/repos/penguhyang/xcat-core","forks_url":"https://api.github.com/repos/penguhyang/xcat-core/forks","keys_url":"https://api.github.com/repos/penguhyang/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/penguhyang/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/penguhyang/xcat-core/teams","hooks_url":"https://api.github.com/repos/penguhyang/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/penguhyang/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/penguhyang/xcat-core/events","assignees_url":"https://api.github.com/repos/penguhyang/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/penguhyang/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/penguhyang/xcat-core/tags","blobs_url":"https://api.github.com/repos/penguhyang/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/penguhyang/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/penguhyang/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/penguhyang/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/penguhyang/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/penguhyang/xcat-core/languages","stargazers_url":"https://api.github.com/repos/penguhyang/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/penguhyang/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/penguhyang/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/penguhyang/xcat-core/subscription","commits_url":"https://api.github.com/repos/penguhyang/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/penguhyang/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/penguhyang/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/penguhyang/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/penguhyang/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/penguhyang/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/penguhyang/xcat-core/merges","archive_url":"https://api.github.com/repos/penguhyang/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/penguhyang/xcat-core/downloads","issues_url":"https://api.github.com/repos/penguhyang/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/penguhyang/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/penguhyang/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/penguhyang/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/penguhyang/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/penguhyang/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/penguhyang/xcat-core/deployments","created_at":"2016-06-29T02:46:54Z","updated_at":"2016-06-29T02:47:04Z","pushed_at":"2016-08-24T02:22:20Z","git_url":"git://github.com/penguhyang/xcat-core.git","ssh_url":"git@github.com:penguhyang/xcat-core.git","clone_url":"https://github.com/penguhyang/xcat-core.git","svn_url":"https://github.com/penguhyang/xcat-core","homepage":null,"size":187307,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"xcat2:master","ref":"master","sha":"9023bf1699a92ab938b3ff8d924a9ccea2ee0f5c","user":{"login":"xcat2","id":10124414,"avatar_url":"https://avatars.githubusercontent.com/u/10124414?v=3","gravatar_id":"","url":"https://api.github.com/users/xcat2","html_url":"https://github.com/xcat2","followers_url":"https://api.github.com/users/xcat2/followers","following_url":"https://api.github.com/users/xcat2/following{/other_user}","gists_url":"https://api.github.com/users/xcat2/gists{/gist_id}","starred_url":"https://api.github.com/users/xcat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcat2/subscriptions","organizations_url":"https://api.github.com/users/xcat2/orgs","repos_url":"https://api.github.com/users/xcat2/repos","events_url":"https://api.github.com/users/xcat2/events{/privacy}","received_events_url":"https://api.github.com/users/xcat2/received_events","type":"Organization","site_admin":false},"repo":{"id":27747508,"name":"xcat-core","full_name":"xcat2/xcat-core","owner":{"login":"xcat2","id":10124414,"avatar_url":"https://avatars.githubusercontent.com/u/10124414?v=3","gravatar_id":"","url":"https://api.github.com/users/xcat2","html_url":"https://github.com/xcat2","followers_url":"https://api.github.com/users/xcat2/followers","following_url":"https://api.github.com/users/xcat2/following{/other_user}","gists_url":"https://api.github.com/users/xcat2/gists{/gist_id}","starred_url":"https://api.github.com/users/xcat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcat2/subscriptions","organizations_url":"https://api.github.com/users/xcat2/orgs","repos_url":"https://api.github.com/users/xcat2/repos","events_url":"https://api.github.com/users/xcat2/events{/privacy}","received_events_url":"https://api.github.com/users/xcat2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xcat2/xcat-core","description":"Code repo for xCAT core packages","fork":false,"url":"https://api.github.com/repos/xcat2/xcat-core","forks_url":"https://api.github.com/repos/xcat2/xcat-core/forks","keys_url":"https://api.github.com/repos/xcat2/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xcat2/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xcat2/xcat-core/teams","hooks_url":"https://api.github.com/repos/xcat2/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/xcat2/xcat-core/events","assignees_url":"https://api.github.com/repos/xcat2/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/xcat2/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/xcat2/xcat-core/tags","blobs_url":"https://api.github.com/repos/xcat2/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xcat2/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xcat2/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/xcat2/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/xcat2/xcat-core/languages","stargazers_url":"https://api.github.com/repos/xcat2/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/xcat2/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/xcat2/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/xcat2/xcat-core/subscription","commits_url":"https://api.github.com/repos/xcat2/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/xcat2/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/xcat2/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/xcat2/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xcat2/xcat-core/merges","archive_url":"https://api.github.com/repos/xcat2/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xcat2/xcat-core/downloads","issues_url":"https://api.github.com/repos/xcat2/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/xcat2/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/xcat2/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/xcat2/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xcat2/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/xcat2/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/xcat2/xcat-core/deployments","created_at":"2014-12-09T03:21:50Z","updated_at":"2016-07-25T20:52:36Z","pushed_at":"2016-08-24T02:22:21Z","git_url":"git://github.com/xcat2/xcat-core.git","ssh_url":"git@github.com:xcat2/xcat-core.git","clone_url":"https://github.com/xcat2/xcat-core.git","svn_url":"https://github.com/xcat2/xcat-core","homepage":null,"size":187799,"stargazers_count":51,"watchers_count":51,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":139,"forks":61,"open_issues":139,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/1743"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/1743"},"issue":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/1743"},"comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/1743/comments"},"review_comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/1743/comments"},"review_comment":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/1743/commits"},"statuses":{"href":"https://api.github.com/repos/xcat2/xcat-core/statuses/e51b7c5d075b3c1afeeef43901aa4108bf4fb714"}}}}
{"actor":{"display_login":"immarvin"}}