hydra/src/script
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
..
hydra-build Put build status in front of the notification mail subject 2013-04-02 10:40:50 +02:00
hydra-control Remove trailing whitespace 2013-01-22 14:41:02 +01:00
hydra-create Rename hydra_*.pl to hydra-* 2011-11-30 18:14:48 +01:00
hydra-eval-guile-jobs.in hydra-eval-guile-jobs: Use `--fresh-auto-compile'. 2013-04-13 18:59:42 +02:00
hydra-evaluator Allow a per-jobset check interval 2013-05-02 17:55:47 +02:00
hydra-init hydra-init: show SQL commands being executed 2012-04-15 18:34:32 +02:00
hydra-queue-runner Fix findBuildDependencyInQueue 2013-05-03 16:27:26 +02:00
hydra-server Rename hydra_*.pl to hydra-* 2011-11-30 18:14:48 +01:00
hydra-update-gc-roots Add multiple output support 2013-02-13 16:49:28 +00:00
Makefile.am Capture the path to `guile', when available. 2012-10-17 16:25:49 +02:00
nix-prefetch-bzr add nix-prefetch- scripts for now, were externals in svn 2011-10-28 22:12:51 -04:00
nix-prefetch-git I should sleep... grmbl 2012-04-26 09:37:48 +02:00
nix-prefetch-hg remove .hg-archival.txt in nix-prefetch-hg 2011-11-03 19:44:05 -04:00