Commit graph

7926 commits

Author SHA1 Message Date
Tomas Kopecek
599de6e0c0 Update paths in migration docs
Path was changed in 1.34

Related: https://pagure.io/koji/issue/4220
2024-10-16 14:06:51 +02:00
Mike McLean
8c72d90d7b PR#4215: Fix CVE-2024-9427
Merges #4215
https://pagure.io/koji/pull-request/4215

Fixes: #4204
https://pagure.io/koji/issue/4204
Fix CVE-2024-9427
2024-10-08 08:55:27 -04:00
Mike McLean
8ab6c15087 version 1.35.1 2024-10-04 11:29:55 -04:00
Mike McLean
c539dfc9a6 release notes and cve doc 2024-10-04 08:25:05 -04:00
Mike McLean
6629adff0e use url quoting for rpm url arg 2024-09-30 10:46:29 -04:00
Mike McLean
1fa0664452 fix tasks description 2024-09-30 10:46:29 -04:00
Mike McLean
c948a85ad4 avoid escaping theme includes 2024-09-30 10:46:29 -04:00
Mike McLean
05155bf9cf fix unit tests 2024-09-30 10:46:29 -04:00
Mike McLean
b392fadf60 rework escaping in web ui 2024-09-30 10:46:26 -04:00
Tomas Kopecek
dc3eeded53 PR#4154: Reformat watchlogs.js indentation for consistency
Merges #4154
https://pagure.io/koji/pull-request/4154

Related #4187
https://pagure.io/koji/issue/4187
2024-09-18 09:17:42 +02:00
FeRD (Frank Dana)
a3bf074d0d De-tabify .chtml files 2024-09-18 09:17:35 +02:00
FeRD (Frank Dana)
0d7d34d216 Init files: expand tab indents 2024-09-18 09:17:35 +02:00
FeRD (Frank Dana)
6304a37ea9 Add preliminary .editorconfig rules 2024-09-18 09:17:35 +02:00
FeRD (Frank Dana)
3f0a596846 Reformat to 4-space indents throughout
watchlogs.js was a mess of mixed indentation, with some sections
using 8-column tabs with 4-column indents, and others using spaces
for indentation throughout. As a result, the formatting was
erratic, particularly when viewed with anything other than an 8-column
tab width.
2024-09-18 09:17:35 +02:00
Tomas Kopecek
f4035140b2 PR#4197: migration notes for repo generation
Merges #4197
https://pagure.io/koji/pull-request/4197
2024-09-18 09:09:03 +02:00
Mike McLean
ec3558ef87 no need to defined named reference twice
https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#hyperlink-references
2024-09-17 18:15:55 -04:00
Mike McLean
ca4dbb469f kojira migration notes 2024-09-17 18:15:55 -04:00
Tomas Kopecek
d2ca06930a PR#4169: Release notes 1.35
Merges #4169
https://pagure.io/koji/pull-request/4169

Fixes: #4168
https://pagure.io/koji/issue/4168
Release notes 1.35
2024-09-17 13:03:47 +02:00
Tomas Kopecek
e3c84e2580 Release notes 1.35
Related: https://pagure.io/koji/issue/4168
2024-09-17 13:03:39 +02:00
Tomas Kopecek
9ae1c89c56 PR#4192: allow None in repoInfo for backwards compat
Merges #4192
https://pagure.io/koji/pull-request/4192

Fixes: #4193
https://pagure.io/koji/issue/4193
repoInfo no longer accepts None
2024-09-17 13:00:33 +02:00
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