Tomas Kopecek
6f7f828f77
python-modernize -f lib2to3.fixes.fix_except
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
8e61dc7c56
python-modernize -f libmodernize.fixes.fix_classic_division
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
bcee24e50c
python-modernize -f libmodernize.fixes.fix_dict_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
Yuming Zhu
52f0dfbc1c
kojira: sanity check in pruneLocalRepos
2018-03-16 16:50:00 -04:00
Tomas Kopecek
3294301f45
blacklist tags for kojira
...
Fixes: https://pagure.io/koji/issue/694
(adjusted for conflicts with PR#797 -mikem)
2018-02-20 09:43:30 -05:00
Mike McLean
3ed392afdb
unit test for regenLoop
2018-02-13 13:48:43 -05:00
Mike McLean
7c5dde35da
a little more logging
2018-02-13 13:48:43 -05:00
Mike McLean
1ee0dd33cd
separate loggers for currency/regen threads
2018-02-13 13:48:43 -05:00
Mike McLean
01717db5df
fix typo
2018-02-13 13:48:43 -05:00
Mike McLean
c39e6a8ab2
add missing sleeptime option to list
2018-02-13 13:48:43 -05:00
Mike McLean
3283fa20ae
fix task limit check
2018-02-13 13:48:43 -05:00
Mike McLean
557dcce1b5
move regens into thread
2018-02-13 13:48:43 -05:00
Mike McLean
b376133646
simplify some exception handling
2018-02-13 13:48:43 -05:00
Mike McLean
c1d29237b0
update tag scores each pass
2018-02-13 13:48:43 -05:00
Mike McLean
473e397a7b
adjust debug output to make it less noisy
2018-02-13 13:48:43 -05:00
Mike McLean
0713d1b7d3
cleanup docstring
2018-02-13 13:48:43 -05:00
Mike McLean
1affc5c018
unused method
2018-02-13 13:48:43 -05:00
Mike McLean
7193c60538
log message
2018-02-13 13:48:43 -05:00
Mike McLean
5b3382aea3
more needed_tags cleanup
2018-02-13 13:48:43 -05:00
Mike McLean
08e1b84fed
misc fixes
2018-02-13 13:48:43 -05:00
Mike McLean
3e15abcbe8
sanity check expire age
2018-02-13 13:48:43 -05:00
Mike McLean
dd654e91f6
scoring
2018-02-13 13:48:43 -05:00
Mike McLean
76b66c4960
use new code
2018-02-13 13:48:43 -05:00
Mike McLean
42dc03b3d5
partial refactor of kojira code
2018-02-13 13:48:43 -05:00
Tomas Kopecek
8f22069fda
drop old ssl support + compatrequests
...
Koji now uses ssl via python-requests
- use_old_ssl option is removed
- koji.ssl library removed
- compatrequests dropped
Related: https://pagure.io/koji/issue/467
2018-01-03 12:47:03 +01:00
Mike McLean
900767cf4b
add krb_canon_host option to various clients
2017-10-27 15:32:25 -04:00
Mike McLean
ab547683ce
kojira: avoid calling session.repoInfo in tryDelete()
2017-10-06 17:23:46 -04:00
Mike McLean
a954172d1e
adjust krbV check in kojira to avoid redundant import
2017-10-06 17:23:45 -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
87a44ac863
debug logging
2017-03-30 09:45:59 -04:00
Mike McLean
da54026278
use correct lifetime option for deleting signed repos
2017-03-30 09:45:59 -04:00
Mike McLean
ec5d71016c
logging adjustments
2017-03-30 09:45:59 -04:00
Mike McLean
75ac8be3b7
avoid directory namespace conflicts with signed repos
2017-03-30 09:45:59 -04:00
Jay Greguske
9b504a280c
add signed flag to repo table
2017-03-30 09:37:56 -04:00
Jay Greguske
506ca54180
kojira policy for signed repos
2017-03-30 09:37:56 -04:00
Mike McLean
e72cc81518
typo
2017-03-07 08:15:20 -05: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
Tomas Kopecek
7fb7bd28a9
backward-compatible default value for kojid/kojira/koji-gc certs
2017-01-13 10:46:41 -05:00
Mike McLean
921e6303fb
allow setting more session options in kojira
2016-11-22 16:41:31 -05:00
Mike McLean
89ca42f224
use grab_session_options everywhere
2016-11-22 16:41:31 -05:00
Mike McLean
a1c8808544
ImportErrors are uncovered
2016-10-25 17:16:12 -04:00
Mike McLean
b0cdd312ec
add krb_rdns option. see https://fedorahosted.org/koji/ticket/328
2016-05-11 16:58:41 -04:00
Till Maas
ffcf1a30eb
Remove dead client CA code
...
The client CA is only needed to for authentication on the server side,
not for authentication on the client side. Therefore remove it from all
client login code.
2015-12-10 18:51:10 -05:00
Pavol Babincak
9e89ebb9a4
Ran reindent.py from cpython tools on all python scripts
...
Citing from reindent docs:
Change Python (.py) files to use 4-space indents and no hard tab
characters. Also trim excess spaces and tabs from ends of lines, and
remove empty lines at the end of files. Also ensure the last line
ends with a newline.
Citing from PEP 8:
Use 4 spaces per indentation level.
Python 2 code indented with a mixture of tabs and spaces should be
converted to using spaces exclusively.
Don't write string literals that rely on significant trailing
whitespace. Such trailing whitespace is visually indistinguishable
and some editors (or more recently, reindent.py) will trim them.
Also PyLint recommends not to have trailing whitespace on any line.
2015-05-13 16:39:53 -04:00