Mike McLean
0661e0e3eb
Work around coverage bug in py3 on Fedora
2017-06-01 09:39:25 +02:00
Tomas Kopecek
95f012b27d
fixEncoding tests
2017-06-01 09:39:25 +02:00
Mike McLean
b2bfc28c86
don't warn at load time if krbV module is missing
2017-06-01 09:39:25 +02:00
Mike McLean
560dddd22f
use_old_ssl is only supported on python2
2017-06-01 09:39:25 +02:00
Mike McLean
08d7abd2ab
use bytes for finding \0 in file data
2017-06-01 09:39:24 +02:00
Mike McLean
ff6fc4aa77
header magic is bytes
2017-06-01 09:39:24 +02:00
Mike McLean
a47eb50a34
__ord -> _ord
2017-06-01 09:39:24 +02:00
Tomas Kopecek
e9a536ae07
str/bytes in rpm headers
2017-06-01 09:39:24 +02:00
Tomas Kopecek
ed6800d613
bytes in rpm headers
2017-06-01 09:39:24 +02:00
Tomas Kopecek
c0fccab2b7
correct sort() usage
2017-06-01 09:39:24 +02:00
Tomas Kopecek
cab2c7b4ea
return rpm headers as string instead of bytes
2017-06-01 09:39:23 +02:00
Tomas Kopecek
7d277a8ad5
urllib changes
2017-06-01 09:39:23 +02:00
Tomas Kopecek
0c0cf92b4c
PythonImportError
2017-06-01 09:39:23 +02:00
Tomas Kopecek
2c8a4d332e
python-modernize -f libmodernize.fixes.fix_int_long_tuple
2017-06-01 09:39:23 +02:00
Tomas Kopecek
a4a1536a03
python-modernize -f libmodernize.fixes.fix_file
2017-06-01 09:39:22 +02:00
Tomas Kopecek
68bf19c739
python-modernize -f libmodernize.fixes.fix_dict_six
2017-06-01 09:39:22 +02:00
Tomas Kopecek
6a0a5a232b
python-modernize -f libmodernize.fixes.fix_basestring
2017-06-01 09:39:22 +02:00
Tomas Kopecek
1220008f8f
python-modernize -f lib2to3.fixes.fix_except
2017-06-01 09:39:22 +02:00
Tomas Kopecek
b1da150c01
python-modernize -f libmodernize.fixes.fix_imports_six
2017-06-01 09:39:21 +02:00
Tomas Kopecek
73356b50e5
fix relative imports
2017-06-01 09:39:21 +02:00
Tomas Kopecek
c579e36489
python-modernize -f libmodernize.fixes.fix_unicode_type
2017-06-01 09:39:21 +02:00
Tomas Kopecek
0eaf3349c4
python-modernize -f libmodernize.fixes.fix_zip
2017-06-01 09:39:21 +02:00
Tomas Kopecek
7f946b37be
python-modernize -f libmodernize.fixes.fix_xrange_six
2017-06-01 09:39:21 +02:00
Tomas Kopecek
a54397adc6
propagate parameters recursively
2017-05-17 13:11:22 -04:00
Tomas Kopecek
eaae5b3212
don't remove nonprintable characters by default
2017-05-17 13:11:22 -04:00
Tomas Kopecek
a21d4bb7e3
less restrictive filter
2017-05-17 13:11:22 -04:00
Tomas Kopecek
993b2660da
remove non-printable characters in fixEncoding
...
Some real-world changelogs contains non-printable characters or invalid
unicode ones. xmlrpc fails on such strings, so we sanitize changelog
strings before passing it to client.
Related: https://pagure.io/koji/issue/349
2017-05-17 13:11:22 -04:00
Tomas Kopecek
6b18dff97a
remove release from User-Agent header
...
Related: https://pagure.io/koji/issue/392
It's unnecessary detail here, let's leave it as major version value only
for now.
2017-04-25 14:30:23 +02:00
Tomas Kopecek
c769477d94
raise error on non-existing profile
2017-04-21 16:34:10 -04:00
Mike McLean
76dc071fe8
more tests
2017-04-21 16:20:24 -04:00
Mike McLean
a4131e354c
apply get_header_field enhancements from kobo and update unit test
2017-04-21 16:20:24 -04:00
Mike McLean
0189cf98ea
typo
2017-04-05 12:29:23 -04:00
Mike McLean
649a6e710f
for volume compat fixes
2017-04-04 21:09:24 -04:00
Mike McLean
5231105478
only pass volume opt to downloadTaskOutput if needed
...
Fixes #368
2017-04-04 17:50:55 -04:00
Mike McLean
8346a60976
more renaming
2017-03-30 09:47:20 -04:00
Mike McLean
c86b5c3ac0
first stab at renaming signed repos to dist repos
...
sed -i -e 's/signed\(.\?[Rr]epo\)/dist\1/g'
sed -i -e 's/Signed\(.\?[Rr]epo\)/Dist\1/g'
2017-03-30 09:47:20 -04:00
Mike McLean
75ac8be3b7
avoid directory namespace conflicts with signed repos
2017-03-30 09:45:59 -04:00
Mike McLean
6a6f79dec3
remove incorrect singleton syntax in _taskLabel()
2017-03-30 09:37:56 -04:00
Jay Greguske
4f4c7e3d4e
implement multilib
2017-03-30 09:37:56 -04:00
Jay Greguske
f1a45e0024
signed-repo kojiweb tweaks
2017-03-30 09:37:56 -04:00
Jay Greguske
76d8caf33b
initial builder implementation for signed-repos
2017-03-30 09:37:56 -04:00
Jay Greguske
53c379b6f8
initial hub implementation for signed-repos
2017-03-30 09:37:56 -04:00
Tomas Kopecek
4ef0bc2051
use only relative paths + volumes in downloadTaskOutput
2017-03-28 11:46:47 +02:00
Mike McLean
8a08a3e796
volume opt for checkUpload
2017-03-28 11:46:47 +02:00
Tomas Kopecek
8868d184cb
propagate volume through hub
2017-03-28 11:46:47 +02:00
Tomas Kopecek
323987e376
Allow uploading files to non-default volumes
2017-03-28 11:46:47 +02:00
Mike McLean
1b46d0ad2e
debug/debug_xmlrpc should default to False
2017-03-20 15:34:12 -04:00
Chenxiong Qi
085711cd33
Add debug and debug_xmlrpc to default koji config
...
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2017-03-20 15:34:12 -04:00
Tomas Kopecek
93034f64f3
idioms
2017-03-17 11:35:53 -04:00
Tomas Kopecek
cf214de792
remove sys.exc_type, exc_value, exc_traceback
2017-03-17 11:35:53 -04:00