Commit graph

4258 commits

Author SHA1 Message Date
Mike McLean
d612eac1a0 PR#957: New multicall interface
Merges #957
https://pagure.io/koji/pull-request/957
2019-06-17 10:19:15 -04:00
Mike McLean
19bb507b5e fix typo 2019-06-17 10:19:12 -04:00
Mike McLean
71c4146638 update multicall docs 2019-06-17 10:19:12 -04:00
Mike McLean
14b25b1f4b use multicall in a few more places in the cli 2019-06-17 10:19:12 -04:00
Mike McLean
29f62a090b update docstring 2019-06-17 10:19:12 -04:00
Mike McLean
37e8afcf8c support batch option in MultiCallSession 2019-06-17 10:19:12 -04:00
Mike McLean
78e3f48d8b expand unit test a little 2019-06-17 10:19:12 -04:00
Mike McLean
64249cf753 provide multicall attribute for backwards compat 2019-06-17 10:19:12 -04:00
Mike McLean
c06c34c529 stub unit test 2019-06-17 10:19:12 -04:00
Mike McLean
32290e4a3e cleanup 2019-06-17 10:19:12 -04:00
Mike McLean
80a9d05d65 store args/kwargs in VirtualCall instances 2019-06-17 10:19:12 -04:00
Mike McLean
4e0fe71acb strict option for MultiCallSession class 2019-06-17 10:19:12 -04:00
Mike McLean
abcc993b00 get a MultiCallSession by calling session.multicall 2019-06-17 10:19:12 -04:00
Mike McLean
cecffa8432 add a context manager 2019-06-17 10:19:12 -04:00
Mike McLean
75982719c1 Use VirtualCall helper 2019-06-17 10:19:12 -04:00
Mike McLean
bb110da972 first stab at a new multicall approach 2019-06-17 10:19:12 -04:00
Mike McLean
790bc251de PR#1280: put fix_pyver before printing command help
Merges #1280
https://pagure.io/koji/pull-request/1280

Fixes: #1276
https://pagure.io/koji/issue/1276
CLI plugin resolution occurs before pyver is honored
2019-06-14 16:15:42 -04:00
Tomas Kopecek
15421a5637 put fix_pyver before printing command help
If pyver forces koji to reload under different interpreter, it could
happen, that different set of plugins is available. In such case help
printed under original interpreter can be misleading.

Fixes: https://pagure.io/koji/issue/1276
2019-06-14 16:15:08 -04:00
Mike McLean
9036e0e74f PR#1415: New 'buildtype' test for policies
Merges #1415
https://pagure.io/koji/pull-request/1415

Fixes: #1225
https://pagure.io/koji/issue/1225
Add policy test for btype
2019-06-14 15:54:50 -04:00
Tomas Kopecek
b0f0c3ff45 New 'buildtype' test for policies
Fixes: https://pagure.io/koji/issue/1225
2019-06-14 15:54:42 -04:00
Mike McLean
2cf37f6c4e PR#1258: retain old search pattern in web ui
Merges #1258
https://pagure.io/koji/pull-request/1258

Fixes: #1130
https://pagure.io/koji/issue/1130
RFE: search results page should include search form with current search prefilled
2019-06-14 15:24:03 -04:00
Mike McLean
fdc2bdaef9 search form on one line 2019-06-14 15:23:49 -04:00
Mike McLean
08fd56a5aa combine search and searchresults templates 2019-06-14 15:23:49 -04:00
Tomas Kopecek
7a5c9130bc retain form values in search page 2019-06-14 15:23:49 -04:00
Tomas Kopecek
f9758e2572 retain search type 2019-06-14 15:23:49 -04:00
Tomas Kopecek
7842c480cf retain old search pattern in web ui
Fixes: https://pagure.io/koji/issue/1130
2019-06-14 15:23:49 -04:00
Mike McLean
1caa24ae91 PR#1479: use better index for sessions
Merges #1479
https://pagure.io/koji/pull-request/1479

Fixes: #1372
https://pagure.io/koji/issue/1372
Index on sessions
2019-06-13 16:15:43 -04:00
Tomas Kopecek
03bf5554c5 use better index for sessions
Fixes: https://pagure.io/koji/issue/1372
2019-06-13 16:15:40 -04:00
Mike McLean
dcc23dcfcf PR#1279: let hub decide, what headers are supported
Merges #1279
https://pagure.io/koji/pull-request/1279

Fixes: #1261
https://pagure.io/koji/issue/1261
Better detection of weak deps support in web ui
2019-06-13 13:46:19 -04:00
Tomas Kopecek
0eec0d75e2 let hub decide, what headers are supported
Currently web ui expects, that is it using same rpm version as hub -
this is wrong assumption, so let hub decide what is available there.

Fixes: https://pagure.io/koji/issue/1261
2019-06-13 13:46:12 -04:00
Mike McLean
b309cc3054 PR#1454: introduce host-admin permission + docs
Merges #1454
https://pagure.io/koji/pull-request/1454

Fixes: #1453
https://pagure.io/koji/issue/1453
[RFE] Separate administration permissions
2019-06-13 13:44:10 -04:00
Mike McLean
c788a57b4e clean up doc 2019-06-13 13:43:14 -04:00
Tomas Kopecek
4c156f4840 add 'target' permission 2019-06-13 13:43:14 -04:00
Tomas Kopecek
271249c833 add "tag" permission 2019-06-13 13:43:14 -04:00
Tomas Kopecek
50335800bd introduce 'host' permission + docs
Fixes: https://pagure.io/koji/issue/1453
2019-06-13 13:43:14 -04:00
Mike McLean
a5d5d0b7fd PR#1303: fix history display for parallel host_channels updates
Merges #1303
https://pagure.io/koji/pull-request/1303
2019-06-06 17:06:37 -04:00
Mike McLean
4bee4a5430 fix history display for parallel host_channels updates 2019-06-06 17:03:03 -04:00
Mike McLean
d226111f83 PR#1278: createrepo_c is used by default now
Merges #1278
https://pagure.io/koji/pull-request/1278

Fixes: #716
https://pagure.io/koji/issue/716
/usr/libexec/kojid/mergerepos ignores xml:base in location
2019-06-06 16:24:24 -04:00
Tomas Kopecek
be1a56647a createrepo_c is used by default now
Fixes: https://pagure.io/koji/issue/716
2019-06-06 16:24:17 -04:00
Mike McLean
3674e70fbf PR#1449: show load/capacity in list-channels
Merges #1449
https://pagure.io/koji/pull-request/1449

Fixes: #1448
https://pagure.io/koji/issue/1448
[RFE] show channel load/capacity in list-channels
2019-06-06 16:19:27 -04:00
Tomas Kopecek
70385754cd fix test 2019-06-06 16:19:21 -04:00
Tomas Kopecek
8540302a59 more readable layout 2019-06-06 16:19:21 -04:00
Tomas Kopecek
afdc04be5d fix test 2019-06-06 16:19:21 -04:00
Tomas Kopecek
adb9d9049a show load/capacity in list-channels
Fixes: https://pagure.io/koji/issue/1448
2019-06-06 16:19:21 -04:00
Mike McLean
6c0c45d517 PR#1476: Allow taginfo cli to use tag IDs; fixed Inheritance printing bug
Merges #1476
https://pagure.io/koji/pull-request/1476

Fixes: #1485
https://pagure.io/koji/issue/1485
taginfo shows wrong inheritance when multiple tags given
2019-06-06 16:12:29 -04:00
James Molet
c943cf857b Allow taginfo cli to use tag IDs; fixed bug where Inheritance always
used the last tag when querying for multiple tags.
Tries string before ID in taginfo
2019-06-06 16:12:23 -04:00
Mike McLean
18d27f1559 PR#1445: turn back on test skipped due to coverage bug
Merges #1445
https://pagure.io/koji/pull-request/1445

Fixes: #1444
https://pagure.io/koji/issue/1444
Ressurect py3 test, as bug in Fedora is fixed.
2019-05-31 20:19:04 -04:00
Tomas Kopecek
b0863edb33 turn back on test skipped due to coverage bug
Fedora already fixed coverage bug preventing this test. Turning it back
on.

Fixes: https://pagure.io/koji/issue/1444
2019-05-31 20:19:02 -04:00
Mike McLean
ddbde0d407 PR#1452: fix parentheses for tuple in _writeInheritanceData
Merges #1452
https://pagure.io/koji/pull-request/1452
2019-05-31 20:04:16 -04:00
Yuming Zhu
21dbd7d03e fix parentheses for tuple 2019-05-31 20:04:09 -04:00