espie
94cb3a0030
pass actual distinfo filename through for even longer error messages
2019-11-06 14:21:54 +00:00
espie
6a1ce7fe67
do more specific messages when the file is completely missing from distinfo
...
vs when it's missing parts
2019-11-06 14:06:47 +00:00
espie
ef968e829d
explain this
2019-11-06 14:01:37 +00:00
espie
6f932cac84
deal with tofetch always being defined, noticed by Nigel Taylor
2019-11-06 09:53:47 +00:00
espie
b4f248bf50
explicit return
2019-11-05 18:29:26 +00:00
espie
3d440d96f4
reorg the build logic slightly, so that fetch cores can be used for
...
roach purposes as well
2019-11-03 10:18:31 +00:00
espie
8880884866
make subengine creation more regular
...
stub roach subengine so that it can be hooked in the main loop
2019-11-03 10:17:54 +00:00
espie
0873a1017c
tweak the main event loop a bit, should be simpler, but yield the
...
same semantics (apart from stop, which stops more stuff)
2019-10-30 16:16:06 +00:00
espie
d430354f13
tweak the stats so that the second column is just time from start
2019-10-30 16:11:25 +00:00
espie
75ed458511
make STOPPED! really visible
2019-10-30 16:07:25 +00:00
espie
b436a83da9
pass thru the values we might need for roach
...
construct the full object, even though we don't do anything smart with
it yet
2019-10-28 15:55:49 +00:00
espie
6545f12edb
use the same pattern for -n/ROACH as we did for -e/LISTING_EXTRA
2019-10-28 14:27:15 +00:00
espie
be88273a38
add the glue for roachinfo to exist and migrate to its own subengine data
2019-10-28 14:24:30 +00:00
espie
32840e5cc5
document a bit more what's going on, also add roach variables
2019-10-28 09:47:40 +00:00
espie
d11bf80daf
have External show the control socket path.
...
add first try at the "summary" command.
note that it doesn't simulate the engine completion (yet) so it WILL show
everything that's not built right now
2019-10-27 09:21:11 +00:00
espie
b9ce115a3d
make the JUNKING log entries "silent" so they don't change frozen status
...
nor interfere with stuck_timeout
problem noticed by sthen@
2019-10-24 15:05:22 +00:00
espie
63f0d16310
document DPB::Vars somewhat, tweak the interface to DPB::Vars->get
...
because we can benefit from other state access (specifically for waitpid)
2019-10-24 09:51:26 +00:00
espie
7ea92954bd
rename flush to the more explicit flush_log (so that I don't have to audit
...
its location elsewhere too precisely)
document grabber, rename endcode to eventloopcode (which means something)
tidy up some code, explicit return
2019-10-24 09:49:58 +00:00
espie
bc045a710d
okay, I did solve this elsewhere, and it did not work, so zap that condition
2019-10-23 16:23:25 +00:00
espie
529779383e
clean up the signature code and remove the globals in Reporter accordingly
2019-10-23 14:34:27 +00:00
espie
8181bdcb4c
document what record does. Also note it's always defined, so ditch the
...
test.
2019-10-23 13:40:55 +00:00
espie
6506796238
clean up/document the interface to reporter a bit
...
start making it not be a singleton (it's only created once anyway)
need to clean up DPB::Signature to make this "go away" entirely
2019-10-23 13:38:12 +00:00
espie
4e012526ca
also use fractional ts here, including non ludicrous rpecision on max_stuck
...
add a "coda" to the log, just so you can see how long cleaned took, or when
it errored
2019-10-23 10:09:50 +00:00
espie
bab3ea693d
don't close fh, it's already been closed by the job
...
also, let the serializer fill ts
2019-10-23 10:07:24 +00:00
espie
b03935cc16
use fractional ts here too
...
rename log_no_ts to log_same_ts, clearer
2019-10-23 10:06:19 +00:00
espie
4245a03235
have the serializer complete with a current ts if needed, so we don't
...
have to repeat ourselves.
2019-10-23 10:05:28 +00:00
espie
e1e6667ffd
just in case, make it possible to have fractional timestamps there too
2019-10-23 10:04:39 +00:00
espie
691753ef2d
formalize how to convert time values to string, with 2 digits after the dot
2019-10-23 10:04:06 +00:00
espie
53deb25c6d
explicitly call CORE::time/ Time::HiRes::time everywhere
...
(some to be revisited to use Time::HiRes)
2019-10-22 16:02:08 +00:00
espie
31adf50b1c
zap 2 globals
2019-10-22 15:50:25 +00:00
espie
2b3a6acd2c
tweak the reporter interface:
...
- rename methods as report_tty/report_notty for clarity
- pass state down to those methods
- have both tty/notty signal "nothing new" as undef
2019-10-22 15:44:10 +00:00
espie
c3ca79e75c
$S looks a bit like $$, rename it so that the code reads less like gibberish
2019-10-22 15:33:22 +00:00
espie
66e3cdf9b7
better method name
2019-10-22 15:31:35 +00:00
espie
c50e859557
there are way more reasons to write a mk.conf these days
2019-10-22 09:52:46 +00:00
naddy
2cda86b7e3
use MACHINE_ARCH (not ARCH) in WRKINST as we do in all other paths; ok espie@
2019-10-17 21:40:38 +00:00
espie
dfb1b1a45b
handle "collections" in a slightly simpler way
2019-10-15 14:41:22 +00:00
espie
497efb9d76
style
2019-10-15 13:45:16 +00:00
espie
3e403acf86
give context
2019-10-15 13:45:04 +00:00
espie
dc387f097a
explicit return.
...
document a bit
2019-10-15 13:44:19 +00:00
espie
35b9cfb57e
document a few details.
...
use Time::Hires for log times
do an explicit return
2019-10-15 13:43:47 +00:00
espie
16a95a5089
specifically explain the case that justifies the complexity,
...
because dump-vars, BUILD_PACKAGES, PSEUDO_FLAVORS
2019-10-15 13:41:59 +00:00
espie
892bc4e730
document how host/hostproperties interact
...
remove some "implicit returns" (cosmetic) and do more regular sub calls
provide a default is_alive for the abstract shell class to dedup code.
no functional change
2019-10-07 04:52:14 +00:00
espie
ae00cd0885
document stuff a bit more and follow my own guidelines (avoid implicit returns
...
even for ctors)
2019-10-05 15:52:38 +00:00
espie
3db68ec4f0
direct people to the "new" semantics for FETCH_PACKAGES
2019-10-05 14:10:33 +00:00
sthen
b12ee227d7
reserve 844 for routinator
2019-10-04 20:30:27 +00:00
espie
e4f4b712c0
optimization: no need to compute library signatures in fetch_only mode
2019-09-29 17:19:28 +00:00
espie
4904d3fa34
move to new tracing
2019-09-29 12:57:51 +00:00
espie
97a1583239
explain the handlers better
...
also add a hook for tweaking Data::Dumper parameters
2019-09-29 10:58:10 +00:00
espie
cb2bff528b
Move the BaseTrace class here for more general consumption.
...
Include some documentation.
(unused yet, there may be errors)
2019-09-29 10:51:26 +00:00
espie
20121e613c
use Time::HiRes qw(time); only imports time into the current package.
...
For class hierarchies, it's simpler to just explicitly call the right
time.
This should yield *much* better timing precision, especially on fast
machines...
2019-09-28 12:22:12 +00:00