Commit graph

654 commits

Author SHA1 Message Date
Mikolaj Izdebski
3d058c50db Allow generating separate src repo for build repos
Fixes #1266
2019-05-23 10:01:12 -04:00
Tomas Kopecek
558e129c6b use same arch parsing for cli and hub
Related: https://pagure.io/koji/issue/1237
2019-05-21 18:39:52 -04:00
Mike McLean
489bcb8923 add --volume option to dist-repo command 2019-05-21 12:14:33 -04:00
Tomas Kopecek
e75ddc7a36 fix channel separator 2019-05-21 10:04:59 -04:00
Tomas Kopecek
30d303cab2 fix alignment 2019-05-21 10:04:59 -04:00
Tomas Kopecek
20b6239220 add --show-channels listing to list-hosts
Fixes: https://pagure.io/koji/issue/1424
2019-05-21 10:04:59 -04:00
Tomas Kopecek
0b30e73053 Check CLI arguments for enable/disable host
Fixes: https://pagure.io/koji/issue/1364
2019-04-12 21:30:02 -04:00
Tomas Kopecek
2187270185 CLI list-channels sorted output 2019-04-12 17:11:13 -04:00
Tomas Kopecek
b4755745a2 block_pkglist compatibility fix
On older hubs --force is not supported, so CLI will fail on unknown
parameter. This use force option only if it is explicitly required.

Fixes: https://pagure.io/koji/issue/1388
2019-04-10 17:32:50 -04:00
Tomas Kopecek
5614455e8c use context manager for open in CLI 2019-04-10 17:29:00 -04:00
Daniel Rodríguez
2f503070c3 Replace references to latest-pkg with latest-build
Replace latest-pkg with latest-build in common commands and
documentation. References to latest-pkg are removed where
latest-build is also present. Also, command description for
latest-build is updated to match the current one.
2019-04-10 17:23:18 -04:00
Mike McLean
25b70fe5b5 honor mock.package_manager tag setting in mock-config cli
Fixes: https://pagure.io/koji/issue/1167
2019-04-05 19:59:34 -04:00
Tomas Kopecek
70968aba33 Remove python2.4 OptionParse fix
Fixes: https://pagure.io/koji/issue/1341
2019-03-20 16:09:44 -04:00
Mike McLean
a55ea5c2d6 drop unused write_to_stdout function
this was added after 1.16 and no longer used, so no point in keeping it
2019-03-04 09:57:15 -05:00
Mike McLean
b4b6e2e6cc simpler function for dumping bytes to stdout 2019-03-04 09:57:15 -05:00
Mike McLean
24f9cb60ba use base64encode most places 2019-03-04 09:28:39 -05:00
Brendan Reilly
deb738fc1d Added warnings and failures for too long volid 2019-02-21 16:37:35 -05:00
Brendan Reilly
b92824cca0 Added volume id as argument to livemedia task 2019-02-21 16:37:35 -05:00
Tomas Kopecek
a4d41bd078 wrapper function for writing to stdout 2019-02-19 17:29:25 -05:00
Yu Ming Zhu
9ddae41877 using ConfigParser.read_file for PY3 2019-02-17 21:26:13 -05:00
Mike McLean
bec51bb2e0 adjust grammar 2019-02-17 21:03:37 -05:00
Tomas Kopecek
fb7e9c1743 more detailed help for block-group-pkg 2019-02-13 13:49:24 +01:00
Yuming Zhu
ca26e38023 delete all other builds when latest_only and dsttag exists 2019-01-30 18:09:05 -05:00
Mike McLean
64c29c61d4 rename var, tweak logic, and add comments for clarity 2019-01-30 18:09:05 -05:00
Yuming Zhu
efece06adf preserve group order 2019-01-30 18:09:05 -05:00
Yuming Zhu
b42bc3ebde [clone-tag] preserve build order and fix group cloning 2019-01-30 18:09:05 -05:00
Tomas Kopecek
2ca3284447 Fix wrong error message
Fixes: https://pagure.io/koji/issue/1210

for/else resulted in error with correct arguments.
2019-01-28 10:50:32 -05:00
Tomas Kopecek
ccdb8ac34c Use python2/3 instead of python in Makefile/spec
Fixes: https://pagure.io/koji/issue/1018
2019-01-28 06:06:50 -05:00
Ken Dreyer
9fe61b561f cli: document parse_arches method parameters
Document the parameters for the parse_arches method.
2018-11-29 08:22:13 -07:00
Mike McLean
65a3dc0953 move inner function out of except clause 2018-11-28 15:25:57 -05:00
Yuming Zhu
9a0d735d40 move quiet option into ki_handler 2018-11-28 15:25:57 -05:00
Yuming Zhu
30ed89e485 cli: add a param in watch_tasks to override KeyboardInterrupt output 2018-11-28 15:25:57 -05:00
Yuming Zhu
2696f35b55 make timeout of authentication configurable 2018-11-27 10:39:11 -05:00
Mike McLean
f8b69fe033 adjust grammar in error message 2018-11-20 16:32:10 -05:00
Yuming Zhu
59a2e7906d cli: [free-task] raise error when no task-id specified 2018-11-20 16:29:49 -05:00
Tomas Kopecek
950c4bafc1 use stderr for warning
Fixes: https://pagure.io/koji/issue/1047
2018-11-20 15:54:47 -05:00
Ken Dreyer
686f647ac4 cli: fix "at least" typo in help text
"at lease" -> "at least"
2018-11-02 17:54:14 -04:00
Chenxiong Qi
5a3246f22a Ignore non-existing option when activate a session
For kerberos auth, if not login with a keytab and principal, those two
options may not be present in the incoming options.

Similarly, debug is also an optional option that could not exist.

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2018-10-21 15:54:05 -04:00
Yuming Zhu
777fdeba28 cli: support multiple arches in list-tagged
fixes: #933
2018-10-18 14:37:35 +02:00
Yuming Zhu
b3bc4b6e85 unit test for cli list-tagged command 2018-10-18 14:37:35 +02:00
Yuming Zhu
4a89f8a145 check tag existence in list-tagged cmd and listTagged* APIs 2018-10-18 14:37:35 +02:00
Mike McLean
7e02cdb46c only pass new incl_blocked call opt if it is explicitly needed
Older servers don't have the opt and will error if they see it

Fixes: #1126
2018-10-18 13:54:06 +02:00
Yuming Zhu
684e6c689b cli: [download-task] readable error when no task found 2018-09-25 10:19:59 -04:00
Yuming Zhu
36d1a10497 cli: fix typos in *-notification error msg 2018-09-20 18:08:59 -04:00
Tomas Kopecek
9effd55c39 create pkgorigins 2018-09-20 12:37:26 -04:00
Mike McLean
3273d249cd merge mode is part of tag connection rather than inherent to repo 2018-09-20 12:37:26 -04:00
Mike McLean
d63bf7f3df cli adjustments 2018-09-20 12:37:26 -04:00
Tomas Kopecek
c64f3389c7 fix utf-8 output in CLI
Fixes: https://pagure.io/koji/issue/1010
2018-08-16 09:17:11 -04:00
Tomas Kopecek
913efc47d1 Raise error for non-200 codes in download_file
Fixes: https://pagure.io/koji/issue/1020
2018-08-08 11:20:33 -04:00
Tomas Kopecek
caae1a0a8b workaround unnecessary list conversions 2018-07-11 17:37:40 -04:00