Commit graph

5179 commits

Author SHA1 Message Date
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
Tomas Kopecek
daaed8d662 PR#2248: doc: links to copr builds
Merges #2248
https://pagure.io/koji/pull-request/2248

Fixes: #2247
https://pagure.io/koji/issue/2247
Document tkopecek's copr
2020-05-18 09:28:28 +02:00
Tomas Kopecek
932e03e652 doc: links to copr builds
Fixes: https://pagure.io/koji/issue/2247
2020-05-18 09:26:52 +02:00
Tomas Kopecek
92863f6e43 PR#2223: cli: fix un/lock-tag permission handling
Merges #2223
https://pagure.io/koji/pull-request/2223

Fixes: #2216
https://pagure.io/koji/issue/2216
editTag fails on lock
2020-05-14 16:17:25 +02:00
Tomas Kopecek
47985f76ab cli: fix un/lock-tag permission handling
Fixes: https://pagure.io/koji/issue/2216
2020-05-14 16:17:17 +02:00
Tomas Kopecek
1c70ec1186 PR#2241: hub: API docs
Merges #2241
https://pagure.io/koji/pull-request/2241

Fixes: #2108
https://pagure.io/koji/issue/2108
 Missing API documentation #1
2020-05-13 16:03:59 +02:00
Tomas Kopecek
3f109f610b hub: API docs
Fixes: https://pagure.io/koji/issue/2108
2020-05-13 16:03:52 +02:00
Tomas Kopecek
8ac1351853 PR#2242: hub: additional API docs
Merges #2242
https://pagure.io/koji/pull-request/2242

Fixes: #2109
https://pagure.io/koji/issue/2109
Missing API documentation #2
2020-05-13 16:03:18 +02:00
Tomas Kopecek
64468b688e hub: additional API docs
Fixes: https://pagure.io/koji/issue/2109
2020-05-13 16:03:10 +02:00
Tomas Kopecek
b19f352763 PR#2199: koji-gc: add systemd unit files
Merges #2199
https://pagure.io/koji/pull-request/2199

Fixes: #2198
https://pagure.io/koji/issue/2198
add systemd unit files for koji-gc
2020-05-13 13:45:38 +02:00
Ken Dreyer
25d7970c54 koji-gc: add systemd unit files 2020-05-13 13:45:30 +02:00
Tomas Kopecek
2a8505e461 PR#2157: kojira: use cached getTag for external repos
Merges #2157
https://pagure.io/koji/pull-request/2157

Fixes: #2156
https://pagure.io/koji/issue/2156
use cached getTag in kojira for external repos
2020-05-13 12:51:38 +02:00
Tomas Kopecek
1bf711347f kojira: use cached getTag for external repos
Fixes: https://pagure.io/koji/issue/2156
2020-05-13 12:51:31 +02:00
Tomas Kopecek
a2d80c5113 PR#2226: cli: deprecate --ca
Merges #2226
https://pagure.io/koji/pull-request/2226

Fixes: #2182
https://pagure.io/koji/issue/2182
Properly deprecate --ca option for koji/koji-gc
2020-05-13 10:45:44 +02:00
Tomas Kopecek
c636f56526 update comments 2020-05-13 10:45:37 +02:00
Tomas Kopecek
0e5b54f32d cli: deprecate --ca
Fixes: https://pagure.io/koji/issue/2182
2020-05-13 10:45:37 +02:00
Tomas Kopecek
6c87b18626 PR#2197: Use %autosetup (fixes #2196)
Merges #2197
https://pagure.io/koji/pull-request/2197

Fixes #2196
https://pagure.io/koji/issue/2196
2020-05-13 10:44:04 +02:00
Alex Iribarren
38144f3d22 Use %autosetup 2020-05-13 10:43:57 +02:00
Tomas Kopecek
7dd17800ec PR#2235: doc: update postgresql-setup command for el8 and Fedora
Merges #2235
https://pagure.io/koji/pull-request/2235
2020-05-13 10:04:09 +02:00
Ken Dreyer
b47f94a09a doc: update postgresql-setup command for el8 and Fedora
Fedora and RHEL 8 use a newer syntax for postgresql-setup's initdb
command. Provide the older command and the newer command in the Server
Howto documentation.

(We can remove the RHEL 7 version when we drop RHEL 7 support.)
2020-05-13 10:03:59 +02:00
Tomas Kopecek
51fbda7036 PR#2236: fix additional flake8 problems
Merges #2236
https://pagure.io/koji/pull-request/2236
2020-05-13 10:00:47 +02:00
Tomas Kopecek
64a0033150 fix additional flake8 problems 2020-05-13 09:56:36 +02:00
Tomas Kopecek
1ac3ae1fd1 PR#2233: fix flake8 errors
Merges #2233
https://pagure.io/koji/pull-request/2233
2020-05-12 15:38:43 +02:00
Tomas Kopecek
64640e4328 fix flake8 errors 2020-05-12 15:37:26 +02:00