Commit graph

4017 commits

Author SHA1 Message Date
Mike McLean
bc0f04dfd9 migration doc for 1.17 2019-03-04 16:56:58 -05:00
Mike McLean
40da6644d6 fix date 2019-03-04 16:56:58 -05:00
Mike McLean
3fbdcac049 also bump version in docs 2019-03-04 16:56:58 -05:00
Mike McLean
5449f0bb38 bump release to 1.17.0 2019-03-04 16:56:58 -05:00
Mike McLean
7fae45571b PR#1320: also remove nonprintable changelog chars in py3
Merges #1320
https://pagure.io/koji/pull-request/1320

Fixes: #1319
https://pagure.io/koji/issue/1319
python3 hub errors on changelogs with non-printable chars
2019-03-04 16:53:23 -05:00
Mike McLean
a90d05fb47 also remove nonprintable changelog chars in py3
Fixes: https://pagure.io/koji/issue/1319
2019-03-04 11:22:32 -05:00
Mike McLean
2250daba62 PR#1293: fix dict encoding in py3
Merges #1293
https://pagure.io/koji/pull-request/1293

Fixes: #1282
https://pagure.io/koji/issue/1282
python3 webui shows error instead of buildinfo
2019-03-04 10:14:06 -05:00
Mike McLean
3a10134e37 honor remove_nonprintable in fixEncodingRecurse under py3 2019-03-04 10:13:51 -05:00
Tomas Kopecek
eeeeb3ab78 skip fixEncoding for py3 2019-03-04 10:13:51 -05:00
Tomas Kopecek
613d1587a6 fix typo 2019-03-04 10:13:51 -05:00
Tomas Kopecek
a209f17401 convert xmlrpc.Binary to string before fixEncoding
Fixes: https://pagure.io/koji/issue/1282
2019-03-04 10:13:51 -05:00
Tomas Kopecek
4372ecd89b expect string keys in fixEncodingRecurse 2019-03-04 10:13:51 -05:00
Mike McLean
ee51a835dd PR#1309: Fix binary output in cli in py3
Merges #1309
https://pagure.io/koji/pull-request/1309

Fixes: #1308
https://pagure.io/koji/issue/1308
runroot returns TypeError in python3
2019-03-04 09:57:27 -05:00
Mike McLean
9bcc710c7e drop unused import in unit test 2019-03-04 09:57:15 -05:00
Mike McLean
89b6c01c47 fix unit test for runroot cli plugin 2019-03-04 09:57:15 -05:00
Mike McLean
2b5f953430 drop unused import in runroot plugin 2019-03-04 09:57:15 -05:00
Mike McLean
a55ea5c2d6 drop unused write_to_stdout function
this was added after 1.16 and no longer used, so no point in keeping it
2019-03-04 09:57:15 -05:00
Mike McLean
b4b6e2e6cc simpler function for dumping bytes to stdout 2019-03-04 09:57:15 -05:00
Mike McLean
0c2f0ea7c5 PR#1317: fix deps for utils/vm subpackages on py3
Merges #1317
https://pagure.io/koji/pull-request/1317

Fixes: #1316
https://pagure.io/koji/issue/1316
utils and vm subpackages have py2 deps when built for py3
2019-03-04 09:37:19 -05:00
Mike McLean
24fff62eb2 fix deps for utils/vm subpackages on py3 2019-03-04 09:37:08 -05:00
Mike McLean
d91d2290c4 PR#1315: fix checksum validation in CG_Importer
Merges #1315
https://pagure.io/koji/pull-request/1315

Fixes: #1314
https://pagure.io/koji/issue/1314
import-cg fails with python3 hub
2019-03-04 09:35:31 -05:00
Mike McLean
7f92fb4aef fix checksum validation in CG_Importer
Fixes: #1314
2019-03-04 09:35:10 -05:00
Mike McLean
05f94cbe7f PR#1313: Fix encoding issues with base64 data
Merges #1313
https://pagure.io/koji/pull-request/1313

Fixes: #1312
https://pagure.io/koji/issue/1312
non-fast uploads fail under python3

Fixes: #1311
https://pagure.io/koji/issue/1311
py3: incremental_upload fails if fast_upload is off

Fixes: #1310
https://pagure.io/koji/issue/1310
failure importing rpm signatures under python3
2019-03-04 09:29:05 -05:00
Mike McLean
b1ea2009f7 extend unit test a bit 2019-03-04 09:28:39 -05:00
Mike McLean
5d9c2f72b5 unit test for decode_bytes 2019-03-04 09:28:39 -05:00
Mike McLean
01b0a41639 fix file open mode 2019-03-04 09:28:39 -05:00
Mike McLean
3b86d7f247 fix imports 2019-03-04 09:28:39 -05:00
Mike McLean
acf5c73ee2 use base64.b64decode 2019-03-04 09:28:39 -05:00
Mike McLean
24f9cb60ba use base64encode most places 2019-03-04 09:28:39 -05:00
Mike McLean
71bc4106b4 new base64 helper functions 2019-03-04 09:28:39 -05:00
Mike McLean
c41a06b88f PR#1307: python3-koji-hub requires python3-psycopg2
Merges #1307
https://pagure.io/koji/pull-request/1307

Fixes: #1306
https://pagure.io/koji/issue/1306
Missing python3-psycopg2 in dependencies
2019-03-02 16:56:39 -05:00
Mike McLean
3a1e9a9328 PR#1290: downloadTaskOutput fix for py3
Merges #1290
https://pagure.io/koji/pull-request/1290

Fixes: #1289
https://pagure.io/koji/issue/1289
downloadTaskOutput doesn't work on py3 hub
2019-02-28 09:28:31 -05:00
Mike McLean
e0ba3d148d preserve downloadTaskOutput return type 2019-02-28 09:27:55 -05:00
Tomas Kopecek
4222b097c1 downloadTaskOutput fix for py3
Fixes: https://pagure.io/koji/issue/1289
2019-02-28 09:27:55 -05:00
Mike McLean
e0bfeae513 PR#1300: require correct mod_wsgi
Merges #1300
https://pagure.io/koji/pull-request/1300

Fixes: #1299
https://pagure.io/koji/issue/1299
python3-koji-hub requires wrong mod_wsgi
2019-02-28 09:19:40 -05:00
Mike McLean
ef3a52d05f require correct mod_wsgi 2019-02-28 09:19:33 -05:00
Mike McLean
2636686a80 PR#1301: use greetings list from lib
Merges #1301
https://pagure.io/koji/pull-request/1301

Fixes: #1295
https://pagure.io/koji/issue/1295
python3 koji-web fails on UnicodeDecodeError compiling template
2019-02-28 09:17:04 -05:00
Yu Ming Zhu
c2f87ab07b python3-koji-hub requires python3-psycopg2 2019-02-28 12:15:55 +00:00
Mike McLean
0d05c1c304 use greetings list from lib 2019-02-27 12:39:36 -05:00
Mike McLean
c491480c96 PR#1284: replace urrlib.quote with six.moves
Merges #1284
https://pagure.io/koji/pull-request/1284

Fixes: #1283
https://pagure.io/koji/issue/1283
py3 web uses urllib.quote
2019-02-26 22:42:30 -05:00
Tomas Kopecek
23bd0fe45a replace urrlib.quote with six.moves
Some web templates still uses old library, replace with py3-compatible
one.

Fixes: https://pagure.io/koji/issue/1283
2019-02-26 22:42:25 -05:00
Mike McLean
b905520db2 PR#1286: correctly escape license in web ui
Merges #1286
https://pagure.io/koji/pull-request/1286

Fixes: #1285
https://pagure.io/koji/issue/1285
[py3] rpminfo page shows binary string instead of unicode for license
2019-02-26 22:04:35 -05:00
Tomas Kopecek
53f3109fba correctly escape license in web ui
Fixes: https://pagure.io/koji/issue/1285
2019-02-26 22:04:15 -05:00
Mike McLean
cb6e42b4f0 PR#1292: define _sortByKeyFuncNoneGreatest as staticmethod
Merges #1292
https://pagure.io/koji/pull-request/1292

Fixes: #1291
https://pagure.io/koji/issue/1291
_sortByKeyFuncNoneGreatest is broken
2019-02-26 15:35:24 -05:00
Tomas Kopecek
ed155569ed define _sortByKeyFuncNoneGreatest as staticmethod
Fixes: https://pagure.io/koji/issue/1291
2019-02-26 13:14:18 +01:00
Mike McLean
4f450593d2 PR#1227: Added volume id as argument to livemedia and livecd tasks
Merges #1227
https://pagure.io/koji/pull-request/1227

Fixes: #833
https://pagure.io/koji/issue/833
Improve volume id substitutions
2019-02-21 16:38:30 -05:00
Mike McLean
f7f75d20ee error if volume id is too long 2019-02-21 16:37:35 -05:00
Mike McLean
23b5a40c42 fix references to logger instance 2019-02-21 16:37:35 -05:00
Brendan Reilly
deb738fc1d Added warnings and failures for too long volid 2019-02-21 16:37:35 -05:00
Brendan Reilly
ffdfb45e1c Updated tests for volume id option 2019-02-21 16:37:35 -05:00