hydra-eval-jobs: Don't keep track of used inputs
[?]
Sep 25, 2014, 11:38 AM
YNGIYQRFBKRKSRPSYSIG3R3U73ANOO5MC6C7VO4XOTDNBQHCKL3ACDependencies
- [2]
PMNWRTGJAdd multiple output support - [3]
5DYPEBSIhydra-eval-jobs: Use function argument default values - [4]
P45ANG5BFix build - [5]
7BRTFGVYReally fix hydra-eval-jobs - [6]
R42G3IBQDisallow multiple jobs with the same name - [7]
HOVPJBFF* Require every argument to be specified. - [8]
4LWGZL33 - [9]
HVXL2XUZ - [10]
3XTHEUMP* Implemented the clone feature. - [11]
4N5APGRG* Start of a helper tool to evaluate job expressions efficiently. - [12]
KD5237CU* eval-jobs now efficiently evaluates all Hydra jobs from a - [13]
VTNP5KDO* Don't catch all errors. Some errors mess up the connection with the - [14]
FMJMW4PU - [15]
SYN2GC3Oallow null values for jobs, meaning it should build - [16]
3PNG7NIBRemove trailing whitespace - [17]
A63IHCMX* Register GC roots properly. - [18]
AKRVETP5Handle UTF-8 characters in eval error messages - [19]
FGUL3HAZhydra-eval-jobs: Don't go into an infinite recursion - [20]
P76HTFODRevert "Remove wacky "sysbuild" filtering" - [21]
AEKIREIH* Updated hydra_eval_jobs for the new evaluator. - [22]
5X6FHW3Shydra-eval-jobs: Fix building against the latest unstable Nix - [23]
7YCFGMZB* Report evaluation errors per job, and don't bail out if a job fails - [24]
AEFNBIIW* Merge the GC branch. - [25]
HJYRK37A* Revert r27114, it seems to break stuff. - [26]
7GKAIP3VFix build and handling of string inputs starting with a dash - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate
Change contents
- edit in src/c/hydra-eval-jobs.cc at line 22
typedef std::map<Symbol, std::pair<unsigned int, Value *> > ArgsUsed; - replacement in src/c/hydra-eval-jobs.cc at line 27
const ArgsUsed & argsUsed, const AutoArgs & argsLeft,Value & v, const string & attrPath);const AutoArgs & argsLeft, Value & v, const string & attrPath); - replacement in src/c/hydra-eval-jobs.cc at line 31
const ArgsUsed & argsUsed, const AutoArgs & argsLeft,const string & attrPath, Value & fun,const AutoArgs & argsLeft, const string & attrPath, Value & fun, - replacement in src/c/hydra-eval-jobs.cc at line 41
findJobs(state, doc, argsUsed, argsLeft, v, attrPath);findJobs(state, doc, argsLeft, v, attrPath); - replacement in src/c/hydra-eval-jobs.cc at line 53
tryJobAlts(state, doc, argsUsed, argsLeft, attrPath, fun, next, last, actualArgs);tryJobAlts(state, doc, argsLeft, attrPath, fun, next, last, actualArgs); - edit in src/c/hydra-eval-jobs.cc at line 62
ArgsUsed argsUsed2(argsUsed); - edit in src/c/hydra-eval-jobs.cc at line 65
argsUsed2[cur->name] = std::pair<unsigned int, Value *>(n, *i); - replacement in src/c/hydra-eval-jobs.cc at line 66
tryJobAlts(state, doc, argsUsed2, argsLeft2, attrPath, fun, next, last, actualArgs2);tryJobAlts(state, doc, argsLeft2, attrPath, fun, next, last, actualArgs2); - edit in src/c/hydra-eval-jobs.cc at line 68[7.1273]→[7.1273:1279](∅→∅),[7.123]→[7.0:4](∅→∅),[7.1279]→[7.0:4](∅→∅),[7.1405]→[7.0:4](∅→∅),[7.4]→[7.1280:1349](∅→∅),[7.1349]→[7.73:75](∅→∅),[7.73]→[7.73:75](∅→∅),[7.75]→[7.1350:1404](∅→∅),[7.1404]→[7.129:157](∅→∅),[7.129]→[7.129:157](∅→∅),[7.157]→[7.1405:1443](∅→∅),[7.1443]→[7.906:978](∅→∅),[7.978]→[7.1514:1572](∅→∅),[7.1514]→[7.1514:1572](∅→∅),[7.343]→[7.257:306](∅→∅),[7.1572]→[7.257:306](∅→∅),[7.257]→[7.257:306](∅→∅)
}}static void showArgsUsed(XMLWriter & doc, const ArgsUsed & argsUsed){foreach (ArgsUsed::const_iterator, i, argsUsed) {XMLAttrs xmlAttrs2;xmlAttrs2["name"] = i->first;xmlAttrs2["value"] = (format("%1%") % *i->second.second).str();xmlAttrs2["altnr"] = int2String(i->second.first);doc.writeEmptyElement("arg", xmlAttrs2); - replacement in src/c/hydra-eval-jobs.cc at line 97
const ArgsUsed & argsUsed, const AutoArgs & argsLeft,Value & v, const string & attrPath)const AutoArgs & argsLeft, Value & v, const string & attrPath) - edit in src/c/hydra-eval-jobs.cc at line 167
showArgsUsed(doc, argsUsed); - replacement in src/c/hydra-eval-jobs.cc at line 172
findJobs(state, doc, argsUsed, argsLeft, *i->value,findJobs(state, doc, argsLeft, *i->value, - replacement in src/c/hydra-eval-jobs.cc at line 180
tryJobAlts(state, doc, argsUsed, argsLeft, attrPath, v,tryJobAlts(state, doc, argsLeft, attrPath, v, - replacement in src/c/hydra-eval-jobs.cc at line 196
const ArgsUsed & argsUsed, const AutoArgs & argsLeft,Value & v, const string & attrPath)const AutoArgs & argsLeft, Value & v, const string & attrPath) - replacement in src/c/hydra-eval-jobs.cc at line 199
findJobsWrapped(state, doc, argsUsed, argsLeft, v, attrPath);findJobsWrapped(state, doc, argsLeft, v, attrPath); - edit in src/c/hydra-eval-jobs.cc at line 205
showArgsUsed(doc, argsUsed); - replacement in src/c/hydra-eval-jobs.cc at line 271
findJobs(state, doc, ArgsUsed(), autoArgs, v, "");findJobs(state, doc, autoArgs, v, ""); - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 366
my $validJob = 1;foreach my $arg (@{$job->{arg}}) {my $input = $inputInfo->{$arg->{name}}->[$arg->{altnr}];$validJob = 0 if $input->{type} eq "sysbuild" && $input->{system} ne $job->{system};}push(@filteredJobs, $job) if $validJob;push @filteredJobs, $job;