Commit graph

120 commits

Author SHA1 Message Date
Mathieu Bridon
b3b726e968 Don't hardcode /var/lib/mock
The builder configuration allows setting this to a different folder.
2014-03-03 13:41:49 -05:00
Mike McLean
9e9549d994 new "fast upload" mechanism 2012-11-06 14:39:49 -05:00
Mike McLean
342cd274e6 avoid error messages on canceled/reassigned tasks 2012-09-12 16:09:20 -04:00
Mike McLean
dd48297c04 use encode_int whenever uploadFile rpc call is used directly 2012-05-16 15:33:02 -04:00
Mike McLean
48a8183b75 catch errors from checkHost() call 2012-04-05 16:30:06 -04:00
Ken Dreyer
4d42e1062e make SCM URL validity check more verbose
When a builder parses an SCM URL, the daemon module's _parse_url() does
a sanity check that it has properly understood all the necessary
elements of the URL string before returning them. When this check fails,
a "Invalid URL" message is raised, but this error message does not
provide information about what portion of the URL was missing.

Break this sanity check into multiple statements, so that we present a
more detailed error message to the user.
2012-03-09 16:54:25 -05:00
Mike McLean
cf508c1c62 make failed buildroot lifetime configurable 2012-01-15 12:38:37 -05:00
Mike McLean
f1682ab7b7 handle noarch filtration with $handler.checkHost() 2011-11-03 12:20:45 -04:00
Mike Bonnet
c3d4b8bdc8 handle tag/host arch mismatch for wrapperRPM tasks as well 2011-04-04 11:52:21 -04:00
Mike Bonnet
89d8055731 create BuildRoot objects for Windows builds, and track Windows build dependencies 2011-04-04 11:52:21 -04:00
Mike Bonnet
c27c9d24ef - allow plugins to modify the task result from the preTaskStateChange callback
- make closing a task more resilient to failure, because callback in closeTask() may raise exceptions
2011-01-13 15:32:46 -05:00
Mike McLean
a51ad5031f graceful mass builder restart 2010-12-03 10:41:41 -05:00
Mike McLean
efdd7bf817 gracefully ignore tasks we do not have a handler for 2010-11-23 14:31:19 -05:00
Mike McLean
55e3a719d1 avoid undefined variable in log_output exception handler 2010-11-11 11:33:08 -05:00
Mike McLean
3c2cbc741d avoid masking tracebacks in TaskManager 2010-10-20 16:19:13 -04:00
Mike McLean
94ea106518 alter SCM.checkout() to mesh with kojikamid 2010-10-20 16:19:05 -04:00
Mike McLean
b16b3304f4 replace 'heinous copy&paste' with build-time substitution 2010-10-20 16:19:05 -04:00
Mike Bonnet
f619543ac8 support specifying parameters of a buildrequires, including type, which allows builds of one type to depend on files from builds of a different type 2010-08-06 08:34:24 -04:00
Mike Bonnet
0b485cd813 reimplement scanPlugin() as a wrapper around findHandlers() 2010-07-16 11:44:53 -04: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