Commit graph

191 commits

Author SHA1 Message Date
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
Mike McLean
433dba5ff6 order creation of newRepo tasks by age of existing repo 2007-07-24 16:48:27 -04:00
Michael McLean
581a857182 prevent large batches of repo deletes from holding up regens 2007-04-04 14:14:31 -04:00
Mike Bonnet
54cd667959 copy opts in ClientSession.__init__() because we modify it in setSession()
undo state changes by ssl_login() in setSession(None)
remove some extraneous session options
2007-03-22 18:27:46 -04:00
Michael Bonnet
20ca1a8f84 - don't try to guess what kind of authentication we want to use in ClientSession.login() - allow clients to call login() (for user/password), krb_login() (for Kerberos), or ssl_login() (for client certificates)
- update all clients to call ssl_login() directly when appropriate
- rename references to NotAllowed -> ActionNotAllowed, because NotAllowed had already been renamed
- raise an error in CreateSSLContext instead of immediately exiting
2007-03-16 21:39:02 -04:00
Michael Bonnet
3976fe331f enable SSL client certificate authentication for kojira 2007-03-16 21:39:01 -04:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00