Commit graph

93 commits

Author SHA1 Message Date
Tomas Kopecek
d75a3f3b52 remove remaining options 2020-07-24 15:08:47 -04:00
Tomas Kopecek
f8419e3626 remove deprecated krbV support
Fixes: https://pagure.io/koji/issue/1991
2020-07-24 15:08:47 -04:00
Yuming Zhu
cf34706f04 use Exception instead of BaseException for bare expection 2020-03-03 21:38:22 +08:00
Yuming Zhu
c5db34a8e1 flake8: apply E501 with max-line-length=99 2020-03-03 21:38:22 +08:00
Yuming Zhu
f1ba6cefd7 flake8: apply all rest E7 rules 2020-03-03 21:38:22 +08:00
Yuming Zhu
6ed30954b2 flake8: apply E71x rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
6dd77e0fa4 flake8: apply E502 rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
0f727a2ab4 flake8: apply E3 rules 2020-03-03 21:38:22 +08:00
Yuming Zhu
05340b146b flake8: apply E2 rules except E266 2020-03-03 21:38:21 +08:00
Yuming Zhu
ce1f9928af flake8: apply E1 rules 2020-03-03 21:38:21 +08:00
Yuming Zhu
450f9249cd flake8: apply E265 for util/koji-* 2020-03-03 21:35:08 +08:00
Yuming Zhu
0a0ee577ec flake8: apply F rules for koji-shadow 2020-03-03 21:35:08 +08:00
Tomas Kopecek
638f6cc6f2 replace xmlrpc_client exception with requests
It is broken in startup function for kojid and kojivmd from the
introduction of requests.

Fixes: https://pagure.io/koji/issue/1914
2020-02-21 12:40:42 +01:00
Yu Ming Zhu
a00df18546 sort imports in util 2019-12-12 11:00:55 +00:00
Yu Ming Zhu
4c1928f377 extract read_config_files util for config parsing 2019-10-15 09:14:16 +02:00
Yu Ming Zhu
2034695e88 add an option to set server realm for all clients 2019-10-10 16:37:56 +02:00
Tomas Kopecek
70968aba33 Remove python2.4 OptionParse fix
Fixes: https://pagure.io/koji/issue/1341
2019-03-20 16:09:44 -04:00
Tomas Kopecek
17db100db5 few sort speedups
Fixes: https://pagure.io/koji/issue/963
2018-12-04 00:05:26 -05:00
Tomas Kopecek
f464160ac6 fix tuple expansion in args 2018-07-11 17:37:40 -04:00
Tomas Kopecek
d9ac4ed85c python-modernize -f lib2to3.fixes.fix_numliterals 2018-07-11 17:37:40 -04:00
Tomas Kopecek
6f7f828f77 python-modernize -f lib2to3.fixes.fix_except 2018-07-11 17:37:40 -04:00
Tomas Kopecek
9b3cf26dc2 fix sort(l) vs l.sort() typo 2018-07-11 17:37:40 -04:00
Tomas Kopecek
242e143b97 fix double import typo 2018-07-11 17:37:40 -04:00
Tomas Kopecek
caae1a0a8b workaround unnecessary list conversions 2018-07-11 17:37:40 -04:00
Tomas Kopecek
be535c2854 python-modernize -f libmodernize.fixes.fix_imports_six 2018-07-11 17:37:39 -04:00
Tomas Kopecek
d92fa1fa9c python-modernize -f libmodernize.fixes.fix_file 2018-07-11 17:37:39 -04:00
Tomas Kopecek
bcee24e50c python-modernize -f libmodernize.fixes.fix_dict_six 2018-07-11 17:37:39 -04:00
Tomas Kopecek
b96092334d python-modernize -f libmodernize.fixes.fix_xrange_six 2018-07-11 17:37:39 -04:00
Franz Chih-Ping Hsieh
f356ac4f17 force using python2 to run script
Fixes #945
2018-05-24 00:01:30 -04:00
Mike McLean
4c07073403 simplify check for krbV module 2018-04-02 16:38:27 -04:00
Mike McLean
91b306e108 Avoid failing at import time if krbV module is missing
Several parts of Koji already handled this absence gracefully. This change
extends that behavior to all places where krbV is imported.
2018-04-02 16:38:27 -04:00
Yuming Zhu
107eb48ceb remove unused import in koji-shadow 2017-12-19 12:34:55 -05:00
Mike McLean
900767cf4b add krb_canon_host option to various clients 2017-10-27 15:32:25 -04:00
Ville Skyttä
10bc242c32 Spelling fixes 2017-07-30 12:49:19 +03:00
Tomas Kopecek
cc9fff9840 remove has_key (not working in python3) 2017-03-07 08:15:20 -05:00
Tomas Kopecek
1494301465 use new exception syntax 2017-03-02 10:52:30 -05:00
Tomas Kopecek
c143d0b88f print statement -> print function 2017-02-28 10:55:56 -05:00
Mike McLean
c41881a8b6 preserve old option for compatibility 2017-01-26 16:39:22 +01:00
Dan Horák
552e79d98f koji-shadow: fix log() invocation 2017-01-26 16:39:22 +01:00
Dan Horák
4b2085e7f7 koji-shadow: remove authca, it's not used for ssl_login any more 2017-01-26 16:39:22 +01:00
Dan Horák
785b567abe koji-shadow: allow use without certs 2017-01-26 16:39:22 +01:00
Patrick Uiterwijk
de89ddcd34 Add krb_rdns to koji-shadow
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-19 12:25:14 -05:00
Mike McLean
89ca42f224 use grab_session_options everywhere 2016-11-22 16:41:31 -05:00
Karsten Hopp
f86dd31077 back out top broken changes 2016-10-26 13:57:49 -04:00
Karsten Hopp
ca15aff82b add --logfile parameter, no behaviour changes if omitted 2016-10-26 13:57:49 -04:00
Mike McLean
b4be256abd no coverage for unreached code 2016-10-25 17:16:12 -04:00
Mike McLean
a1c8808544 ImportErrors are uncovered 2016-10-25 17:16:12 -04:00
Dan Horák
9ecc283d4e koji-shadow: use /var/tmp for work files 2016-03-21 15:24:19 -04:00
Dan Horák
3d06f7a805 koji-shadow: use workpath consistently 2016-03-21 15:24:19 -04:00
Dan Horák
880a57730f copy extra information for a tag cloned from primary koji 2016-03-21 15:18:01 -04:00