Commit graph

8049 commits

Author SHA1 Message Date
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
Mike McLean
724dbe317f PR#4150: fix callnum lookup on hub
Merges #4150
https://pagure.io/koji/pull-request/4150

Fixes: #4149
https://pagure.io/koji/issue/4149
callnum not recorded for sessions
2025-06-26 14:27:01 -04:00
Mike McLean
95325009a5 fix unit tests 2025-06-25 15:46:31 -04:00
Mike McLean
ffd1f38cb2 test_client_session.py 2025-06-25 15:21:11 -04:00
Mike McLean
255eadcf2f fix callnum lookup on hub
Fixes https://pagure.io/koji/issue/4149
2025-06-25 15:21:11 -04:00
Tomas Kopecek
45c290dd74 PR#4387: repo requests web ui
Merges #4387
https://pagure.io/koji/pull-request/4387

Fixes: #4289
https://pagure.io/koji/issue/4289
repo requests web ui
2025-06-12 13:24:20 +02:00
Mike McLean
c6e368200e html fixes 2025-06-12 13:24:12 +02:00
Mike McLean
c04784cb14 fix malformed html element 2025-06-12 13:24:12 +02:00
Mike McLean
e8b02860fb fix missing tr element 2025-06-12 13:24:12 +02:00
Mike McLean
cd36bb2826 test_pages updates
This fixes issues with test_pages that I found while checking
coverage. The environ dict was recycled across each call in the loop,
but those calls can modify it, leaking data from one pass to another.
Also, the mocking for _getServer was not placing the session in the
environ, which was causing the tests to miss some cases.
2025-06-12 13:24:12 +02:00
Mike McLean
c7a5622934 update test_pages to cover new code 2025-06-12 13:24:12 +02:00
Mike McLean
c8ae2835fa fix json handling in template 2025-06-12 13:24:12 +02:00
Mike McLean
cc4d88e99e install svg file 2025-06-12 13:24:12 +02:00
Mike McLean
52cc8b9d41 flake8 2025-06-12 13:24:12 +02:00
Mike McLean
9163e476cb fix None display in query form 2025-06-12 13:24:12 +02:00
Mike McLean
1d929d0d71 update call data for unit test 2025-06-12 13:24:12 +02:00
Mike McLean
140aeacda0 port new templates to jinja 2025-06-12 13:24:12 +02:00
Mike McLean
a2f9fbfd06 typo 2025-06-12 13:24:12 +02:00
Mike McLean
357587a57c repo requests web ui
* new page for request details
* new page for querying requests
* add links in taginfo and taskinfo pages
* show more data in repoinfo page
2025-06-12 13:24:12 +02:00
Tomas Kopecek
573bd41654 PR#4383: handle cross-volume draft symlinks
Merges #4383
https://pagure.io/koji/pull-request/4383

Fixes: #4386
https://pagure.io/koji/issue/4386
Promoting a draft build can leave broken symlink at original draft location
2025-06-12 13:23:08 +02:00