Mike McLean
2ebed21dae
compat option for previous behavior
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
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
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
1cd8585b29
rollback on IntegrityError in get_next_build
2025-07-10 11:48:13 -04:00
Mike McLean
fc4f197b6a
add listBuilds query params for promotion data
2025-06-26 14:33:03 -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
Mike McLean
cd31945637
don't require new_binfo
2025-06-12 13:22:59 +02:00
Mike McLean
40d7a30f1b
require volume toplink to exist
2025-06-12 13:22:59 +02:00
Mike McLean
3a7656015f
check/create volume toplink in add_volume
2025-06-12 13:22:59 +02:00
Mike McLean
a7bc882aa5
initial fix
2025-06-12 13:22:59 +02:00
Jana Librova
037d9e468e
listUsers excepts userType as int, list and Nonetype
...
Fixes: https://pagure.io/koji/issue/4325
2025-06-02 11:21:21 +02:00
Mike McLean
733294c87d
Less log noise for empty or invalid requests
2025-05-20 14:30:58 +02:00
Mike McLean
85c1a1b2c9
adjust upload offset and overwrite logic
2025-05-20 14:30:01 +02:00
Mike McLean
7e71f18212
ensure repos dir
...
Fixes https://pagure.io/koji/issue/4315
2025-05-19 09:48:20 +02:00
Jana Librova
b7488d1c96
add-external-repo excepts comma-separated and space-separated list
...
Fixes: https://pagure.io/koji/issue/4353
2025-04-29 16:37:31 +02:00
Mike McLean
cbfa648549
make sure extension matching is case insensitive
2025-04-29 16:22:07 +02:00
Mike McLean
1b3990cec9
simplify extension match
...
this avoids errors if the ext value contains special characters
2025-04-29 16:22:07 +02:00
Mike McLean
6afde19a8a
match longest archivetype extension first
2025-04-29 16:22:07 +02:00
Mike McLean
d9d3c6238a
report tag_external_repos.arches in query_history
2025-04-29 16:20:41 +02:00
Mike McLean
1c9b27690b
handle arch-duplicate logs in importImageInternal
2025-04-15 10:53:50 -04:00
Mike McLean
9a161f9146
fix min_avail calculation
2025-04-08 15:44:23 -04: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
Mike McLean
2fabf3d74f
cg draft support
2025-03-20 15:54:22 +01:00
Mike McLean
ad81bf3f61
drop custom threadlocal implementation
2025-02-23 21:08:57 -05:00
Mike McLean
1382934404
avoid duplicate query
2025-02-18 11:56:10 +01:00
Tomas Kopecek
3f8f697a1c
Fix default types
...
Related: https://pagure.io/koji/issue/4308
2025-02-06 15:21:38 +01:00
Mike McLean
74fe5301a2
include tag name in newRepo args
...
Fixes https://pagure.io/koji/issue/4208
2025-02-04 12:45:11 +01:00
Jana Librova
9c6aec7755
Remove _singleRow and _multiRow import to kojihub
...
Fixes: https://pagure.io/koji/issue/3590
2025-01-23 18:04:49 +01:00
Mike McLean
3696539c26
fix misleading comment
2025-01-07 12:48:59 +01:00
Mike McLean
d18aacfc5a
fix repo handing for bare wrapperRPM task
...
Fixes: https://pagure.io/koji/issue/4266
2024-12-05 16:16:13 +01:00
Mike McLean
a128125bd1
stabilize order for listTagged
2024-11-12 15:49:31 -05:00
Mike McLean
75a214c0a2
fix latest symlink check
...
Fixes https://pagure.io/koji/issue/4206
2024-11-12 13:50:53 -05:00
Mike McLean
28ba9f45f6
allow None in repoInfo for backwards compat
2024-09-13 11:39:51 -04:00
Tomas Kopecek
8c3755c704
Provide tag data in policy_data_from_task_args
...
Also included
* unit test
* only set scratch if opt is present
2024-08-28 15:44:59 +02:00
Mike McLean
c09780bbb5
adjust handling for tags with no arches
2024-08-15 11:50:50 +02:00
Mike McLean
6fb33731d9
adjust comments
2024-08-15 11:50:50 +02:00
Mike McLean
3a8a0786be
add unit test and adjust error handling
...
(no errors were found with the code, but needed to avoid masking them in
tests)
2024-08-15 11:50:50 +02:00
Mike McLean
137400868a
typo
2024-08-15 11:50:50 +02:00
Mike McLean
826f8637d9
trigger auto refusals in make_task
2024-08-15 11:50:50 +02:00
Mike McLean
8894fcbca3
auto_arch_refuse()
2024-08-15 11:50:50 +02:00
Christopher O'Brien
cb6da5074c
change return type to list of dicts
2024-08-13 12:41:42 +02:00
Christopher O'Brien
0bd816c689
Make getGroupMembers anonymous and add getUserGroups
2024-08-13 12:41:42 +02:00
Mike McLean
adda405314
use tzutc from dateutil
2024-07-12 10:55:44 -04:00
Mike McLean
69d162ddff
fix tz mismatch issues with various queries
2024-07-12 10:55:44 -04:00
Mike McLean
f2331ba27f
handle cases where there is no event before our ts
2024-07-05 12:37:24 -04:00
Mike McLean
9f96923f7b
handle volumes when clearing stray build dirs
2024-07-03 13:20:04 +02:00
Mike McLean
01988983dd
provide additional data for cg policy
2024-07-03 13:17:42 +02:00