Commit graph

8079 commits

Author SHA1 Message Date
Mike McLean
7d9b22a75b koji --single 2025-08-20 09:48:18 -04:00
Mike McLean
49338e91f9 PR#4416: distrepos: support "x86_64_v2" arch
Merges #4416
https://pagure.io/koji/pull-request/4416

Fixes: #4449
https://pagure.io/koji/issue/4449
distrepos: support "x86_64_v2" arch
2025-08-20 06:51:01 -04:00
Matyas Selmeci
3614eff7a2 Do not list x86_64_v2 as a compatible arch for x86_64 2025-08-20 06:50:56 -04:00
Matyas Selmeci
7e675c1469 distrepos: support "x86_64_v2" arch
This fixes a KeyError when trying to make a distrepo for the arch "x86_64_v2".
2025-08-20 06:50:56 -04:00
Mike McLean
b1e2e4b3af PR#4442: Improve reliability of kojid service start
Merges #4442
https://pagure.io/koji/pull-request/4442

Fixes: #4441
https://pagure.io/koji/issue/4441
kojid.service does not reliably start
2025-08-15 15:57:51 -04:00
Jason Montleon
20d016f5b2 Improve reliability of kojid service start
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
2025-08-15 15:57:44 -04:00
Mike McLean
d5d3ea7693 PR#4134: indexes for standard_buildroot
Merges #4134
https://pagure.io/koji/pull-request/4134

Fixes: #3963
https://pagure.io/koji/issue/3963
Add indices to standard_buildroot.
2025-08-13 09:48:11 -04:00
Mike McLean
5b760315e1 indexes for standard_buildroot
Fixes https://pagure.io/koji/issue/3963
2025-08-13 09:46:04 -04:00
Mike McLean
010ec6b954 PR#4428: cli access for sigkey naming
Merges #4428
https://pagure.io/koji/pull-request/4428

Fixes: #4430
https://pagure.io/koji/issue/4430
cli access for sigkey naming

Relates: #4415
https://pagure.io/koji/issue/4415
Better handling of complex rpm signatures
2025-08-13 09:27:47 -04:00
Mike McLean
4547e7ed0a simplify error handler 2025-08-13 09:25:35 -04:00
Mike McLean
b592d0eee1 adjust unit tests 2025-08-13 09:25:35 -04:00
Mike McLean
895665cbb9 enable new signature features in cli 2025-08-13 09:25:35 -04:00
Mike McLean
6beb0d52fd PR#4437: Add firewall configuration
Merges #4437
https://pagure.io/koji/pull-request/4437
2025-08-08 12:18:15 -04:00
Arif Badar
7cf3d94bff Add firewall configuration 2025-08-08 12:18:09 -04:00
Mike McLean
3980afb821 PR#4436: Replace deprecated MaxRequestsPerChild in the docs.
Merges #4436
https://pagure.io/koji/pull-request/4436

Fixes: #4176
https://pagure.io/koji/issue/4176
Deprecated apache option noted in the manual
2025-08-05 12:26:14 -04:00
Joe VLcek
1ae0d3bddd Replace deprecated MaxRequestsPerChild in the docs.
Fixes: #4176
2025-08-05 12:26:09 -04:00
Mike McLean
58440960f7 PR#4396: channel defaults
Merges #4396
https://pagure.io/koji/pull-request/4396

Fixes: #4399
https://pagure.io/koji/issue/4399
channel policy cannot distinguish override from default
2025-08-05 10:30:30 -04:00
Mike McLean
0e1addf6fe add unit tests 2025-08-05 10:28:41 -04:00
Mike McLean
2ebed21dae compat option for previous behavior 2025-08-05 10:28:41 -04:00
Mike McLean
d5e695d6c9 update api data for new defaults 2025-08-05 10:28:41 -04:00
Mike McLean
3fa0ba2c3e separate channel default from overrides 2025-08-05 10:28:41 -04:00
Mike McLean
ff1b2b2f6b PR#4427: work around nfs glitch in ensuredir
Merges #4427
https://pagure.io/koji/pull-request/4427

Fixes: #4417
https://pagure.io/koji/issue/4417
Task can fail with FileExistsError exception if session expires while uploads are happening
2025-08-05 10:25:31 -04:00
Mike McLean
f74c3b232f work around nfs glitch in ensuredir 2025-08-05 10:23:58 -04:00
Mike McLean
5619342ef3 PR#4432: avoid loading system hub config in unit test
Merges #4432
https://pagure.io/koji/pull-request/4432

Fixes: #4431
https://pagure.io/koji/issue/4431
unit test reads system hub config
2025-08-01 15:12:43 -04:00
Mike McLean
c8c1e65f77 fix mock import 2025-08-01 15:08:54 -04:00
Mike McLean
9225bd6b44 avoid loading system hub config in unit test 2025-08-01 15:08:54 -04:00
Mike McLean
7c2d768d22 PR#4433: fix some utils tests for newer platforms
Merges #4433
https://pagure.io/koji/pull-request/4433

Fixes: #4434
https://pagure.io/koji/issue/4434
unit tests error on F42+
2025-08-01 15:01:40 -04:00
Mike McLean
24d9466915 also fix a leaking mock
stop() must be called on the patcher, not the patched object
2025-08-01 09:18:53 -04:00
Mike McLean
7bf0ae833a fix some utils tests for newer platforms
1. error message has changed in a library
2. multiprocessing can't handle a local function anymore
2025-08-01 08:27:01 -04:00
Mike McLean
930a285e60 PR#4373: allow renaming rpm signatures
Merges #4373
https://pagure.io/koji/pull-request/4373

Fixes: #4415
https://pagure.io/koji/issue/4415
Better handling of complex rpm signatures
2025-07-31 10:21:01 -04:00
Mike McLean
f630251944 unit test updates 2025-07-30 18:41:37 -04:00
Mike McLean
60008fbc5b typo 2025-07-30 18:41:37 -04:00
Mike McLean
a3fc36fa85 allow renaming rpm signatures 2025-07-30 18:41:37 -04:00
Mike McLean
311dfde77b PR#4397: Clean up cli for comps management
Merges #4397
https://pagure.io/koji/pull-request/4397

Fixes: #3199
https://pagure.io/koji/issue/3199
RFE: remove-group-pkg

Fixes: #4393
https://pagure.io/koji/issue/4393
Removing a package from a group doesn't work
2025-07-22 10:21:24 -04:00
Mike McLean
c45a392146 update mock imports 2025-07-22 10:19:10 -04:00
Mike McLean
3d42de2a99 flake8 2025-07-22 10:19:10 -04:00
Mike McLean
6b5eb875af docs updates 2025-07-22 10:19:10 -04:00
Mike McLean
0f06d749ef unit tests 2025-07-22 10:19:10 -04:00
Mike McLean
da3938fbc1 ... 2025-07-22 10:19:10 -04:00
Mike McLean
96fc238737 clean up block-group; add unblock-group 2025-07-22 10:19:10 -04:00
Mike McLean
fb292aeca1 update sanity check for remove-group 2025-07-22 10:19:10 -04:00
Mike McLean
f4435d4a9c remove-group-req too 2025-07-22 10:19:09 -04:00
Mike McLean
c5828a4b8e update remove-group-pkg with sanity checks 2025-07-22 10:19:09 -04:00
Jana Cupova
f7464aec2c Add remove-group-pkg CLI command
Fixes: https://pagure.io/koji/issue/3199
2025-07-22 10:19:09 -04:00
Mike McLean
f2b13a9ae2 PR#4423: docs: remove repetition in "Writing Koji plugins"
Merges #4423
https://pagure.io/koji/pull-request/4423

Fixes: #4424
https://pagure.io/koji/issue/4424
docs: remove repetition in "Writing Koji plugins
2025-07-16 15:16:50 -04:00
Dmitrii Kuvaiskii
f6a64fbc0b docs: remove repetition in "Writing Koji plugins"
There was a redundant subsection on "Ensuring the user has the required
permissions". The same information is already covered in the main
section. This commit removes this redundant subsection.
2025-07-16 15:16:44 -04:00
Mike McLean
adbe584a4c PR#4413: Fix race handling in get_next_build
Merges #4413
https://pagure.io/koji/pull-request/4413

Fixes: #4414
https://pagure.io/koji/issue/4414
Fix race handling in get_next_build
2025-07-10 11:49:54 -04:00
Mike McLean
ecfa7766b5 fix a separate race case
In a very close race, one side can first see the duplicate nvr
during the get_build check in new_build, which leads to an
attempt to recycle, which fails because the duplicate is in the
BUILDING state.
2025-07-10 11:48:13 -04:00
Mike McLean
bf27153e1e unit test 2025-07-10 11:48:13 -04:00
Mike McLean
1cd8585b29 rollback on IntegrityError in get_next_build 2025-07-10 11:48:13 -04:00