Commit graph

92 commits

Author SHA1 Message Date
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
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
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
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
caae1a0a8b workaround unnecessary list conversions 2018-07-11 17:37:40 -04:00
Tomas Kopecek
b96092334d python-modernize -f libmodernize.fixes.fix_xrange_six 2018-07-11 17:37:39 -04:00
Yuming Zhu
1c76cd0c0f cli: rename _unique_path to unique_path, and deprecate the old one 2018-06-28 12:39:12 -04:00
Yuming Zhu
74dfee90ea rebase bad reference change 2018-06-27 11:34:50 -04:00
Mike McLean
f274b3602f give user option to use avoid using batches 2018-06-27 11:34:50 -04:00
Mike McLean
9b1f5b504e drop unecessary warning 2018-06-27 11:34:50 -04:00
Yuming Zhu
60a23818a1 add warning for batch usage in clone-tag 2018-06-27 11:34:50 -04:00
Yuming Zhu
70db1c5650 cli: enable batch for clone-tag 2018-06-27 11:33:34 -04:00
Tomas Kopecek
cfe859e184 Check empty arches before spawning dist-repo
Fixes: https://pagure.io/koji/issue/974
2018-06-19 10:00:48 -04:00
Tomas Kopecek
63d92398d5 allow force for pkglist_add
Using force option will allow 'pre-blocking' of packages which are not
in tag inheritance yet, but could cause a problem if they'll get to
inheritance chain somehow. In such case we don't have an owner for
package and using 'force' allows admin to introduce blocked package with
him as an owner.

Fixes: https://pagure.io/koji/issue/867
2018-06-08 16:54:53 -04:00
Tomas Kopecek
399e42bbd1 CLI update for readTagGroups blocked 2018-06-05 09:59:03 -04:00
Tomas Kopecek
60fdcdf11d display more info 2018-06-04 11:49:57 -04:00
Tomas Kopecek
77237cb9c4 Add --enabled --ready filters for list-channels
Fixes: https://pagure.io/koji/issue/939
2018-06-04 11:49:57 -04:00
Yuming Zhu
b0421b094f cli: [clone-tag] preserve build order 2018-06-04 11:28:06 -04:00
Yuming Zhu
567f9393d2 cli: fix KeyError for external RPM in rpminfo command 2018-06-01 11:42:29 -04:00
Yuming Zhu
d1bf25c18b cli: change bad reference in clone-tag 2018-06-01 11:35:16 -04:00
Mike McLean
12129dd7f1 fix help string 2018-05-03 16:05:16 -04:00
Mike McLean
e128d7596e cli: dist-repo --split-debuginfo option 2018-05-03 16:05:16 -04:00
Mike McLean
10e1963f75 dist-repo --with-src option 2018-05-03 16:05:16 -04:00
Mike McLean
651f5e05d5 short option -a/--arch for dist-repo command 2018-05-03 16:05:16 -04:00
Mike McLean
88b3876b2a support querying history by host and channel 2018-04-30 11:35:25 -04:00
Tomas Kopecek
b50479abb0 host_channels history 2018-04-30 11:35:25 -04:00
Tomas Kopecek
dfd097b440 add history to edit_host
Hosts now have history.

host table was split to host (containing ephemereal and non-editable
data (load, activity, name, user_id)) and host_config containing
data changeable by admins (archs, capacity, ...). This table is
versioned and searchable via queryHistory.

Fixes: https://pagure.io/koji/issue/638
2018-04-30 11:35:25 -04:00
Mike McLean
3498ac40a7 remove unused vars 2018-04-24 16:54:08 -04:00
Tomas Kopecek
252c9e1c20 CLI commands for notifications
Fixes: https://pagure.io/koji/issue/680
2018-04-24 16:54:08 -04:00
Brendan Reilly
f33d01ecd4 restart-hosts fails if provided arguments 2018-04-03 12:16:19 -04:00