{"action":"created","comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments/223385151","pull_request_review_id":162498249,"id":223385151,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzM4NTE1MQ==","diff_hunk":"@@ -46,18 +46,27 @@ Stop xCAT Service\n Remove xCAT Files\n -----------------\n \n-1. Remove the xCAT RPMs\n+1. Remove xCAT Packages\n \n-  There is no easy way to identify all xCAT packages. For packages shipped by xCAT, you can remove them by using the commands below.\n+  There is a way to remove all xCAT packages automatically, by run `go-xcat` ::\n \n-  [RHEL and SLES] ::\n+      /opt/xcat/share/xcat/tools/go-xcat uninstall\n \n-      yum remove '*xcat*'\n-      yum remove '*xCAT*'\n+  Or, you can choose to remove all xCAT packages manually. Please continue read the following section.","path":"docs/source/guides/install-guides/maintenance/uninstall_xcat.rst","position":15,"original_position":15,"commit_id":"763ec38068bb4649c3b6e0940db5ead70bc7e235","original_commit_id":"763ec38068bb4649c3b6e0940db5ead70bc7e235","user":{"login":"gurevichmark","id":16106630,"node_id":"MDQ6VXNlcjE2MTA2NjMw","avatar_url":"https://avatars1.githubusercontent.com/u/16106630?v=4","gravatar_id":"","url":"https://api.github.com/users/gurevichmark","html_url":"https://github.com/gurevichmark","followers_url":"https://api.github.com/users/gurevichmark/followers","following_url":"https://api.github.com/users/gurevichmark/following{/other_user}","gists_url":"https://api.github.com/users/gurevichmark/gists{/gist_id}","starred_url":"https://api.github.com/users/gurevichmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurevichmark/subscriptions","organizations_url":"https://api.github.com/users/gurevichmark/orgs","repos_url":"https://api.github.com/users/gurevichmark/repos","events_url":"https://api.github.com/users/gurevichmark/events{/privacy}","received_events_url":"https://api.github.com/users/gurevichmark/received_events","type":"User","site_admin":false},"body":"I do not think we need this line (55) at all, the next line (57) has all the information, just add the word \"manually\" in \"... you can manually remove them ...\" ","created_at":"2018-10-08T14:31:18Z","updated_at":"2018-10-08T14:31:18Z","html_url":"https://github.com/xcat2/xcat-core/pull/5674#discussion_r223385151","pull_request_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/5674","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments/223385151"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/5674#discussion_r223385151"},"pull_request":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/5674"}}},"pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/5674","id":218861609,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4ODYxNjA5","html_url":"https://github.com/xcat2/xcat-core/pull/5674","diff_url":"https://github.com/xcat2/xcat-core/pull/5674.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/5674.patch","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/5674","number":5674,"state":"open","locked":false,"title":"Uninstall xCAT with go-xcat","user":{"login":"neo954","id":12424088,"node_id":"MDQ6VXNlcjEyNDI0MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/12424088?v=4","gravatar_id":"","url":"https://api.github.com/users/neo954","html_url":"https://github.com/neo954","followers_url":"https://api.github.com/users/neo954/followers","following_url":"https://api.github.com/users/neo954/following{/other_user}","gists_url":"https://api.github.com/users/neo954/gists{/gist_id}","starred_url":"https://api.github.com/users/neo954/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo954/subscriptions","organizations_url":"https://api.github.com/users/neo954/orgs","repos_url":"https://api.github.com/users/neo954/repos","events_url":"https://api.github.com/users/neo954/events{/privacy}","received_events_url":"https://api.github.com/users/neo954/received_events","type":"User","site_admin":false},"body":"### This pull request is to fix issue _#4304_\r\n\r\nIn issue #4304, a feature request of provide a method of `go-xcat` to downgrade xCAT to a specified version was asked. But xCAT itself does not provide any support on downgrading. Thus, instead of downgrade xCAT, `go-xcat` now provide a feature of xCAT uninstallation. In this way, user can choose to uninstall xCAT and reinstall xCAT with any xCAT version they want.\r\n\r\n### The modification includes\r\n\r\n#### Provide a method to uninstall xCAT\r\n\r\nRun `go-xcat uninstall`\r\n\r\n#### Provide a method to uninstall xCAT plus remove all the side effects xCAT has made\r\n\r\nRun `go-xcat away`\r\n\r\n#### Revised debug log file\r\n\r\nIn any case, if a `go-xcat` run was failed. A log file `/tmp/go-xcat.log` will be present. And the error message will ask the end user to provide this log file in their bug report.\r\n\r\n### Evaluation\r\n\r\nRun the following commands to play with the latest beta version `go-xcat` in this pull request.\r\n```\r\nwget https://raw.githubusercontent.com/neo954/xcat-core/go-xcat/xCAT-server/share/xcat/tools/go-xcat -O - >/tmp/go-xcat\r\nchmod +x /tmp/go-xcat\r\n/tmp/go-xcat\r\n```","created_at":"2018-09-28T06:00:25Z","updated_at":"2018-10-08T14:31:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe2d43c7c876f785bd64e845d6716de20d77c049","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":551182394,"node_id":"MDU6TGFiZWw1NTExODIzOTQ=","url":"https://api.github.com/repos/xcat2/xcat-core/labels/sprint2","name":"sprint2","color":"bfd4f2","default":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/41","html_url":"https://github.com/xcat2/xcat-core/milestone/41","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/41/labels","id":3538202,"node_id":"MDk6TWlsZXN0b25lMzUzODIwMg==","number":41,"title":"2.14.4","description":"","creator":{"login":"zet809","id":8222144,"node_id":"MDQ6VXNlcjgyMjIxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8222144?v=4","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"open_issues":62,"closed_issues":68,"state":"open","created_at":"2018-08-01T06:44:28Z","updated_at":"2018-10-08T09:03:18Z","due_on":"2018-10-19T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/5674/commits","review_comments_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/5674/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/5674/comments","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/763ec38068bb4649c3b6e0940db5ead70bc7e235","head":{"label":"neo954:go-xcat","ref":"go-xcat","sha":"763ec38068bb4649c3b6e0940db5ead70bc7e235","user":{"login":"neo954","id":12424088,"node_id":"MDQ6VXNlcjEyNDI0MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/12424088?v=4","gravatar_id":"","url":"https://api.github.com/users/neo954","html_url":"https://github.com/neo954","followers_url":"https://api.github.com/users/neo954/followers","following_url":"https://api.github.com/users/neo954/following{/other_user}","gists_url":"https://api.github.com/users/neo954/gists{/gist_id}","starred_url":"https://api.github.com/users/neo954/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo954/subscriptions","organizations_url":"https://api.github.com/users/neo954/orgs","repos_url":"https://api.github.com/users/neo954/repos","events_url":"https://api.github.com/users/neo954/events{/privacy}","received_events_url":"https://api.github.com/users/neo954/received_events","type":"User","site_admin":false},"repo":{"id":41463981,"node_id":"MDEwOlJlcG9zaXRvcnk0MTQ2Mzk4MQ==","name":"xcat-core","full_name":"neo954/xcat-core","private":false,"owner":{"login":"neo954","id":12424088,"node_id":"MDQ6VXNlcjEyNDI0MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/12424088?v=4","gravatar_id":"","url":"https://api.github.com/users/neo954","html_url":"https://github.com/neo954","followers_url":"https://api.github.com/users/neo954/followers","following_url":"https://api.github.com/users/neo954/following{/other_user}","gists_url":"https://api.github.com/users/neo954/gists{/gist_id}","starred_url":"https://api.github.com/users/neo954/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo954/subscriptions","organizations_url":"https://api.github.com/users/neo954/orgs","repos_url":"https://api.github.com/users/neo954/repos","events_url":"https://api.github.com/users/neo954/events{/privacy}","received_events_url":"https://api.github.com/users/neo954/received_events","type":"User","site_admin":false},"html_url":"https://github.com/neo954/xcat-core","description":"Code repo for xCAT core packages","fork":true,"url":"https://api.github.com/repos/neo954/xcat-core","forks_url":"https://api.github.com/repos/neo954/xcat-core/forks","keys_url":"https://api.github.com/repos/neo954/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo954/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo954/xcat-core/teams","hooks_url":"https://api.github.com/repos/neo954/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/neo954/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/neo954/xcat-core/events","assignees_url":"https://api.github.com/repos/neo954/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/neo954/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/neo954/xcat-core/tags","blobs_url":"https://api.github.com/repos/neo954/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo954/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo954/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo954/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo954/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/neo954/xcat-core/languages","stargazers_url":"https://api.github.com/repos/neo954/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/neo954/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/neo954/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/neo954/xcat-core/subscription","commits_url":"https://api.github.com/repos/neo954/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo954/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo954/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo954/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo954/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/neo954/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo954/xcat-core/merges","archive_url":"https://api.github.com/repos/neo954/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo954/xcat-core/downloads","issues_url":"https://api.github.com/repos/neo954/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/neo954/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/neo954/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/neo954/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo954/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/neo954/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/neo954/xcat-core/deployments","created_at":"2015-08-27T03:35:35Z","updated_at":"2018-08-28T07:47:19Z","pushed_at":"2018-10-08T05:19:54Z","git_url":"git://github.com/neo954/xcat-core.git","ssh_url":"git@github.com:neo954/xcat-core.git","clone_url":"https://github.com/neo954/xcat-core.git","svn_url":"https://github.com/neo954/xcat-core","homepage":null,"size":199122,"stargazers_count":1,"watchers_count":1,"language":"Perl","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"xcat2:master","ref":"master","sha":"7bf2984138cc5bd7e49bf6690a504e5cf9bb5a3f","user":{"login":"xcat2","id":10124414,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTI0NDE0","avatar_url":"https://avatars3.githubusercontent.com/u/10124414?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyNzc0NzUwOA==","name":"xcat-core","full_name":"xcat2/xcat-core","private":false,"owner":{"login":"xcat2","id":10124414,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMTI0NDE0","avatar_url":"https://avatars3.githubusercontent.com/u/10124414?v=4","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},"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":"2018-10-05T19:03:22Z","pushed_at":"2018-10-08T05:19:56Z","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":200765,"stargazers_count":138,"watchers_count":138,"language":"Perl","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":113,"mirror_url":null,"archived":false,"open_issues_count":204,"license":null,"forks":113,"open_issues":204,"watchers":138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/5674"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/5674"},"issue":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/5674"},"comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/5674/comments"},"review_comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/5674/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/5674/commits"},"statuses":{"href":"https://api.github.com/repos/xcat2/xcat-core/statuses/763ec38068bb4649c3b6e0940db5ead70bc7e235"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gurevichmark"}}