2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

63 Commits

Author SHA1 Message Date
Gᴏɴɢ Jie
e1009c6f71 [go-xcat] Force use C locale when do rpm query (#5827) 2018-11-22 18:47:23 +08:00
Gᴏɴɢ Jie
972a7d1c9e Minor go-xcat updates (#5753)
* [go-xcat] Revise the error handling of xCAT uninstallation

* [go-xcat] Add xCAT-genesis-builder to the uninstallation package list

* [go-xcat] allow-insecure=yes for unsigned Debian/Ubuntu repository

* [go-xcat] Set gpgcheck=0 if file repomd.xml.asc is not found

* [go-xcat] Run `apt-get purge` for completely xCAT uninstallation on Ubuntu

* [go-xcat] Bump version number

* [go-xcat] Better error message when smoke test failed

* Remove empty line

* [go-xcat] Fix error handling in extract_archive
2018-11-22 18:43:23 +08:00
GONG Jie
1fc3e2d18c [go-xcat] Fix command line argument handling bug introduced by previous commits 2018-10-26 16:07:55 +08:00
GONG Jie
3d4f196426 [go-xcat] Change back to gpgcheck=0 2018-10-26 11:29:38 +08:00
Gᴏɴɢ Jie
833f33c820 [go-xcat] Fix the result of smoke test when xCAT is not installed (#5731)
* [go-xcat] Revise the command line argument handling

* [go-xcat] Revise test cases

* [go-xcat] Fix the result of smoke test when xCAT is not installed
2018-10-25 17:19:30 +08:00
Gᴏɴɢ Jie
01ad6cd6a6 Uninstall xCAT with go-xcat (#5674)
* [go-xcat] Revise debug log, in order to make debugging go-xcat and bug reporting easier.

* [go-xcat] Revise the prompt messages

* [go-xcat] In yum/zypper repo file, use gpgcheck=1

* [go-xcat] Bump version number

* [go-xcat] Revise the help messages

* [go-xcat] xCAT uninstallation

* [go-xcat] Fix kill command error messages

* [go-xcat] Simplify command line argument processing

* [go-xcat] When do a `check', only run update_repo

* Update document of xCAT uninstallation - use `go-xcat uninstall`

* [go-xcat] Handle goconserver in trash_xcat()

* [go-xcat] Add goconserver to the uninstallation package list

* Add goconserver to the uninstallation package list

* [go-xcat] Fix debug_logger

* [go-xcat] xCAT can be completely uninstalled
2018-10-25 13:24:15 +08:00
Mark Gurevich
5f88870e33 Remove commented out lines 2018-10-11 15:54:39 -04:00
Mark Gurevich
3d41124508 Changes after the review 2018-10-03 11:19:27 -04:00
Mark Gurevich
3970342342 xCAT name consistency 2018-10-01 13:15:58 -04:00
GONG Jie
34c9e1d223 Remove trailing spaces in file xCAT-server/share/xcat/tools/go-xcat 2017-12-31 23:59:59 +00:00
Gᴏɴɢ Jie
0f190b79a5 [go-xcat] Dirty workaround for github issue #5503 on SLES 11 SP4 (#5522) 2018-08-16 19:43:16 +08:00
Gᴏɴɢ Jie
f7c7ea884f [go-xcat] Fix package version checking on Ubuntu 18.04 (#5320) 2018-06-25 20:51:10 +08:00
Gᴏɴɢ Jie
4507a038ba Accumulated go-xcat updates (#4991)
* Fix vim modelines

* [go-xcat] Fix --long-help

* [go-xcat] Add curl support

* [go-xcat] Better tarball support

* [go-xcat] Explaination of --xcat-version argument in help message

* [go-xcat] Disable xCAT-core.repo and xCAT-dep.repo if they exist

* [go-xcat] Add change logs
2018-03-28 17:47:44 +08:00
GONG Jie
99e3645b09 [go-xcat] Add the indents back to the outputs 2017-06-30 14:55:28 +08:00
GONG Jie
f7f8096afb [go-xcat] When xcat version is specified, look different place for xcat-dep repository 2017-06-29 13:25:01 +08:00
Victor Hu
a770ed6726 bump up the version of go-xcat 2017-06-27 15:09:24 -04:00
Victor Hu
65615ce7e9 Remove the quotes around the source command 2017-06-05 14:18:30 -04:00
Victor Hu
b7f8af5e34 When go-xcat prompts the user to continue, prompt until y or n
is specified before aborting.
2017-06-05 14:09:37 -04:00
neo954
b9e36a58fc [go-xcat] Fix repository query and force problem resolution for zypper (#2876)
* [go-xcat] Fix the issue in upgrade on SLES as some packages vendor name is changed.
2017-04-21 14:10:10 +08:00
GONG Jie
9e245025ca [go-xcat] Fix zypper repository querying. Search packages in repository only. 2017-04-13 16:29:21 +08:00
GONG Jie
f82ff37c2b [go-xcat] Ignore any error of yum clean metadata 2017-03-31 15:29:09 +08:00
GONG Jie
061fbb012b [go-xcat] Better Linux distro version detection 2017-03-03 15:04:53 +08:00
GONG Jie
dbf5c23c8f [go-xcat] Fix github issue #2543, better error handling for wget 2017-03-02 16:28:34 +08:00
GONG Jie
909bfae24c [go-xcat] Fix a bug of the dirty hack for Debian/Ubuntu `devel' branch 2017-01-12 15:10:33 +08:00
GONG Jie
429dc7867b [go-xcat] Run zypper in non-interactive mode when run `zypper refresh' 2016-11-16 17:28:52 +08:00
GONG Jie
ef6eeb5ff8 [go-xcat] Ask the end user to use at least yum version 3.2.29-17 2016-11-16 14:46:17 +08:00
GONG Jie
907f384f65 [go-xcat] More error messages when yum failed 2016-11-14 15:39:44 +08:00
neo954
472f94bb22 [go-xcat] Fix GitHub issue #1998 (#2059)
* [go-xcat] Fix GitHub issue #1998, print out friendly error messages when no xcat paackages installed on updating

* [go-xcat] GitHub pull request #2059, change error message base on the comment of @whowutwut
2016-11-03 15:39:07 +08:00
GONG Jie
a2c53eb311 [go-xcat] Make all the upper level directory create by go-xcat a looser permission 2016-09-29 16:21:06 +08:00
GONG Jie
0ded2486c3 [go-xcat] Change the permission when mkdir 2016-09-28 17:42:52 +08:00
GONG Jie
b52b25cd84 [go-xcat] Revise error messages base on the comments of @gurevichmark 2016-09-20 22:26:45 +08:00
GONG Jie
24b2a63614 [go-xcat] Fix github issue #1836. Handle the situation of lack updateinfo command support for yum, and show friendly error messages. 2016-09-20 14:39:40 +08:00
GONG Jie
6ca356cfb7 [go-xcat] Change the output based on the comment of @geruvichmark 2016-09-19 14:32:46 +08:00
GONG Jie
0643166295 [go-xcat] Handle command argument more flexible 2016-09-18 22:27:24 +08:00
GONG Jie
22a16ed803 [go-xcat] Another patch for github issue #1641 2016-09-02 13:27:09 +08:00
GONG Jie
80ba704a15 [go-xcat] Fix github issue #1641, issue #1748 2016-08-26 16:52:06 +08:00
GONG Jie
d58495a391 [go-xcat] Fix typo 2016-08-17 16:21:07 +08:00
neo954
7831ea277d [go-xcat] Version 1.0.2 Fix a couple of bugs. (#1663)
* [go-xcat] Let the end user see the original interactive prompt of yum, zypper and apt-get.

* [go-xcat] Change the package list for Ubuntu based on commit number 8b5f44c

* [go-xcat] Change the default behavior of this script to show the help message

* [go-xcat] Add a secret verbose help message

* [go-xcat] A secret verbose help output

* [go-xcat] Print out help message instantly while wrong command line argument were passed

* [go-xcat] Add error handling for unknown command line argument
2016-08-11 01:21:07 -05:00
GONG Jie
769ba844c8 [go-xcat] Remove all the complicated examples 2016-08-09 16:15:33 +08:00
Victor Hu
9b96ee24e6 Display a different summary message on install vs update 2016-08-05 12:40:41 -04:00
Victor Hu
ab3448ca9f Change the summary message for go-xcat 2016-08-05 12:33:58 -04:00
GONG Jie
123f9bc400 [go-xcat] Print out more error messages when reading repository failed. 2016-07-11 15:26:04 +08:00
GONG Jie
2ba87088c3 [go-xcat] Use a different user-agent for wget 2016-07-11 15:26:04 +08:00
GONG Jie
a74af859ec [go-xcat] Add version number 2016-07-04 15:40:05 +08:00
GONG Jie
d4775db253 [go-xcat] Change all read' to read -r' to make the script more robust 2016-07-04 14:52:02 +08:00
GONG Jie
60d988b9d4 Fix issue caused by pull request #1400. Add remote URL as Ubuntu repo properly. 2016-07-04 13:06:19 +08:00
yangsong
13bfbf3781 Merge pull request #1426 from neo954/go-xcat.2
[go-xcat] Print more friendly error message, when command `repoquery' is not found
2016-06-29 21:06:31 -05:00
GONG Jie
c7ac6b3d11 [go-xcat] Print more friendly error message, when command `repoquery' is not found 2016-06-29 12:29:43 +08:00
Xiaopeng Wang
ba7bde1b73 Merge pull request #1400 from neo954/go-xcat
[go-xcat] Fix issue #1395.
2016-06-28 16:16:09 +08:00
GONG Jie
f203009cea [go-xcat] Fix issue #1398. Remove the support of local repoitory file on Debian/Ubuntu 2016-06-27 16:51:20 +08:00