Commit graph

122 commits

Author SHA1 Message Date
Dan Horák
f1647dc554 allow setting build priority
When building for multiple tags it could be useful to set different priorities
for the tasks, eg. rawhide builds will be lower prio than branched builds.
2013-12-09 11:52:56 -06:00
Dan Horák
a1096fb878 fix format when printing rpms without buildroot 2013-12-09 11:52:06 -06:00
Anthony Messina
7d1f70703d add support for the krbservice and email_domain options to koji-gc 2013-09-18 15:20:08 -04:00
Mike Bonnet
44a2f90a17 koji-gc: if the tag has the maven_include_all=True, calculate the order for Maven builds with respect to name-version rather than just package name 2013-06-25 15:21:47 -04:00
Mike Bonnet
b0c5e1ec92 koji-gc: move sorting and filtering into the database 2013-06-25 15:16:16 -04:00
Dan Horák
727df9b680 enable prefer-new functionality for single builds
When a tag is set for a single build we can search for a replacement of
a missing build.
2013-02-20 07:13:28 -06:00
Dan Horák
61d7790601 accept tag also when doing a single build
A single build with the prefer-new option will be possible when an information
about the tag will be provided.
2013-02-20 07:13:28 -06:00
Dan Horák
cdfae9fe86 don't search for the latest build in the top-level run of scanBuild 2013-02-20 07:13:28 -06:00
Dan Horák
92864c3805 use the closest newer build not the latest
Recently when a build is missing, the prefer_new option is set and a newer build exists,
the latest build is included in the buildroot. We should rather be using a closest newer
build if it exists, the latest one can be too new, with different dependencies etc.
2013-02-20 07:13:28 -06: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
Dennis Gilmore
fa4f5b0e58 fix up white space issue 2012-11-18 19:43:00 -06:00
Dan Horák
7501b848fb let koji-shadow finish when in prefer-new mode
When koji-shadow is run in the prefer-new mode the number of missing builds can
be non-zero. Let koji-shadow finish when there are no pending builds in this case.
2012-11-18 19:41:13 -06:00
Dan Horák
34977e301c use glob matching for items in ignorelist 2012-11-18 19:41:13 -06:00
Dan Horák
f350b56693 merge the ignorelist from a script generated part and manually maintained part
On secondary arches it can be usef to maintain the list of packages that are
built in 2 parts - one is script generated and based on values of ExclusiveArch
and ExcludeArch tags in source rpms and the second is maintained manually that
should be skipped for some reason (eg. not yet decided whether to fix them or
add ExcludeArch/ExclusiveArch)
2012-11-18 19:41:13 -06:00
Dan Horák
5df0317d4e don't replace existing build when running with prefer-new
Only try to replace a build with newer one when the required one is missing.
It also means the buildroot will be closer to the one in primary.
2012-11-18 19:41:13 -06:00
Dan Horák
f54447c34b lower the priority for koji-shadow submitted builds
Lowering the priority for koji-shadow submitted builds means that user submitted
build don't have to wait until koji-shadows queue is empty, also notifications
are sent earlier when the queue is full.
2012-11-18 19:40:56 -06:00
Mike McLean
a0d2499dc3 no need for kojira to track deleted repos 2012-07-12 14:06:43 -04:00
Mike McLean
54c0ed8438 Support wsgi in koji-hub and koji-web
- mod_python still supported, but deprecated
 - mod_wsgi is the default
 - koji-web now configured via web.conf
 - new wsgi-friendly publisher for koji-web
 - koji-web now has logging
2012-05-10 17:27:40 -04:00
Dennis Gilmore
40c6c2c302 dont error out on a tag failure. 2012-02-24 08:08:51 -06:00
Ken Dreyer
332a6d5811 better descriptions for koji-gc SSL options
The current descriptions for koji-gc's SSL options appear to be the
result of copy & paste. Update the description for each individual SSL
option to match its functionality.
2011-11-28 16:14:10 -05: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 McLean
2be7751ec3 volume test for koji-gc, plus some test cleanup 2011-03-18 13:57:38 -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 McLean
e68bbb499f make koji-gc --test show better data 2010-11-11 11:33:08 -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 McLean
1e3a7f0fef Merge commit 'origin/master' into mead-tmp
Conflicts:
	builder/kojid

Resolved conflict between make_sources option and source_cmd option
2010-06-18 17:28:37 -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
c742272ac6 Merge commit 'f90f6b856d' into mead
Conflicts:
	cli/koji
	docs/schema.sql
	hub/kojihub.py
	koji.spec
	www/kojiweb/index.py
	www/kojiweb/taskinfo.chtml
2010-04-08 17:12:49 -04:00
Mike McLean
f2a6dc2f47 log regen ordering data 2010-03-12 17:55:04 -05:00
Mike Bonnet
ea6c283ba5 fix Kerberos authentication for modern python: e.message is deprecated, and e.err_code no longer exists 2010-03-09 13:46:54 -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 Bonnet
3cba6640bb merge master branch onto the mead branch 2010-01-20 16:48:42 -05:00
Mike McLean
a2f7c9c252 fix a spelling error (rhbz 529208) 2009-12-07 12:32:37 -05:00
Mike Bonnet
c08239177a Merge branch 'master' into mead 2009-11-11 11:22:44 -05:00
Mike Bonnet
d620309f5e merge koji-1.3.2 changes onto the mead branch 2009-11-10 15:34:39 -05:00