Commit graph

8068 commits

Author SHA1 Message Date
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
Mike McLean
134ec54d56 PR#4304: Enable specific number of builds for dist-repo tasks
Merges #4304
https://pagure.io/koji/pull-request/4304

Fixes: #3943
https://pagure.io/koji/issue/3943
RFE : specifying number of builds for dist-repo tasks
2025-07-07 17:32:32 -04:00
Jana Librova
32d74ec28c Enable specific number of builds for dist-repo tasks
Fixes: https://pagure.io/koji/issue/3943
2025-07-07 17:32:26 -04:00
Mike McLean
b3ea825a4f PR#4418: add jinja2 in requirements.txt
Merges #4418
https://pagure.io/koji/pull-request/4418
2025-07-07 11:57:57 -04:00
Yuming Zhu
46be4dacb0 add jinja2 in requirements.txt 2025-07-07 09:52:09 +00:00
Mike McLean
2083513aab PR#4411: support --wait-repo/--wait-build in wrapper-rpm command
Merges #4411
https://pagure.io/koji/pull-request/4411

Fixes: #4412
https://pagure.io/koji/issue/4412
 support --wait-repo/--wait-build in wrapper-rpm command
2025-07-02 16:29:15 -04:00
Mike McLean
c9578b5163 unit test 2025-07-02 15:58:35 -04:00
Mike McLean
91d743c35a support --wait-repo/--wait-build in wrapper-rpm command 2025-07-02 15:58:35 -04:00
Mike McLean
2df628b41f PR#4392: add listBuilds query params for promotion data
Merges #4392
https://pagure.io/koji/pull-request/4392
2025-06-26 14:34:03 -04:00
Mike McLean
fc4f197b6a add listBuilds query params for promotion data 2025-06-26 14:33:03 -04:00
Mike McLean
c60830797d PR#4311: kojivmd: refuse tasks instead of ignoring them
Merges #4311
https://pagure.io/koji/pull-request/4311

Fixes: #4312
https://pagure.io/koji/issue/4312
kojivmd: refuse tasks instead of ignoring them
2025-06-26 14:31:19 -04:00
Mike McLean
fe1127cedb kojivmd: refuse tasks instead of ignoring them 2025-06-26 14:29:30 -04:00