Commit graph

600 commits

Author SHA1 Message Date
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
Franz Chih-Ping Hsieh
f356ac4f17 force using python2 to run script
Fixes #945
2018-05-24 00:01:30 -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
Tomas Kopecek
1b07d95ccf print debug and error messages to stderr
Fixes: https://pagure.io/koji/issue/671
2018-04-24 17:01:51 -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
Tomas Kopecek
f468aeb19a extend listBuilds for search by source
Fixes: https://pagure.io/koji/issue/701
2018-03-06 12:26:43 -05:00
Franz Chih-Ping Hsieh
fce85a67c0 correct dict key check mechanism
Fixes: #742
https://pagure.io/koji/issue/742
2018-02-26 15:19:59 -05:00
Tomas Kopecek
7e643ce695 Don't allow combination of --mine and task-ids 2018-02-20 10:55:36 -05:00
Mike McLean
6b09de74d3 make default user value consistent 2018-02-19 17:10:34 -05:00
Tomas Kopecek
a954bfb84b Fix values for non-existent options 2018-02-19 17:10:34 -05:00
Franz Chih-Ping Hsieh
b8bfc837fe add coverage exclude check 2017-12-19 09:59:35 -05:00
Franz Chih-Ping Hsieh
a2f0de1a5a fix issues found in handle_dist_repo()
Fixes: #758
https://pagure.io/koji/issue/758
2017-12-19 09:52:45 -05:00
Tomas Kopecek
c8242ed75f Display license info in CLI's rpminfo and Web UI
Fixes: https://pagure.io/koji/issue/683
2017-11-30 17:39:01 -05:00
Franz Chih-Ping Hsieh
8da5f2bc2f Use task id as key to sort
related: #713
https://pagure.io/koji/issue/713
2017-11-30 12:20:33 -05:00
Franz Chih-Ping Hsieh
5da7c18f1f add argument detection to prevent array out of index error.
Fixes: #706
https://pagure.io/koji/issue/706
2017-11-29 04:05:50 +00:00
Yuming Zhu
d1f0ed41ac set optional-arches to list
fixes #697
2017-11-22 14:27:15 -05:00
Mike McLean
f81c369724 avoid reporting incorrect info in is_success() 2017-11-22 00:24:24 -05:00
Yuming Zhu
73ebc0c98f cli: make return code of watch_task to always ignore sub-task failure
fixes: #696
2017-11-22 00:24:24 -05:00
Mike McLean
6136c51f85 cli: use strict with getTag call when appropriate 2017-11-22 00:16:26 -05:00
Franz Chih-Ping Hsieh
699ba58e44 Fixes: #682
https://pagure.io/koji/issue/682
correct wrong mapping in print format
2017-11-08 08:06:13 -05:00
Tomas Kopecek
64202285b2 don't fail on CLI plugins without docstrings
Related: https://pagure.io/koji/issue/644
2017-10-30 21:36:18 -04:00
Tomas Kopecek
fc81129563 fix unreachable code 2017-10-30 16:53:59 -04:00
Tomas Kopecek
a12925fb72 remove unused calls 2017-10-30 16:48:59 -04:00
Mike McLean
d8fb302780 add krb_canon_host example in koji.conf 2017-10-27 15:32:25 -04:00
Tomas Kopecek
d756d8c5bd remove python3 typo 2017-10-16 10:03:42 -04:00
Tomas Kopecek
bf0552e6de use contextlib wrapper for older python-requests 2017-10-16 10:03:42 -04:00
Tomas Kopecek
7e2cb6b156 replace pycurl with requests
Related: https://pagure.io/koji/issue/600
2017-10-16 10:03:42 -04:00
Tomas Kopecek
77339cc7a1 unit test 2017-10-11 01:05:41 -04:00
Tomas Kopecek
c7fbf4ec81 move _list_task to client lib 2017-10-11 01:05:41 -04:00
Tomas Kopecek
db37cec5ae watch-logs --mine --follow
Related: https://pagure.io/koji/issue/621
2017-10-11 01:05:41 -04:00
Tomas Kopecek
26474b72fc drop importBuildInPlace call
"The importBuildInPlace call is an artifact of a particular bootstrap
event that happened a long time ago. It's not really documented or
recommended for current use."

Related: https://pagure.io/koji/issue/553
2017-09-26 17:32:16 -04:00
Tomas Kopecek
1891892c25 move spin-livemedia to build section
Related: https://pagure.io/koji/issue/586
2017-09-26 12:42:56 +02:00