hydra/src
Eelco Dolstra 906b129f6a Fix findBuildDependencyInQueue
Previously this function didn't actually have a lot of effect.  If a
build A had a dependency B, Hydra would start B first.  But on the
next scan through the queue, it would start A anyway, because of the
"busy => 0" restriction.

Now the queue runner won't start a build if a dependency is already
running.  (This is not necessarily optimal, since the build may have
other dependencies that don't correspond to a build in the queue but
could run.  One day we'll start all Hydra builds in parallel...)

Also, for performance, use computeFSClosure instead of "nix-store
-qR".  And don't bother with topological sorting because it didn't
have an effect anyway since the database returns dependencies in
arbitrary order.
2013-05-03 16:27:26 +02:00
..
c hydra-eval-jobs: Use function argument default values 2013-03-29 01:14:24 +01:00
lib Allow a per-jobset check interval 2013-05-02 17:55:47 +02:00
root Restore the links to the contents pages 2013-05-03 14:13:14 +02:00
script Fix findBuildDependencyInQueue 2013-05-03 16:27:26 +02:00
sql Allow a per-jobset check interval 2013-05-02 17:55:47 +02:00
ttf Add font for the captcha 2013-03-04 12:16:13 +01:00
xsl Hack to render empty lines in logs correctly 2013-04-02 23:40:19 +02:00
Makefile.am Add font for the captcha 2013-03-04 12:16:13 +01:00
Makefile.PL * Move everything up one directory. 2009-03-05 13:41:57 +00:00