Commit graph

4004 commits

Author SHA1 Message Date
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
Brendan Reilly
b92824cca0 Added volume id as argument to livemedia task 2019-02-21 16:37:35 -05:00
Mike McLean
273c18c9d1 PR#1070: consolidate access to rpm headers
Merges #1070
https://pagure.io/koji/pull-request/1070

Fixes: #1069
https://pagure.io/koji/issue/1069
Consolidate usage of rpm headers
2019-02-21 11:24:38 -05:00
Mike McLean
daa58d4f9d kojivmd, too 2019-02-21 11:22:34 -05:00
Tomas Kopecek
e010e9afdc consolidate access to rpm headers
Fixes: https://pagure.io/koji/issue/1069
2019-02-21 11:22:34 -05:00
Mike McLean
bdec8c7399 PR#1274: cve-2018-1002161
Merges #1274
https://pagure.io/koji/pull-request/1274

Fixes: #1183
https://pagure.io/koji/issue/1183
fix query parameter processing in multiple calls
2019-02-21 09:39:54 -05:00
Mike McLean
f88ebd494c pull in 1.16.1 release notes for completeness 2019-02-21 09:34:47 -05:00
Mike McLean
f6c911fb63 1.16.2 release notes 2019-02-21 09:34:47 -05:00
Mike McLean
52cfc578b6 update cve index 2019-02-21 09:34:47 -05:00
Mike McLean
158e668318 CVE-2018-1002161 FAQ 2019-02-21 09:34:47 -05:00
Mike McLean
5671aba4d4 CVE-2018-1002161 announcement text 2019-02-21 09:34:47 -05:00
Mike McLean
208c6433d7 fix unit tests for listHosts 2019-02-21 09:34:47 -05:00
Mike McLean
f6f2984e18 fix unit test for list_archives 2019-02-21 09:34:47 -05:00
Mike McLean
c41a7a52a5 fix typeInfo handling in list_archives 2019-02-21 09:34:47 -05:00