Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2014-04-23 03:22:11 +0400
committerBryan Drewery <bryan@shatow.net>2014-04-23 03:22:11 +0400
commit1965f9e6cc02effd5455aa25e302332c6b5c0f77 (patch)
treeedce0578400a71cc949b282f282943d1230ffefc
parent2563a40edc9ba78f1a2da2507a7b4cb24696c3c6 (diff)
SIGINFO: Show Tobuild
-rwxr-xr-xsrc/share/poudriere/common.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh
index 15bb71c0..15ccc913 100755
--- a/src/share/poudriere/common.sh
+++ b/src/share/poudriere/common.sh
@@ -436,6 +436,7 @@ siginfo_handler() {
local nbi=$(bget stats_ignored 2>/dev/null || echo 0)
local nbq=$(bget stats_queued 2>/dev/null || echo 0)
local ndone=$((nbb + nbf + nbi + nbs))
+ local nbtobuild=$((nbq - ndone))
local queue_width=2
local now
local j
@@ -453,8 +454,8 @@ siginfo_handler() {
queue_width=3
fi
- printf "[${MASTERNAME}] [${status}] [%0${queue_width}d/%0${queue_width}d] Built: %-${queue_width}d Failed: %-${queue_width}d Skipped: %-${queue_width}d Ignored: %-${queue_width}d \n" \
- ${ndone} ${nbq} ${nbb} ${nbf} ${nbs} ${nbi}
+ printf "[${MASTERNAME}] [${status}] [%0${queue_width}d/%0${queue_width}d] Built: %-${queue_width}d Failed: %-${queue_width}d Skipped: %-${queue_width}d Ignored: %-${queue_width}d Tobuild: %-${queue_width}d \n" \
+ ${ndone} ${nbq} ${nbb} ${nbf} ${nbs} ${nbi} ${nbtobuild}
# Skip if stopping or starting jobs
if [ -n "${JOBS}" -a "${status#starting_jobs:}" = "${status}" -a "${status}" != "stopping_jobs:" ]; then