Skip to content

run-coverity-scan: misc improvements, especially for docker mode

Paolo Bonzini qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyIn review
  2. v18 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8docker.py/build: support -t and -f argumentstests/docker/Makefile.include tests/docker/docker.py+4 -40 replies
2/8docker.py/build: support binary files in --extra-filestests/docker/docker.py+6 -20 replies
3/8run-coverity-scan: get Coverity token and email from special git config sectionscripts/coverity-scan/run-coverity-scan+15 -90 replies
4/8run-coverity-scan: use docker.pyscripts/coverity-scan/coverity-scan.docker scripts/coverity-scan/run-coverity-scan+22 -121 reply
5/8run-coverity-scan: add --no-update-tools optionscripts/coverity-scan/run-coverity-scan+23 -140 replies
6/8run-coverity-scan: use --no-update-tools in docker runscripts/coverity-scan/run-coverity-scan+5 -60 replies
7/8run-coverity-scan: download tools outside the containerscripts/coverity-scan/coverity-scan.docker scripts/coverity-scan/run-coverity-scan+24 -210 replies
8/8run-coverity-scan: support --update-tools-only --dockerscripts/coverity-scan/run-coverity-scan+23 -160 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchPeter MaydellPhilippe Mathieu-Daudé
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] run-coverity-scan: misc improvements, especially for docker mode

These include:

1) podman support through tests/docker/docker.py

2) avoiding repeated downloading of the tools in the container, by sharing the cache with the host

3) support for --update-tools-only --docker (though unlike regular --update-tools-only it must be run from within a QEMU source tree)

4) not related to docker mode, but used by it, a new --no-update-tools option that does not check for tool updates

5) the ability to get the Coverity token from git configuration, and also to have email from git configuration if it is not equal to user.email.

Patches 1 and 2 are tweaks to tests/docker/docker.py, while the others are for run-coverity-scan.

v1->v2: adjust comments, new option --docker-engine

Paolo Bonzini (8):
docker.py/build: support -t and -f arguments docker.py/build: support binary files in --extra-files
run-coverity-scan: get Coverity token and email from special git
config section
run-coverity-scan: use docker.py
run-coverity-scan: add --no-update-tools option
run-coverity-scan: use --no-update-tools in docker run
run-coverity-scan: download tools outside the container
run-coverity-scan: support --update-tools-only --docker

 scripts/coverity-scan/coverity-scan.docker |   3 +-
 scripts/coverity-scan/run-coverity-scan    | 139 +++++++++++++--------
 tests/docker/Makefile.include              |   2 +-
 tests/docker/docker.py                     |  14 ++-
 4 files changed, 98 insertions(+), 60 deletions(-)
Signature · 1 line
2.26.2