All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH  v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch)
@ 2021-01-14 16:57 Alex Bennée
  2021-01-14 16:57 ` [PATCH v2 01/12] tests/docker: Remove Debian 9 remnant lines Alex Bennée
                   ` (11 more replies)
  0 siblings, 12 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

Hi,

The main changes from v1:

  https://patchew.org/QEMU/20210113151408.27939-1-alex.bennee@linaro.org/

 - squeeze the size of the htags generation to fit pages
 - move one more job from Travis
 - include regression fix for yank
 - fix a problem with checkpatch and commit ids

The following need review:

 - scripts/checkpatch.pl: fix git-show invocation to include diffstat
 - gitlab: migrate the minimal tools and unit tests from Travis
 - docker: expand debian-amd64 image to include tag tools
 - Makefile: wrap cscope in quiet-command calls
 - Makefile: wrap etags in quiet-command calls
 - Makefile: wrap ctags in quiet-command calls
 - Makefile: add GNU global tags support

Alessandro Di Federico (1):
  Add newline when generating Dockerfile

Alex Bennée (8):
  Makefile: add GNU global tags support
  Makefile: wrap ctags in quiet-command calls
  Makefile: wrap etags in quiet-command calls
  Makefile: wrap cscope in quiet-command calls
  docker: expand debian-amd64 image to include tag tools
  gitlab: move docs and tools build across from Travis
  gitlab: migrate the minimal tools and unit tests from Travis
  scripts/checkpatch.pl: fix git-show invocation to include diffstat

Lukas Straub (1):
  Fix build with new yank feature by adding stubs

Philippe Mathieu-Daudé (2):
  tests/docker: Remove Debian 9 remnant lines
  shippable.yml: Remove jobs duplicated on Gitlab-CI

 Makefile                                     | 46 ++++++++++++++++----
 stubs/yank.c                                 | 29 ++++++++++++
 .gitignore                                   |  3 ++
 .gitlab-ci.yml                               | 30 ++++++++++---
 .shippable.yml                               | 14 +-----
 .travis.yml                                  | 25 -----------
 MAINTAINERS                                  |  1 +
 scripts/checkpatch.pl                        |  2 +-
 stubs/meson.build                            |  1 +
 tests/docker/Makefile.include                |  1 -
 tests/docker/docker.py                       |  4 +-
 tests/docker/dockerfiles/debian-amd64.docker |  5 ++-
 12 files changed, 104 insertions(+), 57 deletions(-)
 create mode 100644 stubs/yank.c

-- 
2.20.1



^ permalink raw reply	[flat|nested] 36+ messages in thread

* [PATCH  v2 01/12] tests/docker: Remove Debian 9 remnant lines
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 20:03   ` Willian Rampazzo
  2021-01-14 16:57 ` [PATCH v2 02/12] Makefile: add GNU global tags support Alex Bennée
                   ` (10 subsequent siblings)
  11 siblings, 1 reply; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Philippe Mathieu-Daudé,
	Thomas Huth, Alex Bennée, Philippe Mathieu-Daudé

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Debian 9 base container has been removed in commits
e3755276d1f and c9d78b06c06. Remove the last remnants.

Fixes: e3755276d1f ("tests/docker: Remove old Debian 9 containers")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210107072933.3828450-1-f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
---
 tests/docker/Makefile.include | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index c254ac38d0..0779dab5b9 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -108,7 +108,6 @@ ifneq ($(HOST_ARCH),x86_64)
 DOCKER_PARTIAL_IMAGES += debian-mips-cross debian-mipsel-cross debian-mips64el-cross
 DOCKER_PARTIAL_IMAGES += debian-ppc64el-cross
 DOCKER_PARTIAL_IMAGES += debian-s390x-cross
-DOCKER_PARTIAL_IMAGES += debian-win32-cross debian-win64-cross
 DOCKER_PARTIAL_IMAGES += fedora travis
 endif
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH  v2 02/12] Makefile: add GNU global tags support
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
  2021-01-14 16:57 ` [PATCH v2 01/12] tests/docker: Remove Debian 9 remnant lines Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 18:09   ` Philippe Mathieu-Daudé
  2021-01-14 16:57 ` [PATCH v2 03/12] shippable.yml: Remove jobs duplicated on Gitlab-CI Alex Bennée
                   ` (9 subsequent siblings)
  11 siblings, 1 reply; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

GNU Global is another tags engine which is more like cscope in being
able to support finding both references and definitions. You will be
un-surprised to know it also integrates well with Emacs.

The main benefit of integrating it into find-src-path is it takes less
time to rebuild the database from scratch when you have a lot of build
directories under your source tree.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
v2
  - run in SRC_PATH
  - wrap in quiet-command
---
 Makefile   | 14 +++++++++++++-
 .gitignore |  3 +++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index fb9923ff22..0c509a7704 100644
--- a/Makefile
+++ b/Makefile
@@ -253,6 +253,18 @@ ctags:
 	rm -f "$(SRC_PATH)/"tags
 	$(find-src-path) -exec ctags -f "$(SRC_PATH)/"tags --append {} +
 
+.PHONY: gtags
+gtags:
+	$(call quiet-command, 			\
+		rm -f "$(SRC_PATH)/"GTAGS; 	\
+		rm -f "$(SRC_PATH)/"GRTAGS; 	\
+		rm -f "$(SRC_PATH)/"GPATH, 	\
+		"GTAGS", "Remove old $@ files")
+	$(call quiet-command, 				\
+	        (cd $(SRC_PATH) && 			\
+		 $(find-src-path) | gtags -f -), 	\
+		"GTAGS", "Re-index $(SRC_PATH)")
+
 .PHONY: TAGS
 TAGS:
 	rm -f "$(SRC_PATH)/"TAGS
@@ -279,7 +291,7 @@ help:
 	$(call print-help,all,Build all)
 	$(call print-help,dir/file.o,Build specified target only)
 	$(call print-help,install,Install QEMU, documentation and tools)
-	$(call print-help,ctags/TAGS,Generate tags file for editors)
+	$(call print-help,ctags/gtags/TAGS,Generate tags file for editors)
 	$(call print-help,cscope,Generate cscope index)
 	$(call print-help,sparse,Run sparse on the QEMU source)
 	@echo  ''
diff --git a/.gitignore b/.gitignore
index b32bca1315..75a4be0724 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,9 @@
 cscope.*
 tags
 TAGS
+GPATH
+GRTAGS
+GTAGS
 *~
 *.ast_raw
 *.depend_raw
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH  v2 03/12] shippable.yml: Remove jobs duplicated on Gitlab-CI
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
  2021-01-14 16:57 ` [PATCH v2 01/12] tests/docker: Remove Debian 9 remnant lines Alex Bennée
  2021-01-14 16:57 ` [PATCH v2 02/12] Makefile: add GNU global tags support Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 16:57 ` [PATCH v2 04/12] Add newline when generating Dockerfile Alex Bennée
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Philippe Mathieu-Daudé,
	Alex Bennée, Philippe Mathieu-Daudé

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

The following jobs are duplicated on Gitlab-CI since commit
6bcb5fc0f7a ("gitlab-ci: Add cross-compiling build tests"):

- IMAGE=debian-armel-cross

  TARGET_LIST=arm-softmmu               -> cross-armel-system
  TARGET_LIST=arm-linux-user            -> cross-armel-user
  TARGET_LIST=armeb-linux-user          -> cross-armel-user

- IMAGE=debian-armhf-cross

  TARGET_LIST=arm-softmmu               -> cross-armhf-system
  TARGET_LIST=arm-linux-user            -> cross-armhf-user
  TARGET_LIST=armeb-linux-user          -> cross-armhf-user

- IMAGE=debian-arm64-cross

  TARGET_LIST=aarch64-softmmu           -> cross-arm64-system
  TARGET_LIST=aarch64-linux-user        -> cross-arm64-user

- IMAGE=debian-s390x-cross

  TARGET_LIST=s390x-softmmu             -> cross-s390x-system
  TARGET_LIST=s390x-linux-user          -> cross-s390x-user

- IMAGE=debian-mips-cross

  TARGET_LIST=mipsel-linux-user         -> cross-mips-user

- IMAGE=debian-mips64el-cross

  TARGET_LIST=mips64el-softmmu          -> cross-mips64el-system
  TARGET_LIST=mips64el-linux-user       -> cross-mips64el-user

- IMAGE=debian-ppc64el-cross

  TARGET_LIST=ppc64-softmmu             -> cross-ppc64el-system
  TARGET_LIST=ppc64-linux-user          -> cross-ppc64el-user
  TARGET_LIST=ppc64abi32-linux-user     -> cross-ppc64el-user

Remove them from Shippable CI.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210108145103.269353-1-f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .shippable.yml | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/.shippable.yml b/.shippable.yml
index 14350e6de8..97bfa2a0f3 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -7,20 +7,8 @@ env:
   matrix:
     - IMAGE=debian-amd64
       TARGET_LIST=x86_64-softmmu,x86_64-linux-user
-    - IMAGE=debian-armel-cross
-      TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
-    - IMAGE=debian-armhf-cross
-      TARGET_LIST=arm-softmmu,arm-linux-user,armeb-linux-user
-    - IMAGE=debian-arm64-cross
-      TARGET_LIST=aarch64-softmmu,aarch64-linux-user
-    - IMAGE=debian-s390x-cross
-      TARGET_LIST=s390x-softmmu,s390x-linux-user
     - IMAGE=debian-mips-cross
-      TARGET_LIST=mips-softmmu,mipsel-linux-user
-    - IMAGE=debian-mips64el-cross
-      TARGET_LIST=mips64el-softmmu,mips64el-linux-user
-    - IMAGE=debian-ppc64el-cross
-      TARGET_LIST=ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user
+      TARGET_LIST=mips-softmmu
 build:
   pre_ci_boot:
     image_name: registry.gitlab.com/qemu-project/qemu/qemu/${IMAGE}
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH  v2 04/12] Add newline when generating Dockerfile
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (2 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 03/12] shippable.yml: Remove jobs duplicated on Gitlab-CI Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 17:51   ` Philippe Mathieu-Daudé
  2021-01-14 19:42   ` Willian Rampazzo
  2021-01-14 16:57 ` [PATCH v2 05/12] Makefile: wrap ctags in quiet-command calls Alex Bennée
                   ` (7 subsequent siblings)
  11 siblings, 2 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alessandro Di Federico, Fam Zheng, Alex Bennée,
	Philippe Mathieu-Daudé

From: Alessandro Di Federico <ale@rev.ng>

Signed-off-by: Alessandro Di Federico <ale@rev.ng>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <1610080146-14968-36-git-send-email-tsimpson@quicinc.com>
---
 tests/docker/docker.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 36b7868406..884dfeb29c 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -332,9 +332,9 @@ class Docker(object):
                          (uname, uid, uname))
 
         tmp_df.write("\n")
-        tmp_df.write("LABEL com.qemu.dockerfile-checksum=%s" % (checksum))
+        tmp_df.write("LABEL com.qemu.dockerfile-checksum=%s\n" % (checksum))
         for f, c in extra_files_cksum:
-            tmp_df.write("LABEL com.qemu.%s-checksum=%s" % (f, c))
+            tmp_df.write("LABEL com.qemu.%s-checksum=%s\n" % (f, c))
 
         tmp_df.flush()
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH  v2 05/12] Makefile: wrap ctags in quiet-command calls
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (3 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 04/12] Add newline when generating Dockerfile Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 18:07   ` Philippe Mathieu-Daudé
  2021-01-14 19:46   ` Willian Rampazzo
  2021-01-14 16:57 ` [PATCH v2 06/12] Makefile: wrap etags " Alex Bennée
                   ` (6 subsequent siblings)
  11 siblings, 2 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

For prettier output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 0c509a7704..bbab640b31 100644
--- a/Makefile
+++ b/Makefile
@@ -250,8 +250,13 @@ find-src-path = find "$(SRC_PATH)/" -path "$(SRC_PATH)/meson" -prune -o \( -name
 
 .PHONY: ctags
 ctags:
-	rm -f "$(SRC_PATH)/"tags
-	$(find-src-path) -exec ctags -f "$(SRC_PATH)/"tags --append {} +
+	$(call quiet-command, 			\
+		rm -f "$(SRC_PATH)/"tags, 	\
+		"CTAGS", "Remove old tags")
+	$(call quiet-command, \
+		$(find-src-path) -exec ctags 		\
+		-f "$(SRC_PATH)/"tags --append {} +,	\
+		"CTAGS", "Re-index $(SRC_PATH)")
 
 .PHONY: gtags
 gtags:
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH  v2 06/12] Makefile: wrap etags in quiet-command calls
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (4 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 05/12] Makefile: wrap ctags in quiet-command calls Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 18:08   ` Philippe Mathieu-Daudé
  2021-01-14 19:48   ` Willian Rampazzo
  2021-01-14 16:57 ` [PATCH v2 07/12] Makefile: wrap cscope " Alex Bennée
                   ` (5 subsequent siblings)
  11 siblings, 2 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

For prettier output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index bbab640b31..f7e9eb9f08 100644
--- a/Makefile
+++ b/Makefile
@@ -272,8 +272,13 @@ gtags:
 
 .PHONY: TAGS
 TAGS:
-	rm -f "$(SRC_PATH)/"TAGS
-	$(find-src-path) -exec etags -f "$(SRC_PATH)/"TAGS --append {} +
+	$(call quiet-command, 			\
+		rm -f "$(SRC_PATH)/"TAGS,	\
+		"TAGS", "Remove old $@")
+	$(call quiet-command, 				\
+		$(find-src-path) -exec etags 		\
+		-f "$(SRC_PATH)/"TAGS --append {} +, 	\
+		"TAGS", "Re-index $(SRC_PATH)")
 
 .PHONY: cscope
 cscope:
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH  v2 07/12] Makefile: wrap cscope in quiet-command calls
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (5 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 06/12] Makefile: wrap etags " Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 18:08   ` Philippe Mathieu-Daudé
  2021-01-14 19:45   ` Willian Rampazzo
  2021-01-14 16:57 ` [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools Alex Bennée
                   ` (4 subsequent siblings)
  11 siblings, 2 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

For prettier output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 Makefile | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index f7e9eb9f08..2a926aaeb0 100644
--- a/Makefile
+++ b/Makefile
@@ -282,9 +282,17 @@ TAGS:
 
 .PHONY: cscope
 cscope:
-	rm -f "$(SRC_PATH)"/cscope.*
-	$(find-src-path) -print | sed -e 's,^\./,,' > "$(SRC_PATH)/cscope.files"
-	cscope -b -i"$(SRC_PATH)/cscope.files" -f"$(SRC_PATH)"/cscope.out
+	$(call quiet-command,			\
+		rm -f "$(SRC_PATH)/"cscope.* ,	\
+		"cscope", "Remove old $@ files")
+	$(call quiet-command, 					\
+		($(find-src-path) -print | sed -e 's,^\./,,'    \
+		> "$(SRC_PATH)/cscope.files"), 			\
+		"cscope", "Create file list")
+	$(call quiet-command, 				\
+		cscope -b -i"$(SRC_PATH)/cscope.files" 	\
+		-f"$(SRC_PATH)"/cscope.out, 		\
+		"cscope", "Re-index $(SRC_PATH)")
 
 # Needed by "meson install"
 export DESTDIR
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (6 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 07/12] Makefile: wrap cscope " Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 17:50   ` Philippe Mathieu-Daudé
  2021-01-14 19:41   ` Willian Rampazzo
  2021-01-14 16:57 ` [PATCH v2 09/12] gitlab: move docs and tools build across from Travis Alex Bennée
                   ` (3 subsequent siblings)
  11 siblings, 2 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: Fam Zheng, Philippe Mathieu-Daudé, Alex Bennée

This is going to be helpful when we want to both test the tool
integration and in the case of global generate a xref doc build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 tests/docker/dockerfiles/debian-amd64.docker | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
index 55075d9fce..a98314757d 100644
--- a/tests/docker/dockerfiles/debian-amd64.docker
+++ b/tests/docker/dockerfiles/debian-amd64.docker
@@ -1,7 +1,7 @@
 #
 # Docker x86_64 target
 #
-# This docker target builds on the debian Stretch base image. Further
+# This docker target builds on the Debian Buster base image. Further
 # libraries which are not widely available are installed by hand.
 #
 FROM qemu/debian10
@@ -14,7 +14,10 @@ RUN apt update && \
 RUN apt update && \
     DEBIAN_FRONTEND=noninteractive eatmydata \
     apt install -y --no-install-recommends \
+        cscope \
         genisoimage \
+        exuberant-ctags \
+        global \
         libbz2-dev \
         liblzo2-dev \
         libgcrypt20-dev \
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH v2 09/12] gitlab: move docs and tools build across from Travis
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (7 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 19:54   ` Willian Rampazzo
  2021-01-14 16:57 ` [PATCH v2 10/12] Fix build with new yank feature by adding stubs Alex Bennée
                   ` (2 subsequent siblings)
  11 siblings, 1 reply; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Philippe Mathieu-Daudé,
	Thomas Huth, Alex Bennée, Wainer dos Santos Moschetta

While we are at it we might as well check the tag generation. For
bonus points we run GNU globals htags into the public pages directory
for publishing with the auto generated pages.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>

---
v2
  - explicit disable-system/user
  - add some comments, reduce size of HTML dump
---
 .gitlab-ci.yml | 28 ++++++++++++++++++++++------
 .travis.yml    | 16 ----------------
 2 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4532f1718a..bd60f3e741 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -79,7 +79,6 @@ build-system-ubuntu:
     TARGETS: aarch64-softmmu alpha-softmmu cris-softmmu hppa-softmmu
       moxie-softmmu microblazeel-softmmu mips64el-softmmu
     MAKE_CHECK_ARGS: check-build
-    CONFIGURE_ARGS: --enable-docs
   artifacts:
     expire_in: 2 days
     paths:
@@ -111,7 +110,6 @@ build-system-debian:
     TARGETS: arm-softmmu avr-softmmu i386-softmmu mipsel-softmmu
       riscv64-softmmu sh4eb-softmmu sparc-softmmu xtensaeb-softmmu
     MAKE_CHECK_ARGS: check-build
-    CONFIGURE_ARGS: --enable-docs
   artifacts:
     expire_in: 2 days
     paths:
@@ -126,6 +124,17 @@ check-system-debian:
     IMAGE: debian-amd64
     MAKE_CHECK_ARGS: check
 
+build-tools-and-docs-debian:
+  <<: *native_build_job_definition
+  variables:
+    IMAGE: debian-amd64
+    MAKE_CHECK_ARGS: ctags TAGS cscope
+    CONFIGURE_ARGS: --disable-system --disable-user --enable-docs --enable-tools
+  artifacts:
+    expire_in: 2 days
+    paths:
+      - build
+
 acceptance-system-debian:
   <<: *native_test_job_definition
   needs:
@@ -596,14 +605,21 @@ build-libvhost-user:
     - meson
     - ninja
 
+# Prepare for GitLab pages deployment. Anything copied into the
+# "public" directory will be deployed to $USER.gitlab.io/$PROJECT
 pages:
-  image: $CI_REGISTRY_IMAGE/qemu/ubuntu2004:latest
+  image: $CI_REGISTRY_IMAGE/qemu/debian-amd64:latest
   stage: test
   needs:
-    - job: build-system-ubuntu
-      artifacts: true
+    - job: build-tools-and-docs-debian
   script:
-    - mkdir public
+    - mkdir -p public
+    # HTML-ised source tree
+    - make gtags
+    - htags -anT --tree-view=filetree -m qemu_init
+        -t "Welcome to the QEMU sourcecode"
+    - mv HTML public/src
+    # Project documentation
     - mv build/docs/index.html public/
     - for i in devel interop specs system tools user ; do mv build/docs/$i public/ ; done
   artifacts:
diff --git a/.travis.yml b/.travis.yml
index f2a101936c..3b574a5968 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -148,22 +148,6 @@ jobs:
         - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
 
 
-    # Check we can build docs and tools (out of tree)
-    - name: "tools and docs (bionic)"
-      dist: bionic
-      env:
-        - BUILD_DIR="out-of-tree/build/dir" SRC_DIR="../../.."
-        - BASE_CONFIG="--enable-tools --enable-docs"
-        - CONFIG="--target-list=x86_64-softmmu,aarch64-linux-user"
-        - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
-      addons:
-        apt:
-          packages:
-            - ninja-build
-            - python3-sphinx
-            - perl
-
-
     # Test with Clang for compile portability (Travis uses clang-5.0)
     - name: "Clang (user)"
       env:
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH  v2 10/12] Fix build with new yank feature by adding stubs
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (8 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 09/12] gitlab: move docs and tools build across from Travis Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 17:47   ` Philippe Mathieu-Daudé
  2021-01-14 16:57 ` [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis Alex Bennée
  2021-01-14 16:57 ` [PATCH v2 12/12] scripts/checkpatch.pl: fix git-show invocation to include diffstat Alex Bennée
  11 siblings, 1 reply; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Lukas Straub, Alex Bennée

From: Lukas Straub <lukasstraub2@web.de>

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
[AJB: tweak MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210114141918.5201cc9c@gecko.fritz.box>
---
 stubs/yank.c      | 29 +++++++++++++++++++++++++++++
 MAINTAINERS       |  1 +
 stubs/meson.build |  1 +
 3 files changed, 31 insertions(+)
 create mode 100644 stubs/yank.c

diff --git a/stubs/yank.c b/stubs/yank.c
new file mode 100644
index 0000000000..6090416065
--- /dev/null
+++ b/stubs/yank.c
@@ -0,0 +1,29 @@
+#include "qemu/osdep.h"
+#include "qemu/yank.h"
+
+bool yank_register_instance(const YankInstance *instance, Error **errp)
+{
+    return true;
+}
+
+void yank_unregister_instance(const YankInstance *instance)
+{
+}
+
+void yank_register_function(const YankInstance *instance,
+                            YankFn *func,
+                            void *opaque)
+{
+}
+
+void yank_unregister_function(const YankInstance *instance,
+                              YankFn *func,
+                              void *opaque)
+{
+}
+
+void yank_generic_iochannel(void *opaque)
+{
+}
+
+
diff --git a/MAINTAINERS b/MAINTAINERS
index cb0656aec3..07e4851aa4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2736,6 +2736,7 @@ Yank feature
 M: Lukas Straub <lukasstraub2@web.de>
 S: Odd fixes
 F: util/yank.c
+F: stubs/yank.c
 F: include/qemu/yank.h
 F: qapi/yank.json
 
diff --git a/stubs/meson.build b/stubs/meson.build
index 80b1d81a31..1a656cd070 100644
--- a/stubs/meson.build
+++ b/stubs/meson.build
@@ -47,6 +47,7 @@ stub_ss.add(files('vm-stop.c'))
 stub_ss.add(files('win32-kbd-hook.c'))
 stub_ss.add(files('cpu-synchronize-state.c'))
 if have_block
+  stub_ss.add(files('yank.c'))
   stub_ss.add(files('replay-tools.c'))
 endif
 if have_system
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (9 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 10/12] Fix build with new yank feature by adding stubs Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 17:57   ` Philippe Mathieu-Daudé
                     ` (2 more replies)
  2021-01-14 16:57 ` [PATCH v2 12/12] scripts/checkpatch.pl: fix git-show invocation to include diffstat Alex Bennée
  11 siblings, 3 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Philippe Mathieu-Daudé,
	Thomas Huth, Alex Bennée, Wainer dos Santos Moschetta

These tests are good at shaking out missing stubs which otherwise work
if we have built targets. Rather than create a new job just add the
checks to the existing tools-and-docs build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .gitlab-ci.yml | 4 +++-
 .travis.yml    | 9 ---------
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bd60f3e741..a686bc40cf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -124,11 +124,13 @@ check-system-debian:
     IMAGE: debian-amd64
     MAKE_CHECK_ARGS: check
 
+# No targets are built here, just tools and docs. This also feeds into
+# the eventual documentation deployment steps later
 build-tools-and-docs-debian:
   <<: *native_build_job_definition
   variables:
     IMAGE: debian-amd64
-    MAKE_CHECK_ARGS: ctags TAGS cscope
+    MAKE_CHECK_ARGS: check-unit check-softfloat ctags TAGS cscope
     CONFIGURE_ARGS: --disable-system --disable-user --enable-docs --enable-tools
   artifacts:
     expire_in: 2 days
diff --git a/.travis.yml b/.travis.yml
index 3b574a5968..5f1dea873e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -119,15 +119,6 @@ after_script:
 
 jobs:
   include:
-    # Just build tools and run minimal unit and softfloat checks
-    - name: "GCC check-unit and check-softfloat"
-      env:
-        - BASE_CONFIG="--enable-tools"
-        - CONFIG="--disable-user --disable-system"
-        - TEST_CMD="make check-unit check-softfloat -j${JOBS}"
-        - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
-
-
     # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower
     - name: "GCC debug (main-softmmu)"
       env:
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH v2 12/12] scripts/checkpatch.pl: fix git-show invocation to include diffstat
  2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
                   ` (10 preceding siblings ...)
  2021-01-14 16:57 ` [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis Alex Bennée
@ 2021-01-14 16:57 ` Alex Bennée
  2021-01-14 18:05   ` Philippe Mathieu-Daudé
  2021-01-14 19:51   ` Willian Rampazzo
  11 siblings, 2 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 16:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

Without this checkpatch keeps complaining about new/changed files even
when MAINTAINERS has been updated. Normal invocations of checkpatch on
patch files rather than commit IDs are unaffected.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 88c858f67c..e47ad878d8 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -399,7 +399,7 @@ if ($chk_branch) {
 	my $num_patches = @patches;
 	for my $hash (@patches) {
 		my $FILE;
-		open($FILE, '-|', "git", "show", $hash) ||
+		open($FILE, '-|', "git", "show", "--patch-with-stat", $hash) ||
 			die "$P: git show $hash - $!\n";
 		while (<$FILE>) {
 			chomp;
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 10/12] Fix build with new yank feature by adding stubs
  2021-01-14 16:57 ` [PATCH v2 10/12] Fix build with new yank feature by adding stubs Alex Bennée
@ 2021-01-14 17:47   ` Philippe Mathieu-Daudé
  2021-01-14 18:50     ` Alex Bennée
  0 siblings, 1 reply; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 17:47 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel; +Cc: Paolo Bonzini, Lukas Straub

On 1/14/21 5:57 PM, Alex Bennée wrote:
> From: Lukas Straub <lukasstraub2@web.de>
> 

Again:

Fixes: 50186051f42 ("Introduce yank feature")

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> Signed-off-by: Lukas Straub <lukasstraub2@web.de>
> [AJB: tweak MAINTAINERS]
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <20210114141918.5201cc9c@gecko.fritz.box>
> ---
>  stubs/yank.c      | 29 +++++++++++++++++++++++++++++
>  MAINTAINERS       |  1 +
>  stubs/meson.build |  1 +
>  3 files changed, 31 insertions(+)
>  create mode 100644 stubs/yank.c
> 
> diff --git a/stubs/yank.c b/stubs/yank.c
> new file mode 100644
> index 0000000000..6090416065
> --- /dev/null
> +++ b/stubs/yank.c
> @@ -0,0 +1,29 @@
> +#include "qemu/osdep.h"
> +#include "qemu/yank.h"
> +
> +bool yank_register_instance(const YankInstance *instance, Error **errp)
> +{
> +    return true;
> +}
> +
> +void yank_unregister_instance(const YankInstance *instance)
> +{
> +}
> +
> +void yank_register_function(const YankInstance *instance,
> +                            YankFn *func,
> +                            void *opaque)
> +{
> +}
> +
> +void yank_unregister_function(const YankInstance *instance,
> +                              YankFn *func,
> +                              void *opaque)
> +{
> +}
> +
> +void yank_generic_iochannel(void *opaque)
> +{
> +}
> +
> +
> diff --git a/MAINTAINERS b/MAINTAINERS
> index cb0656aec3..07e4851aa4 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2736,6 +2736,7 @@ Yank feature
>  M: Lukas Straub <lukasstraub2@web.de>
>  S: Odd fixes
>  F: util/yank.c
> +F: stubs/yank.c
>  F: include/qemu/yank.h
>  F: qapi/yank.json
>  
> diff --git a/stubs/meson.build b/stubs/meson.build
> index 80b1d81a31..1a656cd070 100644
> --- a/stubs/meson.build
> +++ b/stubs/meson.build
> @@ -47,6 +47,7 @@ stub_ss.add(files('vm-stop.c'))
>  stub_ss.add(files('win32-kbd-hook.c'))
>  stub_ss.add(files('cpu-synchronize-state.c'))
>  if have_block
> +  stub_ss.add(files('yank.c'))
>    stub_ss.add(files('replay-tools.c'))
>  endif
>  if have_system
> 



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools
  2021-01-14 16:57 ` [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools Alex Bennée
@ 2021-01-14 17:50   ` Philippe Mathieu-Daudé
  2021-01-14 17:52     ` Daniel P. Berrangé
  2021-01-14 19:41   ` Willian Rampazzo
  1 sibling, 1 reply; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 17:50 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel; +Cc: Fam Zheng, Daniel P . Berrange

Hi Alex,

On 1/14/21 5:57 PM, Alex Bennée wrote:
> This is going to be helpful when we want to both test the tool
> integration and in the case of global generate a xref doc build.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  tests/docker/dockerfiles/debian-amd64.docker | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
> index 55075d9fce..a98314757d 100644
> --- a/tests/docker/dockerfiles/debian-amd64.docker
> +++ b/tests/docker/dockerfiles/debian-amd64.docker
> @@ -1,7 +1,7 @@
>  #
>  # Docker x86_64 target
>  #
> -# This docker target builds on the debian Stretch base image. Further
> +# This docker target builds on the Debian Buster base image. Further
>  # libraries which are not widely available are installed by hand.
>  #
>  FROM qemu/debian10
> @@ -14,7 +14,10 @@ RUN apt update && \
>  RUN apt update && \
>      DEBIAN_FRONTEND=noninteractive eatmydata \
>      apt install -y --no-install-recommends \
> +        cscope \
>          genisoimage \
> +        exuberant-ctags \
> +        global \

This clash with Daniel's series which seems ready (and harder
to rebase):

'start using libvirt-ci's "lcitool" for dockerfiles'
https://www.mail-archive.com/qemu-devel@nongnu.org/msg772839.html

Do you mind getting it merged before your patch?

>          libbz2-dev \
>          liblzo2-dev \
>          libgcrypt20-dev \
> 



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 04/12] Add newline when generating Dockerfile
  2021-01-14 16:57 ` [PATCH v2 04/12] Add newline when generating Dockerfile Alex Bennée
@ 2021-01-14 17:51   ` Philippe Mathieu-Daudé
  2021-01-14 19:42   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 17:51 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel; +Cc: Alessandro Di Federico, Fam Zheng

On 1/14/21 5:57 PM, Alex Bennée wrote:
> From: Alessandro Di Federico <ale@rev.ng>
> 
> Signed-off-by: Alessandro Di Federico <ale@rev.ng>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <1610080146-14968-36-git-send-email-tsimpson@quicinc.com>
> ---
>  tests/docker/docker.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools
  2021-01-14 17:50   ` Philippe Mathieu-Daudé
@ 2021-01-14 17:52     ` Daniel P. Berrangé
  2021-01-14 17:53       ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 36+ messages in thread
From: Daniel P. Berrangé @ 2021-01-14 17:52 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: Fam Zheng, Alex Bennée, qemu-devel

On Thu, Jan 14, 2021 at 06:50:36PM +0100, Philippe Mathieu-Daudé wrote:
> Hi Alex,
> 
> On 1/14/21 5:57 PM, Alex Bennée wrote:
> > This is going to be helpful when we want to both test the tool
> > integration and in the case of global generate a xref doc build.
> > 
> > Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> > ---
> >  tests/docker/dockerfiles/debian-amd64.docker | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
> > index 55075d9fce..a98314757d 100644
> > --- a/tests/docker/dockerfiles/debian-amd64.docker
> > +++ b/tests/docker/dockerfiles/debian-amd64.docker
> > @@ -1,7 +1,7 @@
> >  #
> >  # Docker x86_64 target
> >  #
> > -# This docker target builds on the debian Stretch base image. Further
> > +# This docker target builds on the Debian Buster base image. Further
> >  # libraries which are not widely available are installed by hand.
> >  #
> >  FROM qemu/debian10
> > @@ -14,7 +14,10 @@ RUN apt update && \
> >  RUN apt update && \
> >      DEBIAN_FRONTEND=noninteractive eatmydata \
> >      apt install -y --no-install-recommends \
> > +        cscope \
> >          genisoimage \
> > +        exuberant-ctags \
> > +        global \
> 
> This clash with Daniel's series which seems ready (and harder
> to rebase):
> 
> 'start using libvirt-ci's "lcitool" for dockerfiles'
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg772839.html
> 
> Do you mind getting it merged before your patch?

I don't mind either way. I'll have to get mappings for those three
packages added to libvirt-ci, so that we pull them in on the other
non-debian distros too. Aside from that it is no big deal.

> 
> >          libbz2-dev \
> >          liblzo2-dev \
> >          libgcrypt20-dev \
> > 
> 

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools
  2021-01-14 17:52     ` Daniel P. Berrangé
@ 2021-01-14 17:53       ` Philippe Mathieu-Daudé
  2021-01-14 17:55         ` Daniel P. Berrangé
  0 siblings, 1 reply; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 17:53 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: Fam Zheng, Alex Bennée, qemu-devel

On 1/14/21 6:52 PM, Daniel P. Berrangé wrote:
> On Thu, Jan 14, 2021 at 06:50:36PM +0100, Philippe Mathieu-Daudé wrote:
>> Hi Alex,
>>
>> On 1/14/21 5:57 PM, Alex Bennée wrote:
>>> This is going to be helpful when we want to both test the tool
>>> integration and in the case of global generate a xref doc build.
>>>
>>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>>> ---
>>>  tests/docker/dockerfiles/debian-amd64.docker | 5 ++++-
>>>  1 file changed, 4 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
>>> index 55075d9fce..a98314757d 100644
>>> --- a/tests/docker/dockerfiles/debian-amd64.docker
>>> +++ b/tests/docker/dockerfiles/debian-amd64.docker
>>> @@ -1,7 +1,7 @@
>>>  #
>>>  # Docker x86_64 target
>>>  #
>>> -# This docker target builds on the debian Stretch base image. Further
>>> +# This docker target builds on the Debian Buster base image. Further
>>>  # libraries which are not widely available are installed by hand.
>>>  #
>>>  FROM qemu/debian10
>>> @@ -14,7 +14,10 @@ RUN apt update && \
>>>  RUN apt update && \
>>>      DEBIAN_FRONTEND=noninteractive eatmydata \
>>>      apt install -y --no-install-recommends \
>>> +        cscope \
>>>          genisoimage \
>>> +        exuberant-ctags \
>>> +        global \
>>
>> This clash with Daniel's series which seems ready (and harder
>> to rebase):
>>
>> 'start using libvirt-ci's "lcitool" for dockerfiles'
>> https://www.mail-archive.com/qemu-devel@nongnu.org/msg772839.html
>>
>> Do you mind getting it merged before your patch?
> 
> I don't mind either way. I'll have to get mappings for those three
> packages added to libvirt-ci, so that we pull them in on the other
> non-debian distros too. Aside from that it is no big deal.

Thanks for the quick feedback :)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools
  2021-01-14 17:53       ` Philippe Mathieu-Daudé
@ 2021-01-14 17:55         ` Daniel P. Berrangé
  0 siblings, 0 replies; 36+ messages in thread
From: Daniel P. Berrangé @ 2021-01-14 17:55 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: Fam Zheng, Alex Bennée, qemu-devel

On Thu, Jan 14, 2021 at 06:53:36PM +0100, Philippe Mathieu-Daudé wrote:
> On 1/14/21 6:52 PM, Daniel P. Berrangé wrote:
> > On Thu, Jan 14, 2021 at 06:50:36PM +0100, Philippe Mathieu-Daudé wrote:
> >> Hi Alex,
> >>
> >> On 1/14/21 5:57 PM, Alex Bennée wrote:
> >>> This is going to be helpful when we want to both test the tool
> >>> integration and in the case of global generate a xref doc build.
> >>>
> >>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> >>> ---
> >>>  tests/docker/dockerfiles/debian-amd64.docker | 5 ++++-
> >>>  1 file changed, 4 insertions(+), 1 deletion(-)
> >>>
> >>> diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
> >>> index 55075d9fce..a98314757d 100644
> >>> --- a/tests/docker/dockerfiles/debian-amd64.docker
> >>> +++ b/tests/docker/dockerfiles/debian-amd64.docker
> >>> @@ -1,7 +1,7 @@
> >>>  #
> >>>  # Docker x86_64 target
> >>>  #
> >>> -# This docker target builds on the debian Stretch base image. Further
> >>> +# This docker target builds on the Debian Buster base image. Further
> >>>  # libraries which are not widely available are installed by hand.
> >>>  #
> >>>  FROM qemu/debian10
> >>> @@ -14,7 +14,10 @@ RUN apt update && \
> >>>  RUN apt update && \
> >>>      DEBIAN_FRONTEND=noninteractive eatmydata \
> >>>      apt install -y --no-install-recommends \
> >>> +        cscope \
> >>>          genisoimage \
> >>> +        exuberant-ctags \
> >>> +        global \
> >>
> >> This clash with Daniel's series which seems ready (and harder
> >> to rebase):
> >>
> >> 'start using libvirt-ci's "lcitool" for dockerfiles'
> >> https://www.mail-archive.com/qemu-devel@nongnu.org/msg772839.html
> >>
> >> Do you mind getting it merged before your patch?
> > 
> > I don't mind either way. I'll have to get mappings for those three
> > packages added to libvirt-ci, so that we pull them in on the other
> > non-debian distros too. Aside from that it is no big deal.
> 
> Thanks for the quick feedback :)

Actually my answer was a tangent.  My series doesn't touch the
debian dockerfile(s) at all, only ubuntu, fedora, centos & suse.

I've left debian untouched because QEMU's handling that with layering
so it needs further consideration wrt libvirt-ci auto-generation.

IOW, there is no clash between these series

> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis
  2021-01-14 16:57 ` [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis Alex Bennée
@ 2021-01-14 17:57   ` Philippe Mathieu-Daudé
  2021-01-14 19:00   ` Thomas Huth
  2021-01-14 19:36   ` Willian Rampazzo
  2 siblings, 0 replies; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 17:57 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel
  Cc: Fam Zheng, Thomas Huth, Wainer dos Santos Moschetta

On 1/14/21 5:57 PM, Alex Bennée wrote:
> These tests are good at shaking out missing stubs which otherwise work
> if we have built targets. Rather than create a new job just add the
> checks to the existing tools-and-docs build.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .gitlab-ci.yml | 4 +++-
>  .travis.yml    | 9 ---------
>  2 files changed, 3 insertions(+), 10 deletions(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index bd60f3e741..a686bc40cf 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -124,11 +124,13 @@ check-system-debian:
>      IMAGE: debian-amd64
>      MAKE_CHECK_ARGS: check
>  
> +# No targets are built here, just tools and docs. This also feeds into
> +# the eventual documentation deployment steps later

Correcting with "just tools, docs [and softfloat checks]":
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

>  build-tools-and-docs-debian:
>    <<: *native_build_job_definition
>    variables:
>      IMAGE: debian-amd64
> -    MAKE_CHECK_ARGS: ctags TAGS cscope
> +    MAKE_CHECK_ARGS: check-unit check-softfloat ctags TAGS cscope
>      CONFIGURE_ARGS: --disable-system --disable-user --enable-docs --enable-tools
>    artifacts:
>      expire_in: 2 days
> diff --git a/.travis.yml b/.travis.yml
> index 3b574a5968..5f1dea873e 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -119,15 +119,6 @@ after_script:
>  
>  jobs:
>    include:
> -    # Just build tools and run minimal unit and softfloat checks
> -    - name: "GCC check-unit and check-softfloat"
> -      env:
> -        - BASE_CONFIG="--enable-tools"
> -        - CONFIG="--disable-user --disable-system"
> -        - TEST_CMD="make check-unit check-softfloat -j${JOBS}"
> -        - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
> -
> -
>      # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower
>      - name: "GCC debug (main-softmmu)"
>        env:
> 



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 12/12] scripts/checkpatch.pl: fix git-show invocation to include diffstat
  2021-01-14 16:57 ` [PATCH v2 12/12] scripts/checkpatch.pl: fix git-show invocation to include diffstat Alex Bennée
@ 2021-01-14 18:05   ` Philippe Mathieu-Daudé
  2021-01-14 19:51   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 18:05 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel

On 1/14/21 5:57 PM, Alex Bennée wrote:
> Without this checkpatch keeps complaining about new/changed files even
> when MAINTAINERS has been updated. Normal invocations of checkpatch on
> patch files rather than commit IDs are unaffected.
> 

Nice!

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
(with Lukas's path and yours)

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  scripts/checkpatch.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 05/12] Makefile: wrap ctags in quiet-command calls
  2021-01-14 16:57 ` [PATCH v2 05/12] Makefile: wrap ctags in quiet-command calls Alex Bennée
@ 2021-01-14 18:07   ` Philippe Mathieu-Daudé
  2021-01-14 19:46   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 18:07 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel

On 1/14/21 5:57 PM, Alex Bennée wrote:
> For prettier output.

Having commit description following patch subject is not very
practical (maybe this is obvious in an emacs client, not in
mine :S).

Anyhow:
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  Makefile | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 06/12] Makefile: wrap etags in quiet-command calls
  2021-01-14 16:57 ` [PATCH v2 06/12] Makefile: wrap etags " Alex Bennée
@ 2021-01-14 18:08   ` Philippe Mathieu-Daudé
  2021-01-14 19:48   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 18:08 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel

On 1/14/21 5:57 PM, Alex Bennée wrote:
> For prettier output.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  Makefile | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 07/12] Makefile: wrap cscope in quiet-command calls
  2021-01-14 16:57 ` [PATCH v2 07/12] Makefile: wrap cscope " Alex Bennée
@ 2021-01-14 18:08   ` Philippe Mathieu-Daudé
  2021-01-14 19:45   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 18:08 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel

On 1/14/21 5:57 PM, Alex Bennée wrote:
> For prettier output.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  Makefile | 14 +++++++++++---
>  1 file changed, 11 insertions(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 02/12] Makefile: add GNU global tags support
  2021-01-14 16:57 ` [PATCH v2 02/12] Makefile: add GNU global tags support Alex Bennée
@ 2021-01-14 18:09   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 36+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-14 18:09 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel

On 1/14/21 5:57 PM, Alex Bennée wrote:
> GNU Global is another tags engine which is more like cscope in being
> able to support finding both references and definitions. You will be
> un-surprised to know it also integrates well with Emacs.
> 
> The main benefit of integrating it into find-src-path is it takes less
> time to rebuild the database from scratch when you have a lot of build
> directories under your source tree.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> 
> ---
> v2
>   - run in SRC_PATH
>   - wrap in quiet-command
> ---
>  Makefile   | 14 +++++++++++++-
>  .gitignore |  3 +++
>  2 files changed, 16 insertions(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 10/12] Fix build with new yank feature by adding stubs
  2021-01-14 17:47   ` Philippe Mathieu-Daudé
@ 2021-01-14 18:50     ` Alex Bennée
  0 siblings, 0 replies; 36+ messages in thread
From: Alex Bennée @ 2021-01-14 18:50 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: Paolo Bonzini, Lukas Straub, qemu-devel


Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> On 1/14/21 5:57 PM, Alex Bennée wrote:
>> From: Lukas Straub <lukasstraub2@web.de>
>> 
>
> Again:
>
> Fixes: 50186051f42 ("Introduce yank feature")
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Hmm I need to improve my tooling to pick up the Fixes and add a TODO.

>
>> Signed-off-by: Lukas Straub <lukasstraub2@web.de>
>> [AJB: tweak MAINTAINERS]
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> Message-Id: <20210114141918.5201cc9c@gecko.fritz.box>
>> ---
>>  stubs/yank.c      | 29 +++++++++++++++++++++++++++++
>>  MAINTAINERS       |  1 +
>>  stubs/meson.build |  1 +
>>  3 files changed, 31 insertions(+)
>>  create mode 100644 stubs/yank.c
>> 
>> diff --git a/stubs/yank.c b/stubs/yank.c
>> new file mode 100644
>> index 0000000000..6090416065
>> --- /dev/null
>> +++ b/stubs/yank.c
>> @@ -0,0 +1,29 @@
>> +#include "qemu/osdep.h"
>> +#include "qemu/yank.h"
>> +
>> +bool yank_register_instance(const YankInstance *instance, Error **errp)
>> +{
>> +    return true;
>> +}
>> +
>> +void yank_unregister_instance(const YankInstance *instance)
>> +{
>> +}
>> +
>> +void yank_register_function(const YankInstance *instance,
>> +                            YankFn *func,
>> +                            void *opaque)
>> +{
>> +}
>> +
>> +void yank_unregister_function(const YankInstance *instance,
>> +                              YankFn *func,
>> +                              void *opaque)
>> +{
>> +}
>> +
>> +void yank_generic_iochannel(void *opaque)
>> +{
>> +}
>> +
>> +
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index cb0656aec3..07e4851aa4 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -2736,6 +2736,7 @@ Yank feature
>>  M: Lukas Straub <lukasstraub2@web.de>
>>  S: Odd fixes
>>  F: util/yank.c
>> +F: stubs/yank.c
>>  F: include/qemu/yank.h
>>  F: qapi/yank.json
>>  
>> diff --git a/stubs/meson.build b/stubs/meson.build
>> index 80b1d81a31..1a656cd070 100644
>> --- a/stubs/meson.build
>> +++ b/stubs/meson.build
>> @@ -47,6 +47,7 @@ stub_ss.add(files('vm-stop.c'))
>>  stub_ss.add(files('win32-kbd-hook.c'))
>>  stub_ss.add(files('cpu-synchronize-state.c'))
>>  if have_block
>> +  stub_ss.add(files('yank.c'))
>>    stub_ss.add(files('replay-tools.c'))
>>  endif
>>  if have_system
>> 


-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis
  2021-01-14 16:57 ` [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis Alex Bennée
  2021-01-14 17:57   ` Philippe Mathieu-Daudé
@ 2021-01-14 19:00   ` Thomas Huth
  2021-01-14 19:36   ` Willian Rampazzo
  2 siblings, 0 replies; 36+ messages in thread
From: Thomas Huth @ 2021-01-14 19:00 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel
  Cc: Fam Zheng, Philippe Mathieu-Daudé, Wainer dos Santos Moschetta

On 14/01/2021 17.57, Alex Bennée wrote:
> These tests are good at shaking out missing stubs which otherwise work
> if we have built targets. Rather than create a new job just add the
> checks to the existing tools-and-docs build.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   .gitlab-ci.yml | 4 +++-
>   .travis.yml    | 9 ---------
>   2 files changed, 3 insertions(+), 10 deletions(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index bd60f3e741..a686bc40cf 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -124,11 +124,13 @@ check-system-debian:
>       IMAGE: debian-amd64
>       MAKE_CHECK_ARGS: check
>   
> +# No targets are built here, just tools and docs. This also feeds into
> +# the eventual documentation deployment steps later
>   build-tools-and-docs-debian:
>     <<: *native_build_job_definition
>     variables:
>       IMAGE: debian-amd64
> -    MAKE_CHECK_ARGS: ctags TAGS cscope
> +    MAKE_CHECK_ARGS: check-unit check-softfloat ctags TAGS cscope
>       CONFIGURE_ARGS: --disable-system --disable-user --enable-docs --enable-tools
>     artifacts:
>       expire_in: 2 days
> diff --git a/.travis.yml b/.travis.yml
> index 3b574a5968..5f1dea873e 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -119,15 +119,6 @@ after_script:
>   
>   jobs:
>     include:
> -    # Just build tools and run minimal unit and softfloat checks
> -    - name: "GCC check-unit and check-softfloat"
> -      env:
> -        - BASE_CONFIG="--enable-tools"
> -        - CONFIG="--disable-user --disable-system"
> -        - TEST_CMD="make check-unit check-softfloat -j${JOBS}"
> -        - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-default"
> -
> -
>       # --enable-debug implies --enable-debug-tcg, also runs quite a bit slower
>       - name: "GCC debug (main-softmmu)"
>         env:
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis
  2021-01-14 16:57 ` [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis Alex Bennée
  2021-01-14 17:57   ` Philippe Mathieu-Daudé
  2021-01-14 19:00   ` Thomas Huth
@ 2021-01-14 19:36   ` Willian Rampazzo
  2 siblings, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 19:36 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Fam Zheng, Thomas Huth, Philippe Mathieu-Daudé,
	qemu-devel, Wainer dos Santos Moschetta

On Thu, Jan 14, 2021 at 2:27 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> These tests are good at shaking out missing stubs which otherwise work
> if we have built targets. Rather than create a new job just add the
> checks to the existing tools-and-docs build.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .gitlab-ci.yml | 4 +++-
>  .travis.yml    | 9 ---------
>  2 files changed, 3 insertions(+), 10 deletions(-)
>

And, it helps moving out of Travis.

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools
  2021-01-14 16:57 ` [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools Alex Bennée
  2021-01-14 17:50   ` Philippe Mathieu-Daudé
@ 2021-01-14 19:41   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 19:41 UTC (permalink / raw)
  To: Alex Bennée; +Cc: Fam Zheng, Philippe Mathieu-Daudé, qemu-devel

On Thu, Jan 14, 2021 at 2:25 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> This is going to be helpful when we want to both test the tool
> integration and in the case of global generate a xref doc build.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  tests/docker/dockerfiles/debian-amd64.docker | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 04/12] Add newline when generating Dockerfile
  2021-01-14 16:57 ` [PATCH v2 04/12] Add newline when generating Dockerfile Alex Bennée
  2021-01-14 17:51   ` Philippe Mathieu-Daudé
@ 2021-01-14 19:42   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 19:42 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Alessandro Di Federico, Fam Zheng, Philippe Mathieu-Daudé,
	qemu-devel

On Thu, Jan 14, 2021 at 2:37 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> From: Alessandro Di Federico <ale@rev.ng>
>
> Signed-off-by: Alessandro Di Federico <ale@rev.ng>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Message-Id: <1610080146-14968-36-git-send-email-tsimpson@quicinc.com>
> ---
>  tests/docker/docker.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 07/12] Makefile: wrap cscope in quiet-command calls
  2021-01-14 16:57 ` [PATCH v2 07/12] Makefile: wrap cscope " Alex Bennée
  2021-01-14 18:08   ` Philippe Mathieu-Daudé
@ 2021-01-14 19:45   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 19:45 UTC (permalink / raw)
  To: Alex Bennée; +Cc: qemu-devel

On Thu, Jan 14, 2021 at 2:29 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> For prettier output.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  Makefile | 14 +++++++++++---
>  1 file changed, 11 insertions(+), 3 deletions(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 05/12] Makefile: wrap ctags in quiet-command calls
  2021-01-14 16:57 ` [PATCH v2 05/12] Makefile: wrap ctags in quiet-command calls Alex Bennée
  2021-01-14 18:07   ` Philippe Mathieu-Daudé
@ 2021-01-14 19:46   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 19:46 UTC (permalink / raw)
  To: Alex Bennée; +Cc: qemu-devel

On Thu, Jan 14, 2021 at 2:21 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> For prettier output.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  Makefile | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 06/12] Makefile: wrap etags in quiet-command calls
  2021-01-14 16:57 ` [PATCH v2 06/12] Makefile: wrap etags " Alex Bennée
  2021-01-14 18:08   ` Philippe Mathieu-Daudé
@ 2021-01-14 19:48   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 19:48 UTC (permalink / raw)
  To: Alex Bennée; +Cc: qemu-devel

On Thu, Jan 14, 2021 at 2:41 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> For prettier output.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  Makefile | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 12/12] scripts/checkpatch.pl: fix git-show invocation to include diffstat
  2021-01-14 16:57 ` [PATCH v2 12/12] scripts/checkpatch.pl: fix git-show invocation to include diffstat Alex Bennée
  2021-01-14 18:05   ` Philippe Mathieu-Daudé
@ 2021-01-14 19:51   ` Willian Rampazzo
  1 sibling, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 19:51 UTC (permalink / raw)
  To: Alex Bennée; +Cc: qemu-devel

On Thu, Jan 14, 2021 at 2:22 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> Without this checkpatch keeps complaining about new/changed files even
> when MAINTAINERS has been updated. Normal invocations of checkpatch on
> patch files rather than commit IDs are unaffected.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  scripts/checkpatch.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 09/12] gitlab: move docs and tools build across from Travis
  2021-01-14 16:57 ` [PATCH v2 09/12] gitlab: move docs and tools build across from Travis Alex Bennée
@ 2021-01-14 19:54   ` Willian Rampazzo
  0 siblings, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 19:54 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Fam Zheng, Thomas Huth, Philippe Mathieu-Daudé,
	qemu-devel, Wainer dos Santos Moschetta

On Thu, Jan 14, 2021 at 2:46 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> While we are at it we might as well check the tag generation. For
> bonus points we run GNU globals htags into the public pages directory
> for publishing with the auto generated pages.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
> Acked-by: Thomas Huth <thuth@redhat.com>
>
> ---
> v2
>   - explicit disable-system/user
>   - add some comments, reduce size of HTML dump
> ---
>  .gitlab-ci.yml | 28 ++++++++++++++++++++++------
>  .travis.yml    | 16 ----------------
>  2 files changed, 22 insertions(+), 22 deletions(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v2 01/12] tests/docker: Remove Debian 9 remnant lines
  2021-01-14 16:57 ` [PATCH v2 01/12] tests/docker: Remove Debian 9 remnant lines Alex Bennée
@ 2021-01-14 20:03   ` Willian Rampazzo
  0 siblings, 0 replies; 36+ messages in thread
From: Willian Rampazzo @ 2021-01-14 20:03 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Fam Zheng, Thomas Huth, Philippe Mathieu-Daudé,
	qemu-devel, Philippe Mathieu-Daudé

On Thu, Jan 14, 2021 at 2:33 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
>
> Debian 9 base container has been removed in commits
> e3755276d1f and c9d78b06c06. Remove the last remnants.
>
> Fixes: e3755276d1f ("tests/docker: Remove old Debian 9 containers")
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> Message-Id: <20210107072933.3828450-1-f4bug@amsat.org>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> ---
>  tests/docker/Makefile.include | 1 -
>  1 file changed, 1 deletion(-)
>

Reviewed-by: Willian Rampazzo <willianr@redhat.com>



^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2021-01-14 20:09 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 16:57 [PATCH v2 00/12] testing/next (tags!, shippable/travis deprecation, regression fixes, checkpatch) Alex Bennée
2021-01-14 16:57 ` [PATCH v2 01/12] tests/docker: Remove Debian 9 remnant lines Alex Bennée
2021-01-14 20:03   ` Willian Rampazzo
2021-01-14 16:57 ` [PATCH v2 02/12] Makefile: add GNU global tags support Alex Bennée
2021-01-14 18:09   ` Philippe Mathieu-Daudé
2021-01-14 16:57 ` [PATCH v2 03/12] shippable.yml: Remove jobs duplicated on Gitlab-CI Alex Bennée
2021-01-14 16:57 ` [PATCH v2 04/12] Add newline when generating Dockerfile Alex Bennée
2021-01-14 17:51   ` Philippe Mathieu-Daudé
2021-01-14 19:42   ` Willian Rampazzo
2021-01-14 16:57 ` [PATCH v2 05/12] Makefile: wrap ctags in quiet-command calls Alex Bennée
2021-01-14 18:07   ` Philippe Mathieu-Daudé
2021-01-14 19:46   ` Willian Rampazzo
2021-01-14 16:57 ` [PATCH v2 06/12] Makefile: wrap etags " Alex Bennée
2021-01-14 18:08   ` Philippe Mathieu-Daudé
2021-01-14 19:48   ` Willian Rampazzo
2021-01-14 16:57 ` [PATCH v2 07/12] Makefile: wrap cscope " Alex Bennée
2021-01-14 18:08   ` Philippe Mathieu-Daudé
2021-01-14 19:45   ` Willian Rampazzo
2021-01-14 16:57 ` [PATCH v2 08/12] docker: expand debian-amd64 image to include tag tools Alex Bennée
2021-01-14 17:50   ` Philippe Mathieu-Daudé
2021-01-14 17:52     ` Daniel P. Berrangé
2021-01-14 17:53       ` Philippe Mathieu-Daudé
2021-01-14 17:55         ` Daniel P. Berrangé
2021-01-14 19:41   ` Willian Rampazzo
2021-01-14 16:57 ` [PATCH v2 09/12] gitlab: move docs and tools build across from Travis Alex Bennée
2021-01-14 19:54   ` Willian Rampazzo
2021-01-14 16:57 ` [PATCH v2 10/12] Fix build with new yank feature by adding stubs Alex Bennée
2021-01-14 17:47   ` Philippe Mathieu-Daudé
2021-01-14 18:50     ` Alex Bennée
2021-01-14 16:57 ` [PATCH v2 11/12] gitlab: migrate the minimal tools and unit tests from Travis Alex Bennée
2021-01-14 17:57   ` Philippe Mathieu-Daudé
2021-01-14 19:00   ` Thomas Huth
2021-01-14 19:36   ` Willian Rampazzo
2021-01-14 16:57 ` [PATCH v2 12/12] scripts/checkpatch.pl: fix git-show invocation to include diffstat Alex Bennée
2021-01-14 18:05   ` Philippe Mathieu-Daudé
2021-01-14 19:51   ` Willian Rampazzo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.