Commit graph

5202 commits

Author SHA1 Message Date
Tomas Kopecek
bbd378db61 Koji 1.21.1 release notes
Fixes: https://pagure.io/koji/issue/2294
2020-06-09 11:18:10 +02:00
Tomas Kopecek
8d850f1438 PR#2278: koji-gc: fix cc/bcc e-mail handling
Merges #2278
https://pagure.io/koji/pull-request/2278

Fixes: #2169
https://pagure.io/koji/issue/2169
koji-gc: allow specifying CC and BCC address for email notifications
2020-06-09 10:41:51 +02:00
Tomas Kopecek
71edb2fa95 koji-gc: fix cc/bcc e-mail handling
Relates: https://pagure.io/koji/issue/2169
2020-06-09 10:41:40 +02:00
Tomas Kopecek
9e4148e6c8 PR#2212: kojid: remove bootstrap dir
Merges #2212
https://pagure.io/koji/pull-request/2212

Fixes: #1988
https://pagure.io/koji/issue/1988
kojid should also cleanup any 'bootstrap' repos
2020-06-05 14:06:11 +02:00
Tomas Kopecek
2b930de206 kojid: remove bootstrap dir
Fixes: https://pagure.io/koji/issue/1988
2020-06-05 14:06:03 +02:00
Tomas Kopecek
7eacf6bcc2 PR#2254: openRemoteFile retries and checks downloaded content
Merges #2254
https://pagure.io/koji/pull-request/2254

Fixes: #2130
https://pagure.io/koji/issue/2130
openRemoteFile should retry/raise better error
2020-06-05 10:58:46 +02:00
Tomas Kopecek
db1110a5b9 fix flake8 issues 2020-06-05 10:58:38 +02:00
Tomas Kopecek
f69824041d fix checking signed files
Rpms which are signed with unknown key would raise an error. Ignore
checking of signing key validity.
2020-06-05 10:58:38 +02:00
Tomas Kopecek
3d698be2a7 use downloadFile for localPath and openRemoteFile 2020-06-05 10:58:38 +02:00
Tomas Kopecek
a4863c0f26 lib: check consistency of rpm from openRemoteFile
Fixes: https://pagure.io/koji/issue/2130
2020-06-05 10:58:38 +02:00
Tomas Kopecek
8ea4a7245b lib: retry openRemoteFile and check size 2020-06-05 10:58:38 +02:00
Tomas Kopecek
360ccd248a PR#2225: hub: log tracebacks for multicalls
Merges #2225
https://pagure.io/koji/pull-request/2225

Fixes: #2204
https://pagure.io/koji/issue/2204
hub errors not logged during multicall
2020-06-03 15:35:05 +02:00
Tomas Kopecek
5bc763ab2d hub: log tracebacks for multicalls
Fixes: https://pagure.io/koji/issue/2204
2020-06-03 15:34:56 +02:00
Tomas Kopecek
272a718483 PR#2279: koji-gc: fix query order
Merges #2279
https://pagure.io/koji/pull-request/2279

Fixes: #2270
https://pagure.io/koji/issue/2270
koji-gc could use wrong order for pruning decisions
2020-06-03 12:54:14 +02:00
Tomas Kopecek
9f54386279 koji-gc: fix history order
Fixes: https://pagure.io/koji/issue/2270
2020-06-02 14:19:08 +02:00
Tomas Kopecek
604f25032e PR#2064: Support tag specific environment variables
Merges #2064
https://pagure.io/koji/pull-request/2064

Fixes #2072
https://pagure.io/koji/issue/2072
2020-05-27 14:28:47 +02:00
Tom Stellard
afc0efb122 Support tag specific environment variables
This makes it possible to specify an environment variable for a tag
that will be used during builds. e.g.

koji edit-tag -x rpm.env.CC=clang
2020-05-27 14:28:39 +02:00
Tomas Kopecek
62ce45b104 PR#2153: koji-gc: various typos in maven path
Merges #2153
https://pagure.io/koji/pull-request/2153

Fixes: #2152
https://pagure.io/koji/issue/2152
koji-gc: invalid code
2020-05-26 09:27:22 +02:00
Tomas Kopecek
9e6aabf4ff koji-gc: various typos in maven path
Fixes: https://pagure.io/koji/issue/2152
2020-05-26 09:27:14 +02:00
Tomas Kopecek
962e528a77 PR#2193: www: repoinfo page
Merges #2193
https://pagure.io/koji/pull-request/2193

Fixes: #2181
https://pagure.io/koji/issue/2181
RFE: repo info page in web ui
2020-05-25 10:39:42 +02:00
Tomas Kopecek
b84be525c0 www: repoinfo page
Fixes: https://pagure.io/koji/issue/2181
2020-05-25 10:39:34 +02:00
Tomas Kopecek
a492140d9c PR#2268: don't decode signature headers
Merges #2268
https://pagure.io/koji/pull-request/2268

Fixes: #2221
https://pagure.io/koji/issue/2221
download_rpm can fail with some sigmd5s
2020-05-25 09:15:04 +02:00
Mike McLean
d30ac98325 clarify reason for decoding in comment 2020-05-25 09:14:51 +02:00
Mike McLean
b3687f2b25 don't decode signature headers
Fixes https://pagure.io/koji/issue/2221

some headers, like sigmd5, are inherently binary
2020-05-25 09:14:51 +02:00
Tomas Kopecek
000d270a15 PR#2214: cli: drop unneeded activate_session
Merges #2214
https://pagure.io/koji/pull-request/2214

Fixes: #2070
https://pagure.io/koji/issue/2070
Drop activate_sessions from anonymous calls in CLI
2020-05-22 09:47:54 +02:00
Tomas Kopecek
9afe5e3866 fix flake8 2020-05-22 09:36:21 +02:00
Tomas Kopecek
637be55ef4 cli: drop unneeded activate_session
Fixes: https://pagure.io/koji/issue/2070
2020-05-22 09:36:21 +02:00
Tomas Kopecek
c4b5316cba PR#2266: Correctly identify "hostname doesn't match" errors
Merges #2266
https://pagure.io/koji/pull-request/2266

Fixes: #2265
https://pagure.io/koji/issue/2265
"hostname doesn’t match" certificate is not identified as a certificate error
2020-05-20 10:51:06 +02:00
Alex Iribarren
2087561fe6 Correctly identify "hostname doesn't match" errors 2020-05-20 10:50:56 +02:00
Tomas Kopecek
c72b5238f3 PR#2228: cli: flush stdout during watch-logs
Merges #2228
https://pagure.io/koji/pull-request/2228

Fixes: #2227
https://pagure.io/koji/issue/2227
py3 watch-logs doesn't flush buffers
2020-05-20 10:42:58 +02:00
Tomas Kopecek
be57b32f42 cli: flush stdout during watch-logs
Fixes: https://pagure.io/koji/issue/2227
2020-05-20 10:42:49 +02:00
Tomas Kopecek
f74da269f4 PR#2264: replace deprecated function with logging
Merges #2264
https://pagure.io/koji/pull-request/2264

Fixes: #1440
https://pagure.io/koji/issue/1440
Deprecate host.getTask API call
2020-05-19 14:42:00 +02:00
Tomas Kopecek
ef43ba0b7b replace deprecated function with logging
Relates: https://pagure.io/koji/issue/1440

warnings doesn't behave well with python 3.8 causing segfaults. Let's
user simple logging for a while.
2020-05-19 14:29:52 +02:00
Tomas Kopecek
db1bbd2b13 PR#2262: Pass bootloader append option to livemedia builds
Merges #2262
https://pagure.io/koji/pull-request/2262

Fixes: #2258
https://pagure.io/koji/issue/2258
Pass 'bootloader --append' in livemedia builds
2020-05-19 10:22:20 +02:00
Brendan Reilly
ba66f88e61 Pass bootloader append option to livemedia builds 2020-05-19 10:22:11 +02:00
Tomas Kopecek
8734a9c2b7 PR#2195: koji-gc: allow specifying CC and BCC address for email notifications
Merges #2195
https://pagure.io/koji/pull-request/2195

Fixes: #2169
https://pagure.io/koji/issue/2169
koji-gc: allow specifying CC and BCC address for email notifications
2020-05-19 09:45:14 +02:00
Tomas Kopecek
058b8d83c6 fix indentation 2020-05-18 13:30:11 +02:00
Tomas Kopecek
624229784c hide bcc addresses
Fixes: https://pagure.io/koji/issue/2169
2020-05-18 13:30:11 +02:00
Alex Iribarren
24e8cdbbf6 Add CC/BCC for email notifications 2020-05-18 13:30:11 +02:00
Tomas Kopecek
ec5e7e6202 PR#2141: kojiweb: update for mod_auth_gssapi configuration
Merges #2141
https://pagure.io/koji/pull-request/2141

Fixes #2144
https://pagure.io/koji/issue/2144
2020-05-18 11:42:51 +02:00
Ken Dreyer
72b7418658 kojiweb: update for mod_auth_gssapi configuration
Delete the mod_auth_kerb configuration settings from the sample
kojiweb.conf file. Add the mod_auth_gssapi settings instead.
2020-05-18 11:42:43 +02:00
Tomas Kopecek
0dcf9f31b1 PR#2238: hub: deprecate host.getTask call
Merges #2238
https://pagure.io/koji/pull-request/2238

Fixes: #1440
https://pagure.io/koji/issue/1440
Deprecate host.getTask API call
2020-05-18 11:40:32 +02:00
Tomas Kopecek
404666d54c hub: deprecate host.getTask call
Fixes: https://pagure.io/koji/issue/1440
2020-05-18 11:40:25 +02:00
Tomas Kopecek
0d04eb3b23 PR#2224: cli: fix variable name
Merges #2224
https://pagure.io/koji/pull-request/2224

Fixes: #2210
https://pagure.io/koji/issue/2210
CLI buildinfo on image in progress fails with koji: KeyError: 'reserved_by_name'
2020-05-18 11:39:47 +02:00
Tomas Kopecek
dac7bffcf5 cli: fix variable name
Fixes: https://pagure.io/koji/issue/2210
2020-05-18 11:39:38 +02:00
Tomas Kopecek
aeff29bc7a PR#2245: cli: extend docs for --before/--after options
Merges #2245
https://pagure.io/koji/pull-request/2245

Fixes: #2077
https://pagure.io/koji/issue/2077
document expected format for `koji list-builds` "--before" and "--after" arguments
2020-05-18 11:34:44 +02:00
Tomas Kopecek
4c54ea5743 cli: extend docs for --before/--after options
Fixes: https://pagure.io/koji/issue/2077
2020-05-18 11:34:35 +02:00
Tomas Kopecek
743c3bd126 PR#2246: deprecated warning for cli option --ca as well
Merges #2246
https://pagure.io/koji/pull-request/2246

Fixes: #2182
https://pagure.io/koji/issue/2182
Properly deprecate --ca option for koji/koji-gc
2020-05-18 09:29:12 +02:00
Yu Ming Zhu
21ff8143c4 warning for both cli and config file option 2020-05-18 09:29:04 +02:00
Yu Ming Zhu
80cf5ac94a deprecated warning for cli option --ca as well
fixes: #2182
2020-05-18 09:29:04 +02:00