Find a file
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
doc Revert "Remove now-unused SystemTypes table" 2013-03-05 17:42:16 +01:00
src Fix findBuildDependencyInQueue 2013-05-03 16:27:26 +02:00
tests Fix the tests 2013-03-29 01:34:59 +01:00
.gitignore Add some gitignores 2013-04-26 17:51:05 +02:00
bootstrap hydra: Simplify `bootstrap'. 2011-01-14 10:52:47 +00:00
configure.ac Add font for the captcha 2013-03-04 12:16:13 +01:00
COPYING hydra: revert license change 2010-03-29 14:16:46 +00:00
deps.nix Add user registration 2013-02-27 18:33:47 +01:00
hydra-module.nix hydra-module.nix: update hydra-check-space for systemd 2013-04-11 10:48:07 +02:00
INSTALL hydra: use autoconf/-make 2010-09-30 14:29:15 +00:00
Makefile.am Build documentation last 2013-01-22 12:05:47 +01:00
release.nix Fix the test 2013-04-12 01:24:16 +02:00
version hydra: fix tarball build, add pre suffix to tarballs 2010-09-30 15:02:42 +00:00