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
Mike McLean
f9489f4b17
PR#1456: deprecate BuildRoot.uploadDir method
...
Merges #1456
https://pagure.io/koji/pull-request/1456
Fixes : #839
https://pagure.io/koji/issue/839
deprecate BuildRoot.uploadDir()
2019-05-31 19:58:23 -04:00
Tomas Kopecek
e3c5a03156
deprecate BuildRoot.uploadDir method
...
Fixes: https://pagure.io/koji/issue/839
2019-05-31 19:58:22 -04:00
Mike McLean
d5a673d2fc
PR#1461: check existence of tag_id in getInheritanceData
...
Merges #1461
https://pagure.io/koji/pull-request/1461
Fixes : #1460
https://pagure.io/koji/issue/1460
getInheritanceData API call should raise GenericError exception for non existing tag ID
2019-05-31 19:42:31 -04:00
Tomas Kopecek
7a159ef3d9
check existence of tag_id in getInheritanceData
...
Fixes: https://pagure.io/koji/issue/1460
2019-05-31 19:42:29 -04:00
Mike McLean
9905266957
PR#1471: list-hosts shouldn't error on empty list
...
Merges #1471
https://pagure.io/koji/pull-request/1471
Fixes : #1470
https://pagure.io/koji/issue/1470
CLI command koji list-hosts --arch=arch-dgroc returning unexpected error
2019-05-31 12:35:41 -04:00
Tomas Kopecek
e41d9ca756
list-hosts shouldn't error on empty list
...
Fixes: https://pagure.io/koji/issue/1470
2019-05-30 10:05:33 +02:00
Mike McLean
b122dcd4dc
PR#1273: Allow generating separate src repo for build repos
...
Merges #1273
https://pagure.io/koji/pull-request/1273
Fixes : #1266
https://pagure.io/koji/issue/1266
RFE: --with-separate-src for build-repos
2019-05-23 10:02:15 -04:00
Mike McLean
3aba741250
don't add noarch rpms to src-only repos
2019-05-23 10:01:12 -04:00
Mikolaj Izdebski
3d058c50db
Allow generating separate src repo for build repos
...
Fixes #1266
2019-05-23 10:01:12 -04:00
Mike McLean
bcece35a21
PR#1255: always check existence of tag in setInheritanceData
...
Merges #1255
https://pagure.io/koji/pull-request/1255
Fixes : #1252
https://pagure.io/koji/issue/1252
setInheritanceData raise Fault for non-existing tag id
2019-05-22 14:57:17 -04:00
Tomas Kopecek
86ac86a1bd
check parents in _writeInheritanceData
2019-05-22 14:57:04 -04:00
Tomas Kopecek
1e388be6b9
always check existence of tag in setInheritanceData
...
Fixes: https://pagure.io/koji/issue/1252
2019-05-22 14:57:04 -04:00
Mike McLean
65b253755c
PR#1256: add strict option to getTaskChildren
...
Merges #1256
https://pagure.io/koji/pull-request/1256
Fixes : #1199
https://pagure.io/koji/issue/1199
API Call getTaskChildren call should return GenericError for non existing taskID
2019-05-22 13:25:31 -04:00
Tomas Kopecek
f5c52b70ad
fix tests for updated query
2019-05-22 13:25:18 -04:00
Mike McLean
5bf434729e
use correct QueryProcessor methods; add strict opt to executeOne
2019-05-22 13:25:18 -04:00
Tomas Kopecek
d2989faa59
add strict option to getTaskChildren
...
Fixes: https://pagure.io/koji/issue/1199
2019-05-22 13:25:18 -04:00
Tomas Kopecek
44a7af7f4b
Move some Task methods to QueryProcessor
...
Related: https://pagure.io/koji/issue/1199
2019-05-22 13:25:18 -04:00
Mike McLean
da85023185
PR#1257: fail runroot task on non-existing tag
...
Merges #1257
https://pagure.io/koji/pull-request/1257
Related: #1139
https://pagure.io/koji/issue/1139
runroot API call should raise GenericError exception for non existing tag
2019-05-22 13:12:32 -04:00
Tomas Kopecek
167eba3394
fail runroot task on non-existing tag
...
Fixes: https://pagure.io/koji/issue/1139
2019-05-22 13:12:19 -04:00
Mike McLean
30a1b6564a
PR#1272: check architecture names for mistakes
...
Merges #1272
https://pagure.io/koji/pull-request/1272
Fixes : #1237
https://pagure.io/koji/issue/1237
Architectures field in build target uses 2 different separators
2019-05-21 18:40:05 -04:00
Tomas Kopecek
cc4e7dce94
validate archs in addHost
2019-05-21 18:39:52 -04:00
Tomas Kopecek
8370648355
fix test for parse_arches
2019-05-21 18:39:52 -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
Tomas Kopecek
8529708b7c
check architecture names for mistakes
...
Fixes: https://pagure.io/koji/issue/1237
2019-05-21 18:39:52 -04:00
Mike McLean
2d0e63e3b1
PR#1322: Reduce duplicate "fixEncoding" code
...
Merges #1322
https://pagure.io/koji/pull-request/1322
Fixes : #1318
https://pagure.io/koji/issue/1318
Reduce duplicate "fixEncoding" code
2019-05-21 12:18:26 -04:00
Tomas Kopecek
e9be2d2464
fix docstring
2019-05-21 12:18:19 -04:00
Tomas Kopecek
df11172629
fix str-type testing in fix_encoding
...
Fixes: https://pagure.io/koji/issue/1318
2019-05-21 12:18:19 -04:00
Mike McLean
7532682f5e
drop duplicate logic
2019-05-21 12:18:19 -04:00