12 Commits

Author SHA1 Message Date
MilhouseVH
ef86eb88ae scripts/pkgbuilder.py: drop redundant test 2020-02-19 07:41:18 +00:00
MilhouseVH
a6f81e49d5 scripts/pkgbuilder.py: enable percent/load/mem info with --progress 2020-02-19 07:33:42 +00:00
MilhouseVH
8e2c02f464 scripts/pkgbuilder.py: assign each subprocess a process group
When pkgbuilder.py is terminated with SIGINT (ie. ctrl-c), or exits
immediately due to a failed job, it is sometimes possible for child
subprocesses (ie. build tasks) to remain alive and continue running
in the background.

To fix this, assign each subprocess a new process group identifier,
and capture the pid of each child subprocess so that on shutdown we
can kill the entire child process group (ie. kill the child subprocess,
and all subprocesses the child subprocess may have created) for any
builder processes that are still running.
2020-02-10 08:14:04 +00:00
MilhouseVH
a11e063083 build: auto remove build dirs 2020-02-10 08:53:39 +01:00
MilhouseVH
6d9bccebe5 scripts/pkgbuilder.py: need at least one process 2020-01-30 08:23:57 +00:00
MilhouseVH
893a7870c4 scripts/pkgbuilder.py: small cleanup 2020-01-28 12:51:10 +00:00
MilhouseVH
aaf5f0e466 scripts/pkgbuilder.py: allow active jobs to finish once an error occurs 2020-01-28 11:01:13 +00:00
MilhouseVH
c567e7a9e8 scripts/pkgbuilder.py: avoid returning negative timeout which is fatal 2020-01-26 06:54:25 +00:00
MilhouseVH
e69922455f scripts/pkgbuilder.py: bookend combined log with searchable tags 2020-01-21 17:07:18 +00:00
MilhouseVH
50e6f13896 scripts/pkgbuilder.py: fix failure to queue jobs to idle slots due to race 2020-01-17 20:08:10 +00:00
MilhouseVH
d4392ee718 scripts/pkgbuilder.py: use distinct colours 2020-01-17 15:07:07 +00:00
MilhouseVH
00faa81294 scripts/pkgbuilder.py: replace parallel with something smarter 2020-01-15 18:49:11 +00:00