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
Mike Bonnet
ab53d2deb0
update copyright
2014-10-28 23:54:21 -04:00
Mike McLean
5c086d80f8
consider more timestamps before deleting old repos
2014-10-28 12:30:05 -04:00
Mike McLean
31bf2f48cb
report subset of maven tags in regen total
2014-10-22 15:00:44 -04:00
Mike McLean
43b72f4f2d
report expired time when triggering newRepo task
2014-10-22 15:00:44 -04:00
Mike McLean
4cd794b290
prioritize repo regen by time since expiration rather than time since creation
2014-10-22 15:00:44 -04:00
Mike McLean
55ac3ab50a
solve a threading issue in kojira
2014-10-17 10:47:56 -04:00
Mike McLean
ee3a25457b
don't _forget subsession when used by a thread
2014-10-16 14:50:21 -04:00
Mike McLean
8e4deac955
log out subsession if thread dies
2014-10-16 14:43:36 -04:00
Mike McLean
b86e4fec54
log exceptions in currency checker thread
2014-10-16 14:43:36 -04:00
Mike McLean
c58e36eb72
restart currency checker if it dies
2014-10-16 14:43:36 -04:00
Mike McLean
9b2baee016
remove multicall from currencyChecker in kojira
2014-10-16 14:43:36 -04:00
Mike McLean
a045d4465e
kojira: check repo currency in separate thread
2014-10-16 14:43:36 -04:00
Anthony Towns
9f5564f293
fix kojira to start new regen-repo tasks if there's room even when maven regen-repos are maxed out
2013-01-15 14:23:48 +10:00
Mike McLean
27b3340fcb
let kojira delete repos for deleted tags
2013-01-09 15:38:14 -05:00
Mike McLean
c7a3d1f67b
bring back delete_batch_size
2012-11-30 10:02:40 -05:00
Mike McLean
963bc1d512
kojira: limit maven regens
2012-11-30 10:02:40 -05:00
Mike McLean
dd15c9eacd
kojira: delete repos in the background
2012-11-27 15:48:02 -05:00
Mike McLean
a0d2499dc3
no need for kojira to track deleted repos
2012-07-12 14:06:43 -04:00
Mike McLean
ccfcad52ab
mark expired/etc repos non-current
2011-10-20 15:27:34 -04:00
Mike McLean
8b53132884
configurable sleeptime for kojira
2011-10-20 15:27:34 -04:00
Mike McLean
0599a1ed9c
kojira: make tag cache a global for better readability
2011-09-15 16:00:16 -04:00
Mike McLean
ad3e116de3
adjust kojira debug output
2011-09-15 15:36:54 -04:00
Mike McLean
70f2d948f9
count untracked newRepo tasks towards limits
2011-08-30 13:18:06 -04:00
Mike McLean
84eaf7f06e
limit non-waiting newRepo tasks
2011-08-30 13:18:06 -04:00
Mike McLean
e22c4c14ad
make kojira more efficient using multicalls and caching
2011-08-24 16:16:57 -04:00
Mike McLean
8a5eff50db
speed up kojira startup
2011-04-07 16:01:17 -04:00
Mike Bonnet
eea730300a
- enable use of a Kerberos service name other than host/ on the hub
...
- get the Kerberos realm from the client principal, rather than assuming the last two components of the domain name
2011-01-06 15:54:53 -05:00
Mike Bonnet
419a1dafe4
major refactoring of koji daemons
...
- move TaskManager, SCM, and a couple helper functions to koji.daemon
- move generic TaskHandler classes to koji.tasks
- remove use of globals in kojid and kojira
- fix a few issues revealed by pylint
2010-07-16 11:44:52 -04:00
Mike Bonnet
a455c356bb
kojira: remove early task check which prevents expired repo cleanup, we also check before creating new tasks
2010-06-17 12:03:21 -04:00
Mike Bonnet
932d143a33
kojira: remove unexpected directories
2010-06-15 15:07:38 -04:00
Mike Bonnet
0f8314563f
prevent a few missing repo directories from stalling repo deletion
2010-06-15 14:12:13 -04:00
Mike McLean
f2a6dc2f47
log regen ordering data
2010-03-12 17:55:04 -05:00
Mike McLean
a01c92b3c7
avoid unnecessary processing for empty lists
2010-02-19 12:57:24 -05:00
Mike McLean
e9050f805a
kojira config to specify which repos should have debuginfo or source rpms
2010-02-01 13:13:19 -05:00
Mike McLean
4ccd5bbfda
repo regen priority work
2010-02-01 13:13:19 -05:00
Mike McLean
512e663eb4
use custom krb5 cache in kojid and kojira. ticket#104 (patch by tjarls)
2009-09-23 15:47:05 -04:00
Mike McLean
79de9eaf3e
don't expire repos from old events while they are being created
2009-09-23 15:47:05 -04:00
Mike McLean
200db76e28
fix timestamp checks when deleting repos
2008-11-25 14:52:55 -05:00
Mike McLean
9af88e0f4b
Merge branch 'master' into shadow
2008-07-25 16:41:22 -04:00
Mike Bonnet
20ee6af836
- pass newRepo tasks the tag name instead of tag ID
...
- display the tag name for newRepo tasks in the web UI
2008-07-01 11:07:48 -04:00
Mike McLean
d412fc54d7
allow creation of repos from a specified event
2008-03-07 14:36:23 -05:00
Mike McLean
dbd2c22c79
Merge commit 'origin/master' into work
...
Conflicts:
koji/__init__.py
util/kojira
2008-02-26 20:23:12 -05:00
Mike McLean
54f79ff665
make ClientSession retries more configurable, and more robust
...
add an offline mode to the hub (ServerOffline fault)
report offline status if db connection fails
adjust retry timings for kojid and kojira
2008-02-22 11:32:27 -05:00
Mike McLean
69d841a63b
make ClientSession retries more configurable, and more robust
...
add an offline mode to the hub (ServerOffline fault)
report offline status if db connection fails
adjust retry timings for kojid and kojira
2008-02-22 11:26:27 -05:00
Mike McLean
bf5937389c
a quiet option, and an option to ignore stray repos
2008-02-21 14:02:59 -05:00
Mike Bonnet
9456ad95da
don't throw an exception if a tag is renamed or deleted
2008-02-05 23:11:50 -05:00
Mike Bonnet
6fe493f7c3
- actually use the logfile specified in kojira.conf
...
- don't make kojira also log to syslog
2007-09-26 13:55:18 -04:00