Process Nix API changes
[?]
Feb 11, 2016, 2:59 PM
DKJFD6JNNK5LJMRGQABMJZKMFZLGY3ADKJWF6J4BBHEUPY3NB67QCDependencies
- [2]
D6VR5FYG* Fix hydra_eval_jobs. - [3]
H7SZRHUBUse nix::willBuildLocally() - [4]
RND7XFNHgetQueuedBuilds(): Periodically stop to handle priority bumps - [5]
3PNG7NIBRemove trailing whitespace - [6]
4LWGZL33 - [7]
7GKAIP3VFix build and handling of string inputs starting with a dash - [8]
5AIYUMTBBasic remote building - [9]
CNLNT3T4Allow only 1 thread to send a closure to a given machine at the same time - [10]
77VF5TC6* For ease of use during debugging, don't require --gc-roots-dir. - [11]
OG3Z3QGCNamespace cleanup - [12]
A2GL5FOZMoar stats - [13]
24BMQDZAStart of single-process hydra-queue-runner - [14]
TPNHTE5VRemove obsolete Builds columns and provide accurate "Running builds" - [15]
N4IROACVMove buildRemote() into State - [16]
AYMPPH7GDon't write one character at a time, it's inefficient - [17]
7VQ4ALFYUpdate "make check" for the new queue runner - [18]
ACBS7C6Qhydra-queue-runner: Detect changes to the scheduling shares - [19]
AEFNBIIW* Merge the GC branch. - [20]
MB3TISH2Rate-limit the number of threads copying closures at the same time - [21]
HJOEIMLRRefactor - [22]
MIC2O6ZFUse evalFile() instead of parseExprFromFile() - [23]
YHP5DSOOImprove parsing of hydra-build-products - [24]
WE5Q2NVIAllow build to be bumped to the front of the queue via the web interface - [25]
AEKIREIH* Updated hydra_eval_jobs for the new evaluator. - [26]
EJJCY263Account steps with preferLocalBuild as a separate system type - [27]
PQFOMNTLhydra-queue-runner: More stats - [28]
T5BIOVJEAdd support for tracking custom metrics - [29]
UYUVQWXQFix hydra-queue-runner --build-one - [30]
YR2IM6Y5Temporarily disable machines after a connection failure - [31]
NAYQT2GThydra-queue-runner: Use cmdBuildDerivation - [32]
WMWBCZPR - [33]
4N5APGRG* Start of a helper tool to evaluate job expressions efficiently. - [34]
MHVIT4JYSplit hydra-queue-runner.cc more - [35]
FHXU6346hydra-eval-jobs: Pass all inputs as 'inputs' arg. - [36]
NJJ7H64SVery basic multi-threaded queue runner - [37]
A63IHCMX* Register GC roots properly. - [38]
6TY4LNHHFinish copyClosure - [39]
IWB3F4Z6Fail builds with previously failed steps early - [40]
EYR3EW6JKeep stats for the Hydra auto scaler - [41]
VQISTKOPhydra-queue-runner: Use substitutes
Change contents
- replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 156
if (!pathExists(root)) addPermRoot(*store, drvPath, root, false);if (!pathExists(root)) state.store->addPermRoot(drvPath, root, false); - replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 256
EvalState state(searchPath);EvalState state(searchPath, openStore()); - edit in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 283
store = openStore(); - edit in src/hydra-queue-runner/build-remote.cc at line 7
#include "misc.hh" - replacement in src/hydra-queue-runner/build-remote.cc at line 76
static void copyClosureTo(std::shared_ptr<StoreAPI> store,static void copyClosureTo(ref<Store> store, - replacement in src/hydra-queue-runner/build-remote.cc at line 83
computeFSClosure(*store, path, closure);store->computeFSClosure(path, closure); - replacement in src/hydra-queue-runner/build-remote.cc at line 98
Paths sorted = topoSortPaths(*store, closure);Paths sorted = store->topoSortPaths(closure); - replacement in src/hydra-queue-runner/build-remote.cc at line 110
exportPaths(*store, missing, false, to);store->exportPaths(missing, false, to); - replacement in src/hydra-queue-runner/build-remote.cc at line 118
static void copyClosureFrom(std::shared_ptr<StoreAPI> store,static void copyClosureFrom(ref<Store> store, - replacement in src/hydra-queue-runner/build-remote.cc at line 130
void State::buildRemote(std::shared_ptr<StoreAPI> store,void State::buildRemote(ref<Store> store, - edit in src/hydra-queue-runner/build-result.cc at line 3
#include "misc.hh" - replacement in src/hydra-queue-runner/build-result.cc at line 24
BuildOutput getBuildOutput(std::shared_ptr<StoreAPI> store, const Derivation & drv)BuildOutput getBuildOutput(nix::ref<Store> store, const Derivation & drv) - replacement in src/hydra-queue-runner/build-result.cc at line 34
computeFSClosure(*store, output, closure);store->computeFSClosure(output, closure); - replacement in src/hydra-queue-runner/build-result.hh at line 40
BuildOutput getBuildOutput(std::shared_ptr<nix::StoreAPI> store, const nix::Derivation & drv);[5.4741]BuildOutput getBuildOutput(nix::ref<nix::Store> store, const nix::Derivation & drv); - replacement in src/hydra-queue-runner/builder.cc at line 48
bool State::doBuildStep(std::shared_ptr<StoreAPI> store, Step::ptr step,bool State::doBuildStep(nix::ref<Store> store, Step::ptr step, - replacement in src/hydra-queue-runner/builder.cc at line 357
for (auto & path : outputPaths(step->drv))for (auto & path : step->drv.outputPaths()) - replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 362
for (auto & path : outputPaths(step->drv))for (auto & path : step->drv.outputPaths()) - edit in src/hydra-queue-runner/queue-monitor.cc at line 4
#include "misc.hh" - replacement in src/hydra-queue-runner/queue-monitor.cc at line 66
bool State::getQueuedBuilds(Connection & conn, std::shared_ptr<StoreAPI> store, unsigned int & lastBuildId)bool State::getQueuedBuilds(Connection & conn, ref<Store> store, unsigned int & lastBuildId) - replacement in src/hydra-queue-runner/queue-monitor.cc at line 317
Step::ptr State::createStep(std::shared_ptr<StoreAPI> store,Step::ptr State::createStep(ref<Store> store, - replacement in src/hydra-queue-runner/queue-monitor.cc at line 375
step->preferLocalBuild = willBuildLocally(step->drv);step->preferLocalBuild = step->drv.willBuildLocally(); - replacement in src/hydra-queue-runner/queue-monitor.cc at line 393
PathSet outputs = outputPaths(step->drv);PathSet outputs = step->drv.outputPaths(); - replacement in src/hydra-queue-runner/state.hh at line 380
bool getQueuedBuilds(Connection & conn, std::shared_ptr<nix::StoreAPI> store, unsigned int & lastBuildId);bool getQueuedBuilds(Connection & conn, nix::ref<nix::Store> store, unsigned int & lastBuildId); - replacement in src/hydra-queue-runner/state.hh at line 385
Step::ptr createStep(std::shared_ptr<nix::StoreAPI> store,Step::ptr createStep(nix::ref<nix::Store> store, - replacement in src/hydra-queue-runner/state.hh at line 408
bool doBuildStep(std::shared_ptr<nix::StoreAPI> store, Step::ptr step,bool doBuildStep(nix::ref<nix::Store> store, Step::ptr step, - replacement in src/hydra-queue-runner/state.hh at line 411
void buildRemote(std::shared_ptr<nix::StoreAPI> store,void buildRemote(nix::ref<nix::Store> store,