Commit graph

7813 commits

Author SHA1 Message Date
Tomas Kopecek
fccf4fa3f9 PR#4274: Don't prepopulate log list for mavenBuild
Merges #4274
https://pagure.io/koji/pull-request/4274

Fixes: #4273
https://pagure.io/koji/issue/4273
mavenBuild now fails on missing log files
2024-12-04 17:16:42 +01:00
Mike McLean
9a6b666926 include the checkout logs in task result 2024-12-04 11:28:32 +01:00
Tomas Kopecek
51f5a4ebef Don't prepopulate log list for mavenBuild
Related: https://pagure.io/koji/issue/4273
2024-12-03 16:54:09 +01:00
Tomas Kopecek
9acd993957 PR#4167: adjust arches warning message for external repo check
Merges #4167
https://pagure.io/koji/pull-request/4167

Relates: #4165
https://pagure.io/koji/issue/4165
Log of kojira floods with unclean messages
2024-12-03 14:14:11 +01:00
Mike McLean
0929447fc9 adjust warning message 2024-12-03 14:14:03 +01:00
Mike McLean
770da96ee0 unit tests 2024-12-03 14:14:03 +01:00
Tomas Kopecek
086c940f45 PR#4140: kojira: allow setting ccache in config
Merges #4140
https://pagure.io/koji/pull-request/4140

Fixes: #4137
https://pagure.io/koji/issue/4137
[1.34.0] ccache settings can't be changed in kojira
2024-11-25 14:39:28 +01:00
Mike McLean
37a3d4e4dd kojira: allow setting ccache in config
patch contributed by frank-mdc
Fixes https://pagure.io/koji/issue/4137
2024-11-25 14:39:21 +01:00
Tomas Kopecek
0a7e76d9ad PR#4214: Fix for reading config files when contains UTF-8 chars
Merges #4214
https://pagure.io/koji/pull-request/4214

Fixes: #4191
https://pagure.io/koji/issue/4191
[1.34.0] Reading the config files can fail if they contain UTF-8 characters.
2024-11-20 17:05:55 +01:00
Mike McLean
e1b55ec23c add unit test 2024-11-20 15:37:07 +01:00
Jana Librova
729c954f3d Fix for reading config files when contains UTF-8 chars
Fixes: https://pagure.io/koji/issue/4191
2024-11-13 20:12:18 +01:00
Mike McLean
ad221feb8b PR#4196: flake8 fix
Merges #4196
https://pagure.io/koji/pull-request/4196
2024-11-12 16:07:33 -05:00
Tomas Kopecek
4845ce3a92 flake8 fix 2024-11-12 16:07:28 -05:00
Mike McLean
5a46df53e2 PR#4152: stabilize order for listTagged
Merges #4152
https://pagure.io/koji/pull-request/4152

Fixes: #4162
https://pagure.io/koji/issue/4162
stabilize order for listTagged
2024-11-12 15:56:11 -05:00
Mike McLean
a128125bd1 stabilize order for listTagged 2024-11-12 15:49:31 -05:00
Mike McLean
096a497938 PR#4155: CLI: Print client version when unable to connect to server
Merges #4155
https://pagure.io/koji/pull-request/4155

Fixes: #4151
https://pagure.io/koji/issue/4151
CLI: koji version fails for unreachable hub
2024-11-12 15:47:08 -05:00
Jana Librova
d19bc73b63 CLI: Print client version when unable to connect to server
Fixes: https://pagure.io/koji/issue/4151
2024-11-12 15:47:03 -05:00
Mike McLean
c4b6507696 PR#4207: fix latest symlink check
Merges #4207
https://pagure.io/koji/pull-request/4207

Fixes: #4206
https://pagure.io/koji/issue/4206
latest symlink generation stopped working in 1.35
2024-11-12 13:52:51 -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
a9e56fa44c PR#4170: provide user for scm policy check
Merges #4170
https://pagure.io/koji/pull-request/4170

Fixes: #4172
https://pagure.io/koji/issue/4172
provide user for scm policy check
2024-11-01 10:07:32 -04:00
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