forked from mirrors/nixpkgs
maintainers/scripts/haskell/hydra-report.hs: Fix wording
This commit is contained in:
parent
628d864ba2
commit
7b54437362
|
@ -464,8 +464,8 @@ printBuildSummary
|
||||||
if' (isNothing mergeableJob) "No `mergeable` job found." <>
|
if' (isNothing mergeableJob) "No `mergeable` job found." <>
|
||||||
if' (isNothing maintainedJob) "No `maintained` job found." <>
|
if' (isNothing maintainedJob) "No `maintained` job found." <>
|
||||||
if' (Unfinished > maybe Success worstState mergeableJob) "`mergeable` jobset failed." <>
|
if' (Unfinished > maybe Success worstState mergeableJob) "`mergeable` jobset failed." <>
|
||||||
if' (outstandingJobs (Platform "x86_64-linux") > 100) "Too much outstanding jobs on x86_64-linux." <>
|
if' (outstandingJobs (Platform "x86_64-linux") > 100) "Too many outstanding jobs on x86_64-linux." <>
|
||||||
if' (outstandingJobs (Platform "aarch64-linux") > 100) "Too much outstanding jobs on aarch64-linux."
|
if' (outstandingJobs (Platform "aarch64-linux") > 100) "Too many outstanding jobs on aarch64-linux."
|
||||||
if' p e = if p then [e] else mempty
|
if' p e = if p then [e] else mempty
|
||||||
outstandingJobs platform | Table m <- numSummary = Map.findWithDefault 0 (platform, Unfinished) m
|
outstandingJobs platform | Table m <- numSummary = Map.findWithDefault 0 (platform, Unfinished) m
|
||||||
maintainedJob = Map.lookup "maintained" summary
|
maintainedJob = Map.lookup "maintained" summary
|
||||||
|
|
Loading…
Reference in a new issue