Tomas Kopecek
8ad473b6f2
PR#4287: Add new option for mock option - bootstrap_image_ready
...
Merges #4287
https://pagure.io/koji/pull-request/4287
Fixes : #3958
https://pagure.io/koji/issue/3958
RFE: New option for the Mock's option bootstrap_image_ready
2025-04-29 16:14:24 +02:00
Jana Librova
1c923edcc8
Add new option for mock option - bootstrap_image_ready
...
Fixes: https://pagure.io/koji/issue/3958
2025-04-29 16:14:16 +02:00
Tomas Kopecek
9ba4398211
PR#4123: download-logs: prefer getBuildLogs for builds
...
Merges #4123
https://pagure.io/koji/pull-request/4123
Fixes : #4122
https://pagure.io/koji/issue/4122
download-logs --nvr fails to get logs in many cases
2025-04-29 16:11:39 +02:00
Mike McLean
8b5b516227
fall back to task files for non-complete builds
2025-04-29 16:11:30 +02:00
Mike McLean
32a609925d
download-logs: prefer getBuildLogs for builds
2025-04-29 16:11:30 +02:00
Mike McLean
f88eddb115
PR#4368: koji 1.35.3 release notes and version bump
...
Merges #4368
https://pagure.io/koji/pull-request/4368
Fixes : #4367
https://pagure.io/koji/issue/4367
Koji 1.35.3 release notes
2025-04-28 15:34:00 -04:00
Mike McLean
3df7de14ee
include pending PRs
2025-04-28 14:00:23 -04:00
Mike McLean
b521a1740f
koji 1.35.3 release notes and version bump
2025-04-28 14:00:23 -04:00
Mike McLean
b21cb0bac5
PR#4335: Honor %{_sbindir} in make install
...
Merges #4335
https://pagure.io/koji/pull-request/4335
Fixes : #4338
https://pagure.io/koji/issue/4338
Better handling of sbindir macro
2025-04-17 10:17:59 -04:00
Mike McLean
52cecf06c8
Use make_with_dirs macro
...
This effectively replaces most of https://pagure.io/koji/pull-request/4297
2025-04-17 10:13:41 -04:00
Michel Lind
18528e563c
Allow overriding sbin directory
...
This fixes the Koji build for Fedora 42+, where on an installed system,
`/sbin` and `/usr/sbin` are symlinks to `/usr/bin`; see:
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin
On a build root the symlink does not exist, so attempts in the spec to
manipulate binaries in `%{_sbindir}/` fail as these binaries are
installed to `%{buildroot}/usr/sbin` while the script is looking for
`%{buildroot}/usr/bin`
The default value is set to `/usr/sbin` so not passing `SBINDIR` when
installing results in the current behavior being preserved.
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-04-17 10:13:41 -04:00
Mike McLean
b6c9ce7a59
PR#4363: Revert py2 portion of mr#4214
...
Merges #4363
https://pagure.io/koji/pull-request/4363
Fixes : #4351
https://pagure.io/koji/issue/4351
Builds fail on py2 builders
2025-04-17 10:12:31 -04:00
Mike McLean
204b45edcc
fix py2 test failure
...
fix suggested by julian8628
2025-04-17 10:10:53 -04:00
Mike McLean
26f0e3e98a
drop obsolete mock
2025-04-17 10:10:53 -04:00
Mike McLean
d970eeeb5d
fix unit tests
2025-04-17 10:10:53 -04:00
Mike McLean
60761e6936
revert py2 portion of mr#4214
...
See https://pagure.io/koji/pull-request/4214
2025-04-17 10:10:53 -04:00
Mike McLean
91ec3d58e4
PR#4232: handle arch-duplicate logs in importImageInternal
...
Merges #4232
https://pagure.io/koji/pull-request/4232
Fixes : #4231
https://pagure.io/koji/issue/4231
Error importing build log with 1.35.1
2025-04-15 10:55:49 -04:00
Mike McLean
62021b8119
unit tests
2025-04-15 10:53:50 -04:00
Mike McLean
1c9b27690b
handle arch-duplicate logs in importImageInternal
2025-04-15 10:53:50 -04:00
Mike McLean
4729cf8687
PR#4358: Fix min_avail calculation
...
Merges #4358
https://pagure.io/koji/pull-request/4358
Fixes : #4359
https://pagure.io/koji/issue/4359
Fix min_avail calculation
2025-04-08 15:51:27 -04:00
Mike McLean
b3ba2fac91
unit test
2025-04-08 15:44:23 -04:00
Mike McLean
9a161f9146
fix min_avail calculation
2025-04-08 15:44:23 -04:00
Tomas Kopecek
caeac8e7c7
PR#4357: Fix two unit test issues
...
Merges #4357
https://pagure.io/koji/pull-request/4357
2025-03-31 11:15:40 +02:00
Mike McLean
c8e1ca7732
fix pathinfo side effect from unit test
2025-03-31 11:15:32 +02:00
Mike McLean
785ef7df38
fix potential stall in test_gssapi.py
2025-03-31 11:15:32 +02:00
Tomas Kopecek
28a2da913b
PR#4270: keep latest default repo for build tags
...
Merges #4270
https://pagure.io/koji/pull-request/4270
Fixes : #4276
https://pagure.io/koji/issue/4276
Kojira can leave build tags with no repo at all
Fixes : #4295
https://pagure.io/koji/issue/4295
kojiria seems to be gc'ing latest repos-dist
2025-03-31 11:12:16 +02:00
Mike McLean
3f0de62389
unit test
2025-03-31 11:11:55 +02:00
Mike McLean
e691d28cae
target check makes no sense for dist repos
2025-03-31 11:11:55 +02:00
Mike McLean
c0690c821f
avoid expiring latest dist repos also
...
Fixes: https://pagure.io/koji/issue/4295
2025-03-31 11:11:55 +02:00
Mike McLean
d159356713
unit tests
2025-03-31 11:11:55 +02:00
Mike McLean
c4948587a3
recheck_period for expire check
2025-03-31 11:11:55 +02:00
Mike McLean
0f78b9adb0
tweak unit test
2025-03-31 11:11:55 +02:00
Mike McLean
8fb2d9acc1
kojira: adjust expire_check
2025-03-31 11:11:55 +02:00
Tomas Kopecek
6113ef71c1
PR#4303: Fix tasks url creation
...
Merges #4303
https://pagure.io/koji/pull-request/4303
Fixes : #4302
https://pagure.io/koji/issue/4302
In the deployed koji 1.35.1, the tasks link from the userinfo page is invalid
2025-03-21 15:04:10 +01:00
Tomas Kopecek
f4328d5969
Fix tasks url creation
...
Related: https://pagure.io/koji/issue/4302
2025-03-21 15:04:03 +01:00
Tomas Kopecek
7589738557
PR#4310: fix option data types and add unit test
...
Merges #4310
https://pagure.io/koji/pull-request/4310
Relates: #4308
https://pagure.io/koji/issue/4308
Wrong types in default hub values
2025-03-21 14:52:45 +01:00
Mike McLean
eb9ada8eb5
test config dtypes
2025-03-21 14:52:37 +01:00
Mike McLean
a7d7d9c1f5
move config map and add unit tests
2025-03-21 14:52:37 +01:00
Tomas Kopecek
3e48c8597f
PR#4125: partial draft support for cg_import
...
Merges #4125
https://pagure.io/koji/pull-request/4125
Relates: #4124
https://pagure.io/koji/issue/4124
Support draft builds for CGs
2025-03-20 15:54:29 +01:00
Mike McLean
1662bb8ee9
add epoch option to reserve-cg command
2025-03-20 15:54:22 +01:00
Mike McLean
cee0b21061
update unit test
2025-03-20 15:54:22 +01:00
Mike McLean
e172a9ca08
update metadata doc
2025-03-20 15:54:22 +01:00
Mike McLean
2fabf3d74f
cg draft support
2025-03-20 15:54:22 +01:00
Tomas Kopecek
33a76afab4
PR#4341: Fix python2 unittests
...
Merges #4341
https://pagure.io/koji/pull-request/4341
Fixes : #4340
https://pagure.io/koji/issue/4340
fix python2 unit tests
2025-03-13 14:23:59 +01:00
Jana Librova
6c98b602e5
Fix python2 unittests
...
Fixes: https://pagure.io/koji/issue/4340
2025-03-07 22:03:57 +01:00
Tomas Kopecek
30cc20652d
PR#4334: work around parse_qs behavior in python < 3.11
...
Merges #4334
https://pagure.io/koji/pull-request/4334
Fixes : #4332
https://pagure.io/koji/issue/4332
parse_qs fails on python 3.9
2025-03-03 16:34:21 +01:00
Mike McLean
28b9ef7c64
avoid duplicate environ.get call
2025-02-25 11:10:45 -05:00
Mike McLean
abf33cea63
unit test
2025-02-24 12:17:24 -05:00
Mike McLean
af18c59623
work around parse_qs behavior in python < 3.11
2025-02-24 12:17:24 -05:00
Tomas Kopecek
8e55098458
PR#4330: drop custom threadlocal implementation
...
Merges #4330
https://pagure.io/koji/pull-request/4330
Fixes : #4331
https://pagure.io/koji/issue/4331
2025-02-24 12:55:27 +01:00