Commit graph

5485 commits

Author SHA1 Message Date
Tomas Kopecek
db85c934c1 builder: typo
Fixes: https://pagure.io/koji/issue/2466
2020-09-07 15:32:16 +02:00
Tomas Kopecek
20ada324b7 PR#2461: cli: delete downloaded file with zero size
Merges #2461
https://pagure.io/koji/pull-request/2461

Fixes: #2451
https://pagure.io/koji/issue/2451
koji download-build leaves around empty file when rpm not signed
2020-09-07 10:12:59 +02:00
Tomas Kopecek
dbd0c9ac9c cli: delete downloaded file with zero size
Fixes: https://pagure.io/koji/issue/2451
2020-09-07 10:10:59 +02:00
Tomas Kopecek
7c77745a66 PR#2453: koji 1.22.1 release notes
Merges #2453
https://pagure.io/koji/pull-request/2453

Fixes: #2445
https://pagure.io/koji/issue/2445
koji 1.22.1 release notes
2020-09-07 09:44:15 +02:00
Tomas Kopecek
cbb4b65f6c 1.22.1 release notes
Fixes: https://pagure.io/koji/issue/2445
2020-09-07 09:44:07 +02:00
Tomas Kopecek
3634db19d4 bump version to 1.22.1 2020-09-07 09:44:07 +02:00
Tomas Kopecek
75e462560b PR#2474: stricter config file permissions
Merges #2474
https://pagure.io/koji/pull-request/2474

Fixes: #2124
https://pagure.io/koji/issue/2124
Incorrect perms on hub/web config
2020-09-07 09:42:16 +02:00
Tomas Kopecek
e72a7be0a1 stricter config file permissions
Fixes: https://pagure.io/koji/issue/2124
2020-09-07 09:37:11 +02:00
Tomas Kopecek
ff055ada11 PR#2471: cli: download_file redownload if we've larger file
Merges #2471
https://pagure.io/koji/pull-request/2471

Fixes: #2465
https://pagure.io/koji/issue/2465
CLI download-build for already downloaded rpm returns an error
2020-09-04 08:28:22 +02:00
Tomas Kopecek
7223e278d3 don't check size for signed rpms 2020-09-04 08:28:15 +02:00
Tomas Kopecek
ecf50429ed cli: download_file redownload if we've larger file
Fixes: https://pagure.io/koji/issue/2465
2020-09-04 08:28:15 +02:00
Tomas Kopecek
09da3ede83 PR#2456: proton: short-circuit extra_limit = 0
Merges #2456
https://pagure.io/koji/pull-request/2456

Fixes: #2455
https://pagure.io/koji/issue/2455
Short-circuit if proton extra_limit is not set
2020-09-04 08:26:27 +02:00
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