{"action":"closed","number":228,"pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/228","id":46232672,"html_url":"https://github.com/xcat2/xcat-core/pull/228","diff_url":"https://github.com/xcat2/xcat-core/pull/228.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/228.patch","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/228","number":228,"state":"closed","locked":false,"title":"check the postscripts before running it with 'bash -x'","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":"When enable the site.xcatdebugmode, the postscript will be run with 'bash -x' to output more debug messages. But not all of xCAT postscripts are shell script, so do the check before running it with 'bash -x'.","created_at":"2015-09-29T03:16:40Z","updated_at":"2015-10-19T08:23:15Z","closed_at":"2015-10-19T08:23:15Z","merged_at":"2015-10-19T08:23:15Z","merge_commit_sha":"1d13be948b885331c0838cf8ca38e36a11c6ea1c","assignee":{"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},"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/3","html_url":"https://github.com/xcat2/xcat-core/milestones/2.11","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/3/labels","id":1237674,"number":3,"title":"2.11","description":"xCAT 2.11","creator":{"login":"ligc","id":4415329,"avatar_url":"https://avatars.githubusercontent.com/u/4415329?v=3","gravatar_id":"","url":"https://api.github.com/users/ligc","html_url":"https://github.com/ligc","followers_url":"https://api.github.com/users/ligc/followers","following_url":"https://api.github.com/users/ligc/following{/other_user}","gists_url":"https://api.github.com/users/ligc/gists{/gist_id}","starred_url":"https://api.github.com/users/ligc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligc/subscriptions","organizations_url":"https://api.github.com/users/ligc/orgs","repos_url":"https://api.github.com/users/ligc/repos","events_url":"https://api.github.com/users/ligc/events{/privacy}","received_events_url":"https://api.github.com/users/ligc/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":43,"state":"open","created_at":"2015-08-03T06:33:22Z","updated_at":"2015-10-19T08:23:15Z","due_on":"2015-12-03T16:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/228/commits","review_comments_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/228/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/228/comments","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/28533f9411ae99851b9cfa260a04b21f67874b71","head":{"label":"penguhyang:type_postscript","ref":"type_postscript","sha":"28533f9411ae99851b9cfa260a04b21f67874b71","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":41718304,"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}","created_at":"2015-09-01T05:16:11Z","updated_at":"2015-09-01T05:16:18Z","pushed_at":"2015-10-19T07:55:30Z","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":180793,"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":"48aa4dd1cd66c6ffdb05cd3faeb4273d9efc6c21","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}","created_at":"2014-12-09T03:21:50Z","updated_at":"2015-08-24T13:01:14Z","pushed_at":"2015-10-19T08:23:15Z","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":186281,"stargazers_count":19,"watchers_count":19,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":58,"forks":30,"open_issues":58,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/228"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/228"},"issue":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/228"},"comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/228/comments"},"review_comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/228/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/228/commits"},"statuses":{"href":"https://api.github.com/repos/xcat2/xcat-core/statuses/28533f9411ae99851b9cfa260a04b21f67874b71"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":2,"review_comments":4,"commits":1,"additions":18,"deletions":6,"changed_files":3}}