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 |
|
Mike McLean
|
d2350991eb
|
refactor fixEncodingRecurse
|
2019-05-21 12:18:19 -04:00 |
|
Mike McLean
|
aa7eb74fc7
|
PR#1327: volume option for dist-repo
Merges #1327
https://pagure.io/koji/pull-request/1327
Fixes: #1366
https://pagure.io/koji/issue/1366
volume option for dist-repo
|
2019-05-21 12:14:38 -04:00 |
|
Mike McLean
|
b3c85b157d
|
ensuredir for repo volume symlinks
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
cee9fe4948
|
handle symlinks in pruneLocalRepos
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
c355b5c702
|
only call get_info() if we're going to need it
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
0851caa148
|
fix unit test
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
2db42a6154
|
handle other volumes in pruneLocalRepos
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
b592a00101
|
kojira: handle repos on other volumes
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
560297104f
|
also write repo.json for normal repos
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
bb980940ac
|
write repo.json in dist_repo_init
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
d4a2e6fe65
|
fix unit test
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
489bcb8923
|
add --volume option to dist-repo command
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
8209500e31
|
add a comment about volumes in distRepoMove
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
2dbd065698
|
honor volume option in dist_repo_init
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
6c0aacc264
|
pathinfo.distrepo volume option
|
2019-05-21 12:14:33 -04:00 |
|
Mike McLean
|
98c983b1ca
|
PR#1442: delete_build: handle results of lazy build_references call
Merges #1442
https://pagure.io/koji/pull-request/1442
Fixes: #1441
https://pagure.io/koji/issue/1441
delete_build does not handle results of lazy build_references call
|
2019-05-21 11:16:40 -04:00 |
|
Mike McLean
|
05241bd391
|
additional unit test
|
2019-05-21 11:15:29 -04:00 |
|
Mike McLean
|
41628eb5e3
|
fix unit test
|
2019-05-21 11:15:29 -04:00 |
|
Mike McLean
|
5a36065d62
|
delete_build: handle results of lazy build_references call
Fixes: https://pagure.io/koji/issue/1441
|
2019-05-21 11:15:29 -04:00 |
|
Mike McLean
|
6421617804
|
PR#1425: add --show-channels listing to list-hosts
Merges #1425
https://pagure.io/koji/pull-request/1425
Fixes: #1424
https://pagure.io/koji/issue/1424
Add channels to list-hosts
|
2019-05-21 10:05:11 -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 |
|
Mike McLean
|
b42eabf770
|
PR#1432: py2.6 compatibility fix
Merges #1432
https://pagure.io/koji/pull-request/1432
Fixes: #1431
https://pagure.io/koji/issue/1431
koji-builder-1.17.0 not compatible with python 2.6
|
2019-05-20 17:08:44 -04:00 |
|
Mike McLean
|
fc250d09c2
|
typo in comment
|
2019-05-20 17:07:50 -04:00 |
|
Tomas Kopecek
|
3cb64be496
|
py2.6 compatibility fix
Python 2.6 doesn't support context manager for GzipFile. Revert to
original behaviour.
Fixes: https://pagure.io/koji/issue/1431
|
2019-05-20 17:07:50 -04:00 |
|
Mike McLean
|
fc0f127299
|
PR#1434: hub: fix check_fields and duplicated parent_id in _writeInheritanceData
Merges #1434
https://pagure.io/koji/pull-request/1434
Fixes: #1435
https://pagure.io/koji/issue/1435
changes for writeInheritanceData should not contain duplicated parent_id
Fixes: #1433
https://pagure.io/koji/issue/1433
writeInheritanceData checks wrong field for "delete link"
|
2019-05-20 17:04:25 -04:00 |
|
Yu Ming Zhu
|
310786bac1
|
check duplicated parent_id in changes
|
2019-05-20 17:04:20 -04:00 |
|
Yuming Zhu
|
d0483f96aa
|
hub: fix check_fields in _writeInheritanceData
|
2019-05-20 17:04:20 -04:00 |
|
Mike McLean
|
210e72378a
|
PR#1439: user correct column in sql (getTask)
Merges #1439
https://pagure.io/koji/pull-request/1439
Fixes: #1438
https://pagure.io/koji/issue/1438
host.getTask uses non-existing column in SQL
|
2019-05-20 16:57:00 -04:00 |
|