Commit graph

5473 commits

Author SHA1 Message Date
Tomas Kopecek
0457065312 proton: short-circuit extra_limit = 0
Fixes: https://pagure.io/koji/issue/2455
2020-09-01 15:09:49 +02:00
Tomas Kopecek
8215a0893c PR#2459: lowercase sigkeys during import/query where needed
Merges #2459
https://pagure.io/koji/pull-request/2459

Fixes: #2434
https://pagure.io/koji/issue/2434
write-signed-rpm should lowercase sig-keys
2020-09-01 14:06:16 +02:00
Tomas Kopecek
0eec5acd34 lowercase sigkeys during import/query where needed
Fixes: https://pagure.io/koji/issue/2434
2020-09-01 14:06:06 +02:00
Tomas Kopecek
74cfb46086 PR#2382: hub: [multicall] cast args of exception to str
Merges #2382
https://pagure.io/koji/pull-request/2382

Fixes: #2381
https://pagure.io/koji/issue/2381
hub: [multicall] raise unexpected error when the Exception contains non-str arg
2020-09-01 11:23:13 +02:00
Yu Ming Zhu
62f389d445 hub: unittest for multicall 2020-09-01 11:23:04 +02:00
Yu Ming Zhu
1b9cd6a95e hub: [multicall] cast args of exception to str
fixes: #2381
2020-09-01 11:23:04 +02:00
Tomas Kopecek
9c92f5e4be PR#2457: hub: more verbose assertPerm error
Merges #2457
https://pagure.io/koji/pull-request/2457

Fixes: #2429
https://pagure.io/koji/issue/2429
assertPerm() should show the username
2020-08-31 08:54:33 +02:00
Tomas Kopecek
b4cfca052b hub: more verbose assertPerm error
Fixes: https://pagure.io/koji/issue/2429
2020-08-31 08:48:57 +02:00
Tomas Kopecek
c5c1c86629 PR#2458: cli: add --task and --source options to list-builds command
Merges #2458
https://pagure.io/koji/pull-request/2458

Fixes: #2356
https://pagure.io/koji/issue/2356
Support task and source filters in list-build command
2020-08-27 13:48:43 +02:00
Tomas Kopecek
69d81e3c2d fix flake8 2020-08-27 13:48:32 +02:00
Mike McLean
a1593f5243 cli: add --task and --source options to list-builds command
Fixes https://pagure.io/koji/issue/2356

The api already accepted these parameters. This just provides access to use them
via the command line.
2020-08-27 13:48:32 +02:00
Tomas Kopecek
172455ed38 PR#2462: doc: release process
Merges #2462
https://pagure.io/koji/pull-request/2462

Fixes: #2444
https://pagure.io/koji/issue/2444
Document release/merge process
2020-08-27 13:46:54 +02:00
Tomas Kopecek
8841fd6992 doc: release process
Fixes: https://pagure.io/koji/issue/2444
2020-08-27 13:46:46 +02:00
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