Mike McLean
dd221d4839
unit test
2024-11-01 10:07:26 -04:00
Mike McLean
41c7cb7f89
provide user for scm policy check
2024-11-01 10:07:26 -04:00
Mike McLean
d86684103f
PR#4079: www: fix for non-existent target_info
...
Merges #4079
https://pagure.io/koji/pull-request/4079
Fixes : #4078
https://pagure.io/koji/issue/4078
taskInfo webpage failure
2024-10-31 10:50:45 -04:00
Tomas Kopecek
ef61ba620f
www: fix for non-existent target_info
...
Related: https://pagure.io/koji/issue/4078
2024-10-31 10:50:40 -04:00
Mike McLean
ac22ca9a3b
PR#4251: drop cgi import
...
Merges #4251
https://pagure.io/koji/pull-request/4251
Fixes : #3966
https://pagure.io/koji/issue/3966
python cgi module will be dropped in 3.13
2024-10-31 09:39:58 -04:00
Mike McLean
d94ba90a22
drop cgi import from unit tests
2024-10-30 15:27:41 -04:00
Mike McLean
4eecaddb47
drop cgi import
...
Fixes https://pagure.io/koji/issue/3966
2024-10-29 22:08:58 -04:00
Mike McLean
603f002dc2
PR#4136: no hyperlink in title
...
Merges #4136
https://pagure.io/koji/pull-request/4136
Fixes : #4135
https://pagure.io/koji/issue/4135
`<title>` of Koji builds includes erroneous `<a href="rpminfo?rpmID="></a>`.
2024-10-25 11:24:19 -04:00
Mike McLean
51f236dabd
no hyperlink in title
2024-10-25 11:24:14 -04:00
Mike McLean
9b08aad4f4
PR#4228: cli: wait-repo: wait for a current repo by default
...
Merges #4228
https://pagure.io/koji/pull-request/4228
Fixes : #4229
https://pagure.io/koji/issue/4229
cli: wait-repo can report an older repo
Fixes : #4226
https://pagure.io/koji/issue/4226
koji wait-repo command behaviour change / regression in 1.35
Relates: #4227
https://pagure.io/koji/issue/4227
koji 1.35: blocking a package from a tag does not seem to cause newRepo tasks
2024-10-24 08:13:45 -04:00
Mike McLean
a9f92c5039
cli: wait-repo: wait for a current repo by default
...
The pre-1.35 behavior was to wait for a fresh regen.
2024-10-24 08:13:38 -04:00
Mike McLean
57040f7313
PR#4239: unittest: use unittest.mock instead of mock
...
Merges #4239
https://pagure.io/koji/pull-request/4239
Fixes : #4195
https://pagure.io/koji/issue/4195
Transition from python-mock to unittest.mock
2024-10-23 13:09:22 -04:00
Yuming Zhu
ca05418fb5
unittest: use unittest.mock instead of mock
...
because the absence of unittest.mock on python2.7, we still fallback to
mock
2024-10-23 16:35:30 +00:00
Mike McLean
589e6bbb96
PR#4241: fix check-api for python3 bin and requirement of setuptools
...
Merges #4241
https://pagure.io/koji/pull-request/4241
Fixes : #4240
https://pagure.io/koji/issue/4240
[devtools] check-api requires persent of /usr/bin/python
2024-10-22 14:33:21 -04:00
Yuming Zhu
5413ff5c12
setuptools is required by devtools/check-api (py3)
2024-10-21 19:52:11 +08:00
Yuming Zhu
3ca34171a9
fix unittest without /usr/bin/python on newer os
2024-10-21 19:52:11 +08:00
Mike McLean
c0242a8ca4
PR#4238: Update paths in migration docs
...
Merges #4238
https://pagure.io/koji/pull-request/4238
Fixes : #4220
https://pagure.io/koji/issue/4220
Path error in the documentation about the database migrations
2024-10-17 14:26:34 -04:00
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