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
Mike McLean
4eb3f50d1b
fix arches handling in listHosts
2019-02-21 09:34:47 -05:00
Mike McLean
16b3a351cc
use QueryProcessor in get_archive_type
2019-02-21 09:34:47 -05:00
Mike McLean
d92461ffe1
PR#1271: decode Popen.communicate result under py3
...
Merges #1271
https://pagure.io/koji/pull-request/1271
Fixes : #1270
https://pagure.io/koji/issue/1270
Missing conversion from bytes to str
2019-02-20 15:30:36 -05:00
Tomas Kopecek
cbc7e85de0
fix unittest for py3
2019-02-20 15:30:01 -05:00
Tomas Kopecek
86f3c5b095
decode Popen.communicate result under py3
...
Fixes: https://pagure.io/koji/issue/1270
2019-02-20 15:30:01 -05:00
Mike McLean
ef3ba7d9dc
PR#1269: require librepo on python3
...
Merges #1269
https://pagure.io/koji/pull-request/1269
Fixes : #1268
https://pagure.io/koji/issue/1268
Require librepo on py3 builds
2019-02-20 10:09:56 -05:00
Tomas Kopecek
cebc97286a
require librepo on python3
...
Fixes: https://pagure.io/koji/issue/1268
2019-02-20 10:09:43 -05:00
Mike McLean
bb5fc240d6
PR#1222: Include CLI plugins in setup.py
...
Merges #1222
https://pagure.io/koji/pull-request/1222
Fixes : #1221
https://pagure.io/koji/issue/1221
Update PyPi to 1.16.1 + cli plugins
2019-02-20 10:02:54 -05:00
Tomas Kopecek
40ce5192dc
update setup.py to 1.17
2019-02-20 15:52:06 +01:00
Tomas Kopecek
0ff18ab08a
Include CLI plugins in setup.py
...
Fixes: https://pagure.io/koji/issue/1221
2019-02-20 15:52:06 +01:00
Mike McLean
4f45ccee17
PR#1265: py3 tests + related fixes
...
Merges #1265
https://pagure.io/koji/pull-request/1265
Fixes : #1264
https://pagure.io/koji/issue/1264
Missing py3 test support
2019-02-19 17:31:27 -05:00
Mike McLean
23320221f5
remove old commented line
2019-02-19 17:29:25 -05:00
Tomas Kopecek
8e69046d46
add PYTHONPATH for web tests
2019-02-19 17:29:25 -05:00
Tomas Kopecek
aefb2ddba7
fix py3 tests compatibility
2019-02-19 17:29:25 -05:00
Tomas Kopecek
7ad2fe348d
enable py3 testing for everything
2019-02-19 17:29:25 -05:00
Tomas Kopecek
a4d41bd078
wrapper function for writing to stdout
2019-02-19 17:29:25 -05:00
Tomas Kopecek
8e41dd6d09
remove sys.exc_clear() in web ui
...
sys.exc_clear() doesn't exist in py3. It also doesn't seem to be really
needed, so it should be safe to drop it.
2019-02-19 17:29:25 -05:00
Tomas Kopecek
051a0d5230
py3 checks file path, so it needs to be non-mocked string
2019-02-19 17:29:25 -05:00
Tomas Kopecek
99e72ead68
Fix unit tests
2019-02-19 17:29:25 -05:00
Mike McLean
5ca71d7add
PR#1220: Fix non-ascii strings in xmlrpc
...
Merges #1220
https://pagure.io/koji/pull-request/1220
Fixes : #1219
https://pagure.io/koji/issue/1219
xmlrpc doesn't encode errors correctly
Fixes : #1202
https://pagure.io/koji/issue/1202
Under python3, ClientSession does not handle sending unicode data well
2019-02-19 12:55:30 -05:00
Mike McLean
0b5a0d691f
only adjust the request encoding on py3
2019-02-19 12:47:00 -05:00
Tomas Kopecek
3e595b0244
Fix non-ascii strings in xmlrpc
...
requests library refuse to upload non-latin-1 strings, convert data to
utf-8 before passing to library.
Fixes: https://pagure.io/koji/issue/1219
2019-02-19 12:47:00 -05:00
Mike McLean
e143da902c
PR#1229: document reason strings in policies
...
Merges #1229
https://pagure.io/koji/pull-request/1229
Fixes : #1228
https://pagure.io/koji/issue/1228
Document reason string in policies
2019-02-19 12:44:39 -05:00
Tomas Kopecek
9162793ded
document reason strings in policies
...
Fixes: https://pagure.io/koji/issue/1228
2019-02-19 12:44:31 -05:00
Mike McLean
584f4cad46
PR#1263: python 3 can't index dict.keys()
...
Merges #1263
https://pagure.io/koji/pull-request/1263
Fixes : #1262
https://pagure.io/koji/issue/1262
Wrong dict.keys() indexing
2019-02-19 12:40:05 -05:00
Tomas Kopecek
8d62b5f197
python 3 can't index dict.keys()
...
Fixes: https://pagure.io/koji/issue/1262
2019-02-19 11:18:06 +01:00
Mike McLean
a34d50e46d
PR#1235: fix weak deps handling in rpminfo web page
...
Merges #1235
https://pagure.io/koji/pull-request/1235
Fixes : #1234
https://pagure.io/koji/issue/1234
Web ui rpminfo is broken due to changes in weak deps handling
2019-02-18 16:04:13 -05:00
Tomas Kopecek
d368322fb6
fix weak deps handling in rpminfo web page
...
PR #965 (commit ef998c6 ) changed way, how weak reference support is
detected in rpm. As a result, web page rpminfo is failing due to missing
variable.
Fixes: https://pagure.io/koji/issue/1234
2019-02-18 15:32:59 -05:00