Commit graph

5510 commits

Author SHA1 Message Date
Tomas Kopecek
48280d76e3 PR#2373: livemedia-creator: pass --nomacboot on non-x86_64
Merges #2373
https://pagure.io/koji/pull-request/2373

Fixes #2392
https://pagure.io/koji/issue/2392
2020-08-27 13:45:18 +02:00
Adam Williamson
f5e8adf315 livemedia-creator: pass --nomacboot on non-x86_64
See https://pagure.io/releng/issue/9601 . It seems the default
is 'try to enable Mac booting' and we need to explicitly pass
`--nomacboot` to turn it off. We only support x86_64 Macs for
now, so we don't want to try and make live images bootable on
Mac on any other arch.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-08-27 13:45:10 +02:00
Tomas Kopecek
f63eefef60 PR#2407: hub: deprecate getGlobalInheritance
Merges #2407
https://pagure.io/koji/pull-request/2407

Fixes: #2240
https://pagure.io/koji/issue/2240
Deprecate getGlobalInheritance
2020-08-27 13:38:45 +02:00
Tomas Kopecek
7cd78cb54b hub: deprecate getGlobalInheritance
with final removal in 1.25

Fixes: https://pagure.io/koji/issue/2240
2020-08-27 13:38:37 +02:00
Tomas Kopecek
d421faa818 PR#2399: util: handle ENOENT in _stripcwd() listdir loop
Merges #2399
https://pagure.io/koji/pull-request/2399

Fixes: #2361
https://pagure.io/koji/issue/2361
koji-gc delete traceback
2020-08-27 13:36:38 +02:00
Ken Dreyer
e35b571196 util: handle ENOENT in _stripcwd() listdir loop
After we call listdir(), another thread or process might delete files
from the current directory. We cannot always expect lstat() to succeed
in a loop over the initial listdir entries.

If lstat() raises ENOENT, consider this file deleted and move on.
2020-08-27 13:36:27 +02:00
Tomas Kopecek
1aa4fb5185 PR#2365: builder: handle btrfs subvolumes in ApplianceTask
Merges #2365
https://pagure.io/koji/pull-request/2365

Fixes #2390
https://pagure.io/koji/issue/2390
2020-08-27 13:12:20 +02:00
Davide Cavalca
ba296f946f builder: handle btrfs subvolumes in ApplianceTask 2020-08-27 13:12:11 +02:00
Tomas Kopecek
ef39c5b65e PR#2452: kojid: fix extra-boot-args option
Merges #2452
https://pagure.io/koji/pull-request/2452

Fixes: #2437
https://pagure.io/koji/issue/2437
koji 1.22 --extra-boot-args for livemedia doesn't work
2020-08-27 13:11:14 +02:00
Tomas Kopecek
dc1b27f45b kojid: fix extra-boot-args option
Fixes: https://pagure.io/koji/issue/2437
2020-08-27 13:11:06 +02:00
Tomas Kopecek
58f694d27b PR#2443: kojira: parallelize rmtree
Merges #2443
https://pagure.io/koji/pull-request/2443

Fixes: #2398
https://pagure.io/koji/issue/2398
kojira: bring back parallel repo deletions
2020-08-26 09:32:59 +02:00
Tomas Kopecek
2e042db3af kojira: parallelize rmtree
Fixes: https://pagure.io/koji/issue/2398
2020-08-26 09:32:50 +02:00
Tomas Kopecek
fae5bcc833 PR#2440: vm: revert to RawConfigParser
Merges #2440
https://pagure.io/koji/pull-request/2440

Fixes: #2277
https://pagure.io/koji/issue/2277
kojikamid now uses SafeConfigParser which breaks things
2020-08-26 09:27:40 +02:00
Tomas Kopecek
732be23bb5 vm: revert to RawConfigParser
Fixes: https://pagure.io/koji/issue/2277
2020-08-26 09:27:29 +02:00
Tomas Kopecek
b104e7a141 PR#2424: Fix time formatting for timezone values
Merges #2424
https://pagure.io/koji/pull-request/2424

Fixes: #2423
https://pagure.io/koji/issue/2423
1.22.0 sql update leaves some builds unreachable
2020-08-26 09:26:13 +02:00
Tomas Kopecek
9f3f5ff37a fix test 2020-08-26 09:26:00 +02:00
Tomas Kopecek
4240e269bc fix create_ts for repos 2020-08-26 09:26:00 +02:00
Tomas Kopecek
c754713818 fix tests 2020-08-26 09:26:00 +02:00
Tomas Kopecek
bf5684a122 fix start_ts 2020-08-26 09:26:00 +02:00
Tomas Kopecek
7855b98ca2 formatTime/Long can handle timestamp
Also replaced *_time with *_ts wherever possible.
2020-08-26 09:26:00 +02:00
Tomas Kopecek
b0efed5e37 Fix time formatting for timezone values
Fixes: https://pagure.io/koji/issue/2423
2020-08-26 09:26:00 +02:00
Tomas Kopecek
44db1bc8ee PR#2415: doc: more info about permission system
Merges #2415
https://pagure.io/koji/pull-request/2415

Fixes: #2234
https://pagure.io/koji/issue/2234
document permissions for setting package lists
2020-08-26 09:20:01 +02:00
Mike McLean
9236b9bb4c doc updates 2020-08-26 09:19:50 +02:00
Tomas Kopecek
febdb1cb8b minor fixes 2020-08-26 09:19:50 +02:00
Tomas Kopecek
5fd89dd0cd doc: access control 2020-08-26 09:19:50 +02:00
Tomas Kopecek
a76e27ca75 doc: more info about permission system
Fixes: https://pagure.io/koji/issue/2234
2020-08-26 09:19:50 +02:00
Tomas Kopecek
ae4893d5f0 PR#2402: hint psql planner to do proper index scan
Merges #2402
https://pagure.io/koji/pull-request/2402

Fixes: #2383
https://pagure.io/koji/issue/2383
koji-gc query drags database performance down
2020-08-25 14:49:39 +02:00
Tomas Kopecek
45224e5b52 hint psql planner to do proper index scan
Fixes: https://pagure.io/koji/issue/2383
2020-08-25 14:49:28 +02:00
Tomas Kopecek
c05ff8b107 PR#2454: fix flake8 errors
Merges #2454
https://pagure.io/koji/pull-request/2454
2020-08-25 13:06:00 +02:00
Tomas Kopecek
f06a8c0bca fix flake8 errors 2020-08-25 13:05:02 +02:00
Tomas Kopecek
c1735babba PR#2419: db: additional index
Merges #2419
https://pagure.io/koji/pull-request/2419

Fixes: #2418
https://pagure.io/koji/issue/2418
db: better index for tasks info page
2020-08-25 11:27:16 +02:00
Tomas Kopecek
ac496c5edc fix version 2020-08-25 11:27:05 +02:00
Tomas Kopecek
f49d2fdbe9 db: additional index
Fixes: https://pagure.io/koji/issue/2418
2020-08-25 11:27:05 +02:00
Tomas Kopecek
9fb819310a PR#2439: hub: tagChangedSince reacts on changes in extra
Merges #2439
https://pagure.io/koji/pull-request/2439

Fixes: #2284
https://pagure.io/koji/issue/2284
tagChangedSinceEvent doesn't check extras
2020-08-19 16:47:28 +02:00
Tomas Kopecek
90578ddc9e hub: tagChangedSince reacts on changes in extra
Fixes: https://pagure.io/koji/issue/2284
2020-08-19 16:47:19 +02:00
Tomas Kopecek
2d7386fee0 PR#2408: web: better error message for invalid build
Merges #2408
https://pagure.io/koji/pull-request/2408

Fixes: #1545
https://pagure.io/koji/issue/1545
buildinfo page should display that build doesn't exist
2020-08-18 16:35:52 +02:00
Tomas Kopecek
a4d63d6454 web: better error message for invalid build
Fixes: https://pagure.io/koji/issue/1545
2020-08-18 16:35:43 +02:00
Tomas Kopecek
ae8fa9562d PR#2406: Remove host.getTask API call
Merges #2406
https://pagure.io/koji/pull-request/2406

Fixes: #2231
https://pagure.io/koji/issue/2231
Remove host.getTask API call
2020-08-18 16:32:59 +02:00
Tomas Kopecek
c7a0d26123 Remove host.getTask API call
Fixes: https://pagure.io/koji/issue/2231
2020-08-18 16:32:51 +02:00
Tomas Kopecek
cb751f7f41 PR#2405: remove deprecated list-tag-history / tagHistory
Merges #2405
https://pagure.io/koji/pull-request/2405

Fixes: #2215
https://pagure.io/koji/issue/2215
Remove deprecated list-tag-history
2020-08-18 16:31:30 +02:00
Tomas Kopecek
bcdf0165c9 remove deprecated list-tag-history / tagHistory
Fixes: https://pagure.io/koji/issue/2215
2020-08-18 16:31:21 +02:00
Tomas Kopecek
aa8f0f3ec0 PR#2388: change getRPMHeaders default to fetching all headers if none are otherwise supplied
Merges #2388
https://pagure.io/koji/pull-request/2388
2020-08-18 16:28:09 +02:00
Christopher O'Brien
66ec44a8f6 some safety netting 2020-08-18 16:28:01 +02:00
Christopher O'Brien
22fcdc1ad2 allow getRPMHeaders to get all headers if none are explicitly requested 2020-08-18 16:28:01 +02:00
Tomas Kopecek
ace354a15c PR#2417: kojid: waitrepo on deleted tag
Merges #2417
https://pagure.io/koji/pull-request/2417

Fixes: #2414
https://pagure.io/koji/issue/2414
wait repo on deleted tag
2020-08-18 16:25:50 +02:00
Tomas Kopecek
94b06f272e kojid: more meaningful error message
Fixes: https://pagure.io/koji/issue/2414
2020-08-18 16:25:40 +02:00
Clément Bénier
dba936e21a kojid: waitrepo on deleted tag
call getTag with strict=True to raise error if tag is deleted

Fixes: https://pagure.io/koji/issue/2414

Change-Id: I412de24654956216b22233e3e56c0b7ad741f6c8
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2020-08-18 16:25:40 +02:00
Tomas Kopecek
df1262225b PR#2421: hub: getAverageBuildDuration sliding window
Merges #2421
https://pagure.io/koji/pull-request/2421

Fixes: #2420
https://pagure.io/koji/issue/2420
hub: getAverageBuildDuration should look to limited history
2020-08-18 15:55:28 +02:00
Tomas Kopecek
00382aeb90 make age optional 2020-08-18 15:55:19 +02:00
Tomas Kopecek
a753d28064 hub: getAverageBuildDuration sliding window
Fixes: https://pagure.io/koji/issue/2420
2020-08-18 15:55:19 +02:00