Mike McLean
28ba9f45f6
allow None in repoInfo for backwards compat
2024-09-13 11:39:51 -04:00
Tomas Kopecek
a204491e2b
PR#4186: Basic tests for kiwi plugin
...
Merges #4186
https://pagure.io/koji/pull-request/4186
Relates: #4179
https://pagure.io/koji/issue/4179
Create kiwi unit tests
2024-08-28 15:56:01 +02:00
Tomas Kopecek
8d0ef68bfa
Basic tests for kiwi plugin
...
Related: https://pagure.io/koji/issue/4179
2024-08-28 15:54:17 +02:00
Tomas Kopecek
a17395a42c
PR#4121: Provide tag data in policy_data_from_task_args
...
Merges #4121
https://pagure.io/koji/pull-request/4121
Relates: #3945
https://pagure.io/koji/issue/3945
Newer createrepo_c doesn't generate comps readable EL7
2024-08-28 15:45:07 +02: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
Tomas Kopecek
7ce96c9ec3
PR#4184: kiwi: Add support for overriding version and releasever
...
Merges #4184
https://pagure.io/koji/pull-request/4184
Fixes : #4183
https://pagure.io/koji/issue/4183
kiwi: Add support for overriding version and release-version attributes
2024-08-26 16:18:23 +02:00
Neal Gompa
a5dd795043
kiwi: Add support for overriding version and releasever
...
This allows for kiwi descriptions that are compatible across
multiple targets to be easily used without needless modifications.
Additionally, it allows for custom values when preparing milestone
releases without needlessly modifying the descriptions.
2024-08-26 10:02:43 -04:00
Tomas Kopecek
e18e4006cc
PR#4063: kiwi: Only add buildroot repo if user repositories are not defined
...
Merges #4063
https://pagure.io/koji/pull-request/4063
Fixes #4062
Related: https://pagure.io/koji/issue/4062
2024-08-26 14:34:18 +02:00
Tomas Kopecek
0e43634af5
improve warnings for older hub
2024-08-26 14:28:40 +02:00
Tomas Kopecek
810836944a
version check + typo fixes
2024-08-26 14:28:40 +02:00
Tomas Kopecek
dd594826f2
Don't use buildroot repo by default
2024-08-26 14:28:38 +02:00
Tomas Kopecek
b13d481d56
kiwi: option for not using buildroot repo
...
Related: https://pagure.io/koji/issue/4062
2024-08-26 14:28:13 +02:00
Neal Gompa
694ac41483
kiwi: Only add buildroot repo if user repositories are not defined
...
In general, we assume that if the user is specifying repositories,
the built-in one should not be used.
2024-08-26 14:27:21 +02:00
Tomas Kopecek
faf3d937f4
PR#4181: Fix a typo in the kiwi image type attribute override patch
...
Merges #4181
https://pagure.io/koji/pull-request/4181
Related: https://pagure.io/koji/issue/4177
2024-08-26 10:13:34 +02:00
Adam Williamson
3e0b8103d2
Fix a typo in the kiwi image type attribute override patch
...
This colon was duplicated, which is syntactically invalid and
prevents the file from loading at all.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-22 09:44:50 -07:00
Tomas Kopecek
6ac3fefbe3
PR#4157: kiwi: Add support for overriding kiwi image file name format
...
Merges #4157
https://pagure.io/koji/pull-request/4157
Fixes #4177
https://pagure.io/koji/issue/4177
2024-08-21 09:35:51 +02:00
Neal Gompa
06840501bd
kiwi: Add support for overriding kiwi image file name format
...
In order to be able to support workflows where the exact structure
of the image filenames matter (e.g. for Linux distribution artifacts),
support optionally overriding the image file name structure.
2024-08-21 09:35:45 +02:00
Tomas Kopecek
bd21b60f23
PR#4156: kiwi: Add support for overriding image type attributes
...
Merges #4156
https://pagure.io/koji/pull-request/4156
Related #4177
https://pagure.io/koji/issue/4177
2024-08-21 09:34:59 +02:00
Neal Gompa
b22449c553
kiwi: Add support for overriding image type attributes
...
This allows setting things like the volume and application IDs
for ISO builds.
2024-08-21 09:34:53 +02:00
Yuming Zhu
fdb00d34dd
Merge #4173 fix typo in schema-upgrade-1.34-1.35.sql
2024-08-19 15:34:45 +00:00
Yuming Zhu
f9cff89263
fix typo in schema-upgrade-1.34-1.35.sql
2024-08-19 23:28:58 +08:00
Tomas Kopecek
8a6857f546
PR#4141: Keep schema upgrade transactional
...
Merges #4141
https://pagure.io/koji/pull-request/4141
Relates: #4080
https://pagure.io/koji/issue/4080
[1.34.0] Database migration 1.34 -> 1.35 fails, because creating an index in this manner is not allowed.
2024-08-16 12:38:35 +02:00
Mike McLean
3fa1b1b243
Keep schema upgrade transactional
...
Related: https://pagure.io/koji/issue/4080
2024-08-16 12:38:28 +02:00
Tomas Kopecek
007cfa0345
PR#4132: check-api: only warn for external type changes
...
Merges #4132
https://pagure.io/koji/pull-request/4132
2024-08-15 11:57:22 +02:00
Mike McLean
ee83ceb1af
check-api: only warn for external type changes
2024-08-15 11:57:15 +02:00
Tomas Kopecek
25534177dc
PR#4103: make clean - more files
...
Merges #4103
https://pagure.io/koji/pull-request/4103
2024-08-15 11:53:47 +02:00
Tomas Kopecek
f82359b920
make clean - more files
...
Remove setup.py genereated directories and potential python stubs.
2024-08-15 11:53:40 +02:00
Tomas Kopecek
90b3ef7366
PR#4060: auto arch refusal for noarch tasks
...
Merges #4060
https://pagure.io/koji/pull-request/4060
Relates: #4047
https://pagure.io/koji/issue/4047
Scheduler randomly chose "wrong" archs for noarch packages.
2024-08-15 11:51:03 +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
085d97fb2d
one more test
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
Tomas Kopecek
0823802908
PR#4164: better default handling for getMultiArchInfo
...
Merges #4164
https://pagure.io/koji/pull-request/4164
Fixes : #4161
https://pagure.io/koji/issue/4161
api test is depending on used architecture
2024-08-15 09:05:43 +02:00
Mike McLean
23495b773b
better default handling for getMultiArchInfo
...
Fixes https://pagure.io/koji/issue/4161
2024-08-15 09:05:36 +02:00
Tomas Kopecek
69dd65b01e
PR#4083: refuse image tasks when required deps are missing
...
Merges #4083
https://pagure.io/koji/pull-request/4083
Fixes #4105
https://pagure.io/koji/issue/4105
2024-08-15 09:03:53 +02:00
Mike McLean
4cf8edd6a4
refuse image tasks when required deps are missing
2024-08-15 09:03:46 +02:00
Tomas Kopecek
abfe1f20be
PR#4158: Fix asserts in unit tests
...
Merges #4158
https://pagure.io/koji/pull-request/4158
2024-08-13 12:44:08 +02:00
Mike McLean
b91a40c0fc
restore test
2024-08-13 12:44:01 +02:00
Mike McLean
9b9a207206
fix test name
2024-08-13 12:44:01 +02:00
Jana Librova
8eb2078a4c
Fix asserts in unit tests
2024-08-13 12:44:01 +02:00
Tomas Kopecek
3dd7665269
PR#3912: anonymous getGroupMembers and getUserGroups
...
Merges #3912
https://pagure.io/koji/pull-request/3912
Relates: #3900
https://pagure.io/koji/issue/3900
RFE: anonymous getGroupMembers and getUserGroups
2024-08-13 12:41:50 +02:00
Christopher O'Brien
a5f4b24c37
undoing api json changes
2024-08-13 12:41:42 +02:00
Christopher O'Brien
cb6da5074c
change return type to list of dicts
2024-08-13 12:41:42 +02:00
Christopher O'Brien
a3f4ea5d44
make the API tests pass
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
Tomas Kopecek
d982b5ac4f
PR#4100: setup.py: Fix version retrieval on Python 3.13+
...
Merges #4100
https://pagure.io/koji/pull-request/4100
Fixes : #4101
https://pagure.io/koji/issue/4101
setup.py: Fix version retrieval on Python 3.13+
2024-07-24 09:45:23 +02:00
Miro Hrončok
7dd9a83612
setup.py: Fix version retrieval on Python 3.13+
...
Accessing __version__ from locals() no longer works.
This was reported to Python in https://github.com/python/cpython/issues/118888
but according to Python developers, it:
- is an intended change of behavior described in PEP 667
- was an illegal usage that happens to work in a favored way to begin with
2024-07-24 09:45:04 +02:00