yocto-autobuilder-helper/scripts
Ross Burton 2954d78759 Rewrite metrics-gathering scripts
Rewrite the scripts that gather the metrics to be more generic.

Extract the metrics repository cloning out so that we don't have to
repeatedly clone it.

Make the scripts parse their arguments using getopt and be more specific
about what they're passed.  In particular, this means that for the patch
review run we pass the _repository_ that we're scanning so we can do git
operations on it, and the base of the _layers_ (either a layer, or a
directory containing layers) so we know what to scan.

Be more clever when identifying what commits we need to analyse for
patch review: instead of iterating through a set randomly, we can keep
the revision list sorted and the checkout operations are a lot faster.

Remove the commit/file count metric addition as patchreview itself does
that now.

Add an explicit --push option so it's easy to test the scripts in
isolation without pushing.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-31 15:01:57 +00:00
..
auh-config auh-config: systemd now requires usrmerge 2023-08-15 21:20:32 +01:00
docs-build-patches scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml 2022-03-22 22:17:02 +00:00
archive_buildstats.py scripts/archive_buildstats: Exit early if buildstats isn't present 2022-08-24 20:56:12 +01:00
build-perf-test-wrapper Clarify license and copyright information 2022-05-17 10:29:45 +01:00
buildhistory-init Clarify license and copyright information 2022-05-17 10:29:45 +01:00
check-gplv3 Clarify license and copyright information 2022-05-17 10:29:45 +01:00
checkvnc Clarify license and copyright information 2022-05-17 10:29:45 +01:00
collect-results Clarify license and copyright information 2022-05-17 10:29:45 +01:00
cve-generate-chartdata Rewrite metrics-gathering scripts 2023-10-31 15:01:57 +00:00
cve-report.py cve-report: Remove ignore list and expose all CVEs 2023-02-07 21:53:00 +00:00
docs_add_banner.py scripts/docs_add_banner: Fix several issues 2022-06-03 10:51:38 +01:00
generate-testresult-index.py scripts/generate-testresult-index.py: expose regression reports on web page 2023-03-24 10:31:35 +00:00
layer-config scripts/layer-config: remove unused imports 2023-06-13 09:38:32 +01:00
list-yp-compatible-layers.py scripts: add list-yp-compatible-layers.py 2023-10-29 22:40:32 +00:00
oe-build-perf-report-email.py Clarify license and copyright information 2022-05-17 10:29:45 +01:00
oe-build-perf-report-scrape-html-report.js scripts: Import build-perf scripts from oe-core 2019-01-22 22:58:11 +00:00
patchmetrics-generate-chartdata srcipts/generate-chartdata: Drop dateutil dependency 2022-06-30 16:33:54 +01:00
patchmetrics-update Rewrite metrics-gathering scripts 2023-10-31 15:01:57 +00:00
pre-commit-hook.sh Clarify license and copyright information 2022-05-17 10:29:45 +01:00
prepare-shared-repos scripts/prepare-shared-repos: fix minor typo in autobuilder logs 2023-02-15 11:31:10 +00:00
publish-artefacts config.json: Add patchtest build 2023-10-26 14:22:33 +01:00
run-auh auh: publish output on https://autobuilder.yocto.io/pub/auh/ 2023-05-04 16:29:15 +01:00
run-config config.json: Separate out toolchain targets 2023-06-08 11:16:43 +01:00
run-cvecheck Rewrite metrics-gathering scripts 2023-10-31 15:01:57 +00:00
run-docs-build run-docs-build: switch to released docs tarball 2023-01-17 11:04:42 -08:00
run-patchmetrics Rewrite metrics-gathering scripts 2023-10-31 15:01:57 +00:00
runqemu-renice.c scripts: Add runqemu-renice.c for renicing runqemu 2020-09-05 14:59:14 +01:00
send_qa_email.py scripts/send_qa_email: guess latest tested revision when dealing with branch 2023-10-04 23:39:50 +01:00
send-qa-email scripts/send-qa-email: add symlink to preserve compatibility with autobuilder 2023-01-26 22:40:07 +00:00
setup-auh Clarify license and copyright information 2022-05-17 10:29:45 +01:00
setup-config Clarify license and copyright information 2022-05-17 10:29:45 +01:00
shared-repo-unpack scripts/send_qa_email.py: Rename send-qa-email to send_qa_email.py 2023-01-26 22:40:02 +00:00
summarize_top_output.py Clarify license and copyright information 2022-05-17 10:29:45 +01:00
target-present Clarify license and copyright information 2022-05-17 10:29:45 +01:00
test_send_qa_email.py scripts/send_qa_email: guess latest tested revision when dealing with branch 2023-10-04 23:39:50 +01:00
test_utils.py scripts/test_utils.py: update test after BUILD_HISTORY_DIRECTPUSH removal 2023-06-26 16:27:11 +01:00
upload-error-reports Clarify license and copyright information 2022-05-17 10:29:45 +01:00
utils.py scripts/send_qa_email: re-clarify base and target revisions 2023-10-04 23:39:50 +01:00