~jocave/checkbox-ng:indent-manifest-json

Last commit made on 2018-08-09
Get this branch:
git clone -b indent-manifest-json https://git.launchpad.net/~jocave/checkbox-ng
Only Jonathan Cave can upload to this branch. If you are Jonathan Cave please log in for upload directions.

Branch merges

Branch information

Name:
indent-manifest-json
Repository:
lp:~jocave/checkbox-ng

Recent commits

92f0dff... by Jonathan Cave

plainbox-manifest-collect: indent json when dumped

b76915a... by PMR <pmr@pmr-lander>

Merge #351426 from ~kissiel/checkbox-ng:test-duration-in-json

4b26b56... by PMR <pmr@pmr-lander>

Merge #351411 from ~kissiel/checkbox-ng:weed-out-sgr-ansi-codes

7e5a93b... by Maciej Kisielewski

result: strip ANSI color escape codes when reading logs

Note that the files with logs are still written raw (without any filtering).
But when the logs are read back (e.g. when preparing reports), the ANSI SGR
codes are stripped. Note that only SGR codes are stripped.

See "ECMA-48 Set Graphics Rendition" in CONSOLE_CODES(4)

Signed-off-by: Maciej Kisielewski <email address hidden>

a2904b5... by Maciej Kisielewski

exporter: add test duration to the json rep.

Signed-off-by: Maciej Kisielewski <email address hidden>

c90a742... by PMR <pmr@pmr-lander>

Merge #350831 from ~kissiel/checkbox-ng:update-rpyc

1480a82... by Maciej Kisielewski

vendor: update rpyc to 4.0.1 (py3.7 compat)

After the copying I ran:
find . -name '*.py' -exec sed -i s/^from\ rpyc/from\ plainbox.vendor.rpyc/ {} +
to make sure the imports are correct

Signed-off-by: Maciej Kisielewski <email address hidden>

acfc948... by PMR <pmr@pmr-lander>

Merge #348874 from ~taihsiangho/checkbox-ng:pr-html-pie-testjob-only

fba7381... by PMR <pmr@pmr-lander>

Merge #349638 from ~kissiel/checkbox-ng:throwaway-throwaway_managers

30c4126... by Maciej Kisielewski

session: optimize creation of throwaway session managers

Instead of creating one every time it's needed, "cache" them in the
SessionManager cls. The cache is keyed by the providers requested.

Those managers are needed when validating test plans. For each nesting TP
new session is created (and all providers are parsed; all jobs created).
They are also used when the outcome of the boostrapping job was handled.
On slower machines it meant that validating plainbox-provider-checkbox
took 1m28s. With the caching mechanism introduced by this patch, the time
dropped to 0:36s.
As for bootstrapping gains, going on checkbox-plano from CLI to test-selection
using .caracalla-test-runner, it went from 1m41s to 1m15s.