Commit graph

525 commits

Author SHA1 Message Date
Mike McLean
842754c2d3 datetime compatibility option for callbacks 2017-08-07 12:41:40 -04:00
Igor Gnatenko
eea35fa5a6 make is_debuginfo() one-line
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Igor Gnatenko
785e23b2c0 use if 'x' in s instead of str.find()
It's more readable.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Igor Gnatenko
7a3bf2791e handle debugsource same way as debuginfo packages
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Ville Skyttä
10bc242c32 Spelling fixes 2017-07-30 12:49:19 +03:00
Tomas Kopecek
d17157cf33 drop unused add_db_logger call and db table
Fixes: https://pagure.io/koji/issue/469
2017-07-06 11:15:00 -04:00
Tomas Kopecek
b98d93d788 drop mod_python support
Fixes: https://pagure.io/koji/issue/466
2017-07-06 14:04:19 +02:00
Yuming Zhu
e64c57e866 fix StringType and itervalues in plugin and cli 2017-06-22 11:59:28 -04:00
Mike McLean
ce6a88fa2a allow restart-hosts to work when deploying this change 2017-06-21 08:39:08 -04:00
Mike McLean
617dd468d2 avoid incorrect sleep log message 2017-06-21 08:39:08 -04:00
Mike McLean
33566487d1 fix timeout logic in wait() 2017-06-21 08:39:08 -04:00
Mike McLean
81eb30d5ce restart-hosts: new options and a timeout 2017-06-21 08:39:08 -04:00
Yuming Zhu
efc4c9bcff change run_plugin to run_callbacks and remove the modification for kojikamid.py 2017-06-20 09:32:19 -04:00
Yuming Zhu
65799703e2 push build_tag, session, scratch into callbacks 2017-06-20 09:32:19 -04:00
yzhu
db96dd63c3 enable callback plugin for builder 2017-06-20 09:32:19 -04:00
Yuming Zhu
7a3be01c44 fix fields in SCM 2017-06-20 09:32:19 -04:00
Yuming Zhu
4696e35607 use util.dslice instead 2017-06-20 09:32:19 -04:00
Yuming Zhu
cbf06f8783 remove useless import 2017-06-20 09:32:19 -04:00
Yuming Zhu
89e82d6020 only path taskinfo, scminfo, [srcdir] to plugin 2017-06-20 09:32:19 -04:00
Xibo Ning
9bf49841ad patch2 for issue 288 2017-06-20 09:32:19 -04:00
Mike McLean
94f116e898 watch-logs: fix py3 encoding issues 2017-06-16 10:16:07 +02:00
Mike McLean
bd6f5f3aa6 include plugin.py in py3 lib 2017-06-16 10:16:07 +02:00
Tomas Kopecek
df6aadec59 remove CLI plugins config options 2017-06-13 14:53:39 +02:00
Tomas Kopecek
c02eb739aa update cli tests 2017-06-13 11:42:04 +02:00
Tomas Kopecek
c15c553048 fix entry path 2017-06-13 11:42:04 +02:00
Tomas Kopecek
b5c5756118 log failed plugin
Related: https://pagure.io/koji/issue/433
2017-06-07 14:47:47 -04:00
Tomas Kopecek
9dcc0a4032 spec update 2017-06-01 09:39:25 +02:00
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
96532de199 no need to port compatrequests or old ssl code 2017-06-01 09:39:24 +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
7d5358a336 fix python2 test 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
709cf93b75 fix adler32 iterations 2017-06-01 09:39:24 +02:00
Tomas Kopecek
c0fccab2b7 correct sort() usage 2017-06-01 09:39:24 +02:00
Tomas Kopecek
d625c0aa4d remove changes not relevant to cli 2017-06-01 09:39:24 +02:00
Tomas Kopecek
b4c7433cc4 StringIO to six 2017-06-01 09:39:23 +02:00
Tomas Kopecek
cab2c7b4ea return rpm headers as string instead of bytes 2017-06-01 09:39:23 +02:00
Tomas Kopecek
f8f373e2b6 use sorted(archs) to not confuse tests 2017-06-01 09:39:23 +02:00
Tomas Kopecek
119ecf2122 propagate exception correctly to outer scope 2017-06-01 09:39:23 +02:00
Tomas Kopecek
6d5dc301d3 don't use krbV under python3 2017-06-01 09:39:23 +02:00
Tomas Kopecek
ce9b538e43 fix compatrequests 2017-06-01 09:39:23 +02:00
Tomas Kopecek
7ff24d717d fix session 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