All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH 1/2] docker-compose: drop patches from the removed python version
@ 2023-11-28 10:35 Jose Quaresma
  2023-11-28 10:35 ` [meta-virtualization][PATCH 2/2] docker-compose: v2.20.3 -> v2.21.0 Jose Quaresma
  0 siblings, 1 reply; 4+ messages in thread
From: Jose Quaresma @ 2023-11-28 10:35 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Jose Quaresma

Drop unused patches from the python version removed in 7bd56074.

https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/docker-compose?id=7bd56074fece944ef9279d87106eb16452ec6338

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---

v2: tweak the commit message

 ...0001-setup.py-import-fastentrypoints.patch | 28 ---------
 ...-remove-maximum-version-requirements.patch | 57 -------------------
 2 files changed, 85 deletions(-)
 delete mode 100644 recipes-containers/docker-compose/files/0001-setup.py-import-fastentrypoints.patch
 delete mode 100644 recipes-containers/docker-compose/files/0001-setup.py-remove-maximum-version-requirements.patch

diff --git a/recipes-containers/docker-compose/files/0001-setup.py-import-fastentrypoints.patch b/recipes-containers/docker-compose/files/0001-setup.py-import-fastentrypoints.patch
deleted file mode 100644
index df613e8..0000000
--- a/recipes-containers/docker-compose/files/0001-setup.py-import-fastentrypoints.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From f3a22f0f14a4b3313e6405dfb6c97df949493a34 Mon Sep 17 00:00:00 2001
-From: Ming Liu <liu.ming50@gmail.com>
-Date: Thu, 30 Jan 2020 17:22:19 +0100
-Subject: [PATCH] setup.py: import fastentrypoints
-
-Upstream-Status: Inappropriate [OE specific configuration]
-
-Signed-off-by: Ming Liu <liu.ming50@gmail.com>
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index ad57969..3cccffc 100644
---- a/setup.py
-+++ b/setup.py
-@@ -12,7 +12,7 @@ import sys
- import pkg_resources
- from setuptools import find_packages
- from setuptools import setup
--
-+import fastentrypoints
- 
- def read(*parts):
-     path = os.path.join(os.path.dirname(__file__), *parts)
--- 
-2.7.4
-
diff --git a/recipes-containers/docker-compose/files/0001-setup.py-remove-maximum-version-requirements.patch b/recipes-containers/docker-compose/files/0001-setup.py-remove-maximum-version-requirements.patch
deleted file mode 100644
index 7205d3b..0000000
--- a/recipes-containers/docker-compose/files/0001-setup.py-remove-maximum-version-requirements.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From e3aca6421e003d03d119e69bf3d6b30bb5c662c9 Mon Sep 17 00:00:00 2001
-From: Chen Qi <Qi.Chen@windriver.com>
-Date: Fri, 22 Nov 2019 09:24:58 +0800
-Subject: [PATCH] setup.py: remove maximum version requirements
-
-Remove maximum version requirements so that docker-compose will not
-require old version recipes.
-
-Upstream-Status: Inappropriate [OE Specific]
-
-Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-Signed-off-by: Ming Liu <liu.ming50@gmail.com>
----
- setup.py | 24 ++++++++++++------------
- 1 file changed, 12 insertions(+), 12 deletions(-)
-
-Index: docker-compose-1.29.1/setup.py
-===================================================================
---- docker-compose-1.29.1.orig/setup.py
-+++ docker-compose-1.29.1/setup.py
-@@ -25,16 +25,21 @@
- 
- 
- install_requires = [
--    'docopt >= 0.6.1, < 1',
--    'PyYAML >= 3.10, < 6',
--    'requests >= 2.20.0, < 3',
--    'texttable >= 0.9.0, < 2',
-+    'docopt >= 0.6.1',
-+    'PyYAML >= 3.10',
-+    'requests >= 2.20.0',
-+    'texttable >= 0.9.0',
-     'websocket-client >= 0.32.0, < 1',
-     'distro >= 1.5.0, < 2',
--    'docker[ssh] >= 5',
-+    'docker[ssh] >= 4.4.0, < 5',
-     'dockerpty >= 0.4.1, < 1',
-     'jsonschema >= 2.5.1, < 4',
--    'python-dotenv >= 0.13.0, < 1',
-+    'websocket-client >= 0.32.0',
-+    'distro >= 1.5.0',
-+    'docker[ssh] >= 5',
-+    'dockerpty >= 0.4.1',
-+    'jsonschema >= 2.5.1',
-+    'python-dotenv >= 0.13.0',
- ]
- 
- 
-@@ -51,7 +56,7 @@
-     ':python_version < "3.5"': ['backports.ssl_match_hostname >= 3.5, < 4'],
-     ':python_version < "3.8"': ['cached-property >= 1.2.0, < 2'],
-     ':sys_platform == "win32"': ['colorama >= 0.4, < 1'],
--    'socks': ['PySocks >= 1.5.6, != 1.5.7, < 2'],
-+    'socks': ['PySocks >= 1.5.6, != 1.5.7'],
-     'tests': tests_require,
- }
- 
-- 
2.43.0



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

* [meta-virtualization][PATCH 2/2] docker-compose: v2.20.3 -> v2.21.0
  2023-11-28 10:35 [meta-virtualization][PATCH 1/2] docker-compose: drop patches from the removed python version Jose Quaresma
@ 2023-11-28 10:35 ` Jose Quaresma
  2023-12-04 21:03   ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Jose Quaresma @ 2023-11-28 10:35 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Jose Quaresma

- d6f842b0 test: e2e test reliability improvements (#10950)
- 4fbbf201 build(deps): upgrade to compose-go v1.18.3 (#10947)
- 935d72f4 added the dot at the end of the sentence
- 41682acc add support for attributes exposed by `docker ps`
- 1054792b align docker compose ps with docker CLI to support --format
- 19f66918 watch: only allow a single instance per-project
- 186744e0 ci: bump golangci-lint to v1.54.2
- bc9d696f Merge pull request #10922 from thaJeztah/replace_dockerignore
- 6204fb1c logs: fix for missing output on container exit (#10925)
- 5d732010 replace dockerfile/dockerignore with patternmatcher/ignorefile
- 2006f3fe go.mod: github.com/moby/patternmatcher v0.6.0
- 192718c0 go.mod: remove some outdated comments
- c79f67fe otel: add `include` to project up span
- 3b294bfd build(deps): bump github.com/compose-spec/compose-go from 1.18.1 to 1.18.2 (#10915)
- dd34f7a2 include: add experimental support for Git resources (#10811)
- caad7271 up: handle various attach use cases better
- 792afb8d build: use correct values for proxy variables (#10908)
- 150449bb warn user secret uid/gid/mode is not supported

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---

There are more versions available but they require go 1.21 so this is the latest wich support 1.20
| cmd/compose/create.go:22:2: package slices is not in GOROOT (/lmp/build-lmp-intel-corei7-64-main-next-container/tmp-lmp/work/corei7-64-lmp-linux/docker-compose/v2.23.0/recipe-sysroot/usr/lib/go/src/sl>
| note: imported by a module that requires go 1.21

v2: tweak the commit message

 .../docker-compose/docker-compose_git.bb        |  4 ++--
 .../docker-compose/files/modules.txt            |  6 ++++--
 .../docker-compose/relocation.inc               |  7 ++++---
 recipes-containers/docker-compose/src_uri.inc   | 17 +++++++++++------
 4 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/recipes-containers/docker-compose/docker-compose_git.bb b/recipes-containers/docker-compose/docker-compose_git.bb
index f6a2502..092ce3d 100644
--- a/recipes-containers/docker-compose/docker-compose_git.bb
+++ b/recipes-containers/docker-compose/docker-compose_git.bb
@@ -9,7 +9,7 @@ DEPENDS = " \
 
 # Specify the first two important SRCREVs as the format
 SRCREV_FORMAT="compose_survey"
-SRCREV_compose = "8d0df1876296bc639614653ba5de38a377da5356"
+SRCREV_compose = "d6f842b042d2f2926901305336527b3eaadf067a"
 
 SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https"
 
@@ -23,7 +23,7 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=175792518e4ac015ab6696d16c4f60
 
 GO_IMPORT = "import"
 
-PV = "v2.20.3"
+PV = "v2.21.0"
 
 COMPOSE_PKG = "github.com/docker/compose/v2"
 
diff --git a/recipes-containers/docker-compose/files/modules.txt b/recipes-containers/docker-compose/files/modules.txt
index 0ba3cd1..d287d12 100644
--- a/recipes-containers/docker-compose/files/modules.txt
+++ b/recipes-containers/docker-compose/files/modules.txt
@@ -2,9 +2,11 @@
 ## explicit
 # github.com/Microsoft/go-winio v0.6.1
 ## explicit
+# github.com/adrg/xdg v0.4.0
+## explicit
 # github.com/buger/goterm v1.0.4
 ## explicit
-# github.com/compose-spec/compose-go v1.18.1
+# github.com/compose-spec/compose-go v1.18.3
 ## explicit
 # github.com/containerd/console v1.0.3
 ## explicit
@@ -42,7 +44,7 @@
 ## explicit
 # github.com/moby/buildkit v0.12.1
 ## explicit
-# github.com/moby/patternmatcher v0.5.0
+# github.com/moby/patternmatcher v0.6.0
 ## explicit
 # github.com/moby/term v0.5.0
 ## explicit
diff --git a/recipes-containers/docker-compose/relocation.inc b/recipes-containers/docker-compose/relocation.inc
index a1a12c8..9e6eacf 100644
--- a/recipes-containers/docker-compose/relocation.inc
+++ b/recipes-containers/docker-compose/relocation.inc
@@ -19,6 +19,7 @@ export sites="k8s.io/api:k8s.io/api:force \
            golang.org/x/time:golang.org/x/time:force \
            go.uber.org/goleak:go.uber.org/goleak:force \
            golang.org/x/tools:golang.org/x/tools:force \
+           github.com/adrg/xdg:github.com/adrg/xdg:force \
            golang.org/x/crypto:golang.org/x/crypto:force \
            golang.org/x/oauth2:golang.org/x/oauth2:force \
            k8s.io/apimachinery:k8s.io/apimachinery:force \
@@ -189,9 +190,9 @@ do_compile:prepend() {
         force_flag=$(echo $s | cut -d: -f3)
         mkdir -p vendor.copy/$site_dest
         if [ -n "$force_flag" ]; then
-	    echo "[INFO] $site_dest: force copying .go files"
-	    rm -rf vendor.copy/$site_dest
-	    rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest
+            echo "[INFO] $site_dest: force copying .go files"
+            rm -rf vendor.copy/$site_dest
+            rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest
         else
             [ -n "$(ls -A vendor.copy/$site_dest/*.go 2> /dev/null)" ] && { echo "[INFO] vendor.fetch/$site_source -> $site_dest: go copy skipped (files present)" ; true ; } || { echo "[INFO] $site_dest: copying .go files" ; rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest ; }
         fi
diff --git a/recipes-containers/docker-compose/src_uri.inc b/recipes-containers/docker-compose/src_uri.inc
index 1194804..8897c9c 100644
--- a/recipes-containers/docker-compose/src_uri.inc
+++ b/recipes-containers/docker-compose/src_uri.inc
@@ -103,6 +103,11 @@ SRC_URI += "git://github.com/uber-go/goleak;name=goleak;protocol=https;nobranch=
 SRCREV_tools="031fc75960d487b0b15db12fb328676236a3a39c"
 SRC_URI += "git://go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/tools"
 
+#       github.com/adrg/xdg v0.4.0
+# [1] git ls-remote https://github.com/adrg/xdg 4ec40e24f0cf1039f93c773f2984decdea9719b5
+SRCREV_xdg="4ec40e24f0cf1039f93c773f2984decdea9719b5"
+SRC_URI += "git://github.com/adrg/xdg;name=xdg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/adrg/xdg"
+
 #       golang.org/x/crypto v0.7.0
 # [1] git ls-remote https://go.googlesource.com/crypto 776e461a4e6d8b372a43c72122c5c28cfc40dca2
 SRCREV_crypto="776e461a4e6d8b372a43c72122c5c28cfc40dca2"
@@ -558,9 +563,9 @@ SRC_URI += "git://github.com/jonboulle/clockwork;name=clockwork;protocol=https;n
 SRCREV_go-shellwords="973b9d5391598d4ee601db46fa32f6e186a356ac"
 SRC_URI += "git://github.com/mattn/go-shellwords;name=go-shellwords;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-shellwords"
 
-#       github.com/moby/patternmatcher v0.5.0
-# [1] git ls-remote https://github.com/moby/patternmatcher c5e4b22c8cb290f9439a339c08bba6cb13aa296d
-SRCREV_patternmatcher="c5e4b22c8cb290f9439a339c08bba6cb13aa296d"
+#       github.com/moby/patternmatcher v0.6.0
+# [1] git ls-remote https://github.com/moby/patternmatcher 347bb8d8d557f90d1b75cd8bca3c0177f380a979
+SRCREV_patternmatcher="347bb8d8d557f90d1b75cd8bca3c0177f380a979"
 SRC_URI += "git://github.com/moby/patternmatcher;name=patternmatcher;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/patternmatcher"
 
 #       go.opentelemetry.io/otel/trace v1.14.0
@@ -698,9 +703,9 @@ SRC_URI += "git://github.com/in-toto/in-toto-golang;name=in-toto-golang;protocol
 SRCREV_go-shellquote="95032a82bc518f77982ea72343cc1ade730072f0"
 SRC_URI += "git://github.com/kballard/go-shellquote;name=go-shellquote;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/kballard/go-shellquote"
 
-#       github.com/compose-spec/compose-go v1.18.1
-# [1] git ls-remote https://github.com/compose-spec/compose-go 45494a8f6b0176d040c82577f82c84377426a9e6
-SRCREV_compose-go="45494a8f6b0176d040c82577f82c84377426a9e6"
+#       github.com/compose-spec/compose-go v1.18.3
+# [1] git ls-remote https://github.com/compose-spec/compose-go c6eecc55b95f952b6d6406adcd297499d11a300b
+SRCREV_compose-go="c6eecc55b95f952b6d6406adcd297499d11a300b"
 SRC_URI += "git://github.com/compose-spec/compose-go;name=compose-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/compose-spec/compose-go"
 
 #       github.com/hashicorp/go-multierror v1.1.1
-- 
2.43.0



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

* Re: [meta-virtualization][PATCH 2/2] docker-compose: v2.20.3 -> v2.21.0
  2023-11-28 10:35 ` [meta-virtualization][PATCH 2/2] docker-compose: v2.20.3 -> v2.21.0 Jose Quaresma
@ 2023-12-04 21:03   ` Bruce Ashfield
  2023-12-05 10:10     ` Jose Quaresma
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2023-12-04 21:03 UTC (permalink / raw)
  To: Jose Quaresma; +Cc: meta-virtualization, Jose Quaresma

merged.

I've pushed my wip update to newer docker-compose versions to
master-next. Once oe-core updates go, I'll complete that effort.

Bruce

In message: [meta-virtualization][PATCH 2/2] docker-compose: v2.20.3 -> v2.21.0
on 28/11/2023 Jose Quaresma wrote:

> - d6f842b0 test: e2e test reliability improvements (#10950)
> - 4fbbf201 build(deps): upgrade to compose-go v1.18.3 (#10947)
> - 935d72f4 added the dot at the end of the sentence
> - 41682acc add support for attributes exposed by `docker ps`
> - 1054792b align docker compose ps with docker CLI to support --format
> - 19f66918 watch: only allow a single instance per-project
> - 186744e0 ci: bump golangci-lint to v1.54.2
> - bc9d696f Merge pull request #10922 from thaJeztah/replace_dockerignore
> - 6204fb1c logs: fix for missing output on container exit (#10925)
> - 5d732010 replace dockerfile/dockerignore with patternmatcher/ignorefile
> - 2006f3fe go.mod: github.com/moby/patternmatcher v0.6.0
> - 192718c0 go.mod: remove some outdated comments
> - c79f67fe otel: add `include` to project up span
> - 3b294bfd build(deps): bump github.com/compose-spec/compose-go from 1.18.1 to 1.18.2 (#10915)
> - dd34f7a2 include: add experimental support for Git resources (#10811)
> - caad7271 up: handle various attach use cases better
> - 792afb8d build: use correct values for proxy variables (#10908)
> - 150449bb warn user secret uid/gid/mode is not supported
> 
> Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> ---
> 
> There are more versions available but they require go 1.21 so this is the latest wich support 1.20
> | cmd/compose/create.go:22:2: package slices is not in GOROOT (/lmp/build-lmp-intel-corei7-64-main-next-container/tmp-lmp/work/corei7-64-lmp-linux/docker-compose/v2.23.0/recipe-sysroot/usr/lib/go/src/sl>
> | note: imported by a module that requires go 1.21
> 
> v2: tweak the commit message
> 
>  .../docker-compose/docker-compose_git.bb        |  4 ++--
>  .../docker-compose/files/modules.txt            |  6 ++++--
>  .../docker-compose/relocation.inc               |  7 ++++---
>  recipes-containers/docker-compose/src_uri.inc   | 17 +++++++++++------
>  4 files changed, 21 insertions(+), 13 deletions(-)
> 
> diff --git a/recipes-containers/docker-compose/docker-compose_git.bb b/recipes-containers/docker-compose/docker-compose_git.bb
> index f6a2502..092ce3d 100644
> --- a/recipes-containers/docker-compose/docker-compose_git.bb
> +++ b/recipes-containers/docker-compose/docker-compose_git.bb
> @@ -9,7 +9,7 @@ DEPENDS = " \
>  
>  # Specify the first two important SRCREVs as the format
>  SRCREV_FORMAT="compose_survey"
> -SRCREV_compose = "8d0df1876296bc639614653ba5de38a377da5356"
> +SRCREV_compose = "d6f842b042d2f2926901305336527b3eaadf067a"
>  
>  SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https"
>  
> @@ -23,7 +23,7 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=175792518e4ac015ab6696d16c4f60
>  
>  GO_IMPORT = "import"
>  
> -PV = "v2.20.3"
> +PV = "v2.21.0"
>  
>  COMPOSE_PKG = "github.com/docker/compose/v2"
>  
> diff --git a/recipes-containers/docker-compose/files/modules.txt b/recipes-containers/docker-compose/files/modules.txt
> index 0ba3cd1..d287d12 100644
> --- a/recipes-containers/docker-compose/files/modules.txt
> +++ b/recipes-containers/docker-compose/files/modules.txt
> @@ -2,9 +2,11 @@
>  ## explicit
>  # github.com/Microsoft/go-winio v0.6.1
>  ## explicit
> +# github.com/adrg/xdg v0.4.0
> +## explicit
>  # github.com/buger/goterm v1.0.4
>  ## explicit
> -# github.com/compose-spec/compose-go v1.18.1
> +# github.com/compose-spec/compose-go v1.18.3
>  ## explicit
>  # github.com/containerd/console v1.0.3
>  ## explicit
> @@ -42,7 +44,7 @@
>  ## explicit
>  # github.com/moby/buildkit v0.12.1
>  ## explicit
> -# github.com/moby/patternmatcher v0.5.0
> +# github.com/moby/patternmatcher v0.6.0
>  ## explicit
>  # github.com/moby/term v0.5.0
>  ## explicit
> diff --git a/recipes-containers/docker-compose/relocation.inc b/recipes-containers/docker-compose/relocation.inc
> index a1a12c8..9e6eacf 100644
> --- a/recipes-containers/docker-compose/relocation.inc
> +++ b/recipes-containers/docker-compose/relocation.inc
> @@ -19,6 +19,7 @@ export sites="k8s.io/api:k8s.io/api:force \
>             golang.org/x/time:golang.org/x/time:force \
>             go.uber.org/goleak:go.uber.org/goleak:force \
>             golang.org/x/tools:golang.org/x/tools:force \
> +           github.com/adrg/xdg:github.com/adrg/xdg:force \
>             golang.org/x/crypto:golang.org/x/crypto:force \
>             golang.org/x/oauth2:golang.org/x/oauth2:force \
>             k8s.io/apimachinery:k8s.io/apimachinery:force \
> @@ -189,9 +190,9 @@ do_compile:prepend() {
>          force_flag=$(echo $s | cut -d: -f3)
>          mkdir -p vendor.copy/$site_dest
>          if [ -n "$force_flag" ]; then
> -	    echo "[INFO] $site_dest: force copying .go files"
> -	    rm -rf vendor.copy/$site_dest
> -	    rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest
> +            echo "[INFO] $site_dest: force copying .go files"
> +            rm -rf vendor.copy/$site_dest
> +            rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest
>          else
>              [ -n "$(ls -A vendor.copy/$site_dest/*.go 2> /dev/null)" ] && { echo "[INFO] vendor.fetch/$site_source -> $site_dest: go copy skipped (files present)" ; true ; } || { echo "[INFO] $site_dest: copying .go files" ; rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest ; }
>          fi
> diff --git a/recipes-containers/docker-compose/src_uri.inc b/recipes-containers/docker-compose/src_uri.inc
> index 1194804..8897c9c 100644
> --- a/recipes-containers/docker-compose/src_uri.inc
> +++ b/recipes-containers/docker-compose/src_uri.inc
> @@ -103,6 +103,11 @@ SRC_URI += "git://github.com/uber-go/goleak;name=goleak;protocol=https;nobranch=
>  SRCREV_tools="031fc75960d487b0b15db12fb328676236a3a39c"
>  SRC_URI += "git://go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/tools"
>  
> +#       github.com/adrg/xdg v0.4.0
> +# [1] git ls-remote https://github.com/adrg/xdg 4ec40e24f0cf1039f93c773f2984decdea9719b5
> +SRCREV_xdg="4ec40e24f0cf1039f93c773f2984decdea9719b5"
> +SRC_URI += "git://github.com/adrg/xdg;name=xdg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/adrg/xdg"
> +
>  #       golang.org/x/crypto v0.7.0
>  # [1] git ls-remote https://go.googlesource.com/crypto 776e461a4e6d8b372a43c72122c5c28cfc40dca2
>  SRCREV_crypto="776e461a4e6d8b372a43c72122c5c28cfc40dca2"
> @@ -558,9 +563,9 @@ SRC_URI += "git://github.com/jonboulle/clockwork;name=clockwork;protocol=https;n
>  SRCREV_go-shellwords="973b9d5391598d4ee601db46fa32f6e186a356ac"
>  SRC_URI += "git://github.com/mattn/go-shellwords;name=go-shellwords;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-shellwords"
>  
> -#       github.com/moby/patternmatcher v0.5.0
> -# [1] git ls-remote https://github.com/moby/patternmatcher c5e4b22c8cb290f9439a339c08bba6cb13aa296d
> -SRCREV_patternmatcher="c5e4b22c8cb290f9439a339c08bba6cb13aa296d"
> +#       github.com/moby/patternmatcher v0.6.0
> +# [1] git ls-remote https://github.com/moby/patternmatcher 347bb8d8d557f90d1b75cd8bca3c0177f380a979
> +SRCREV_patternmatcher="347bb8d8d557f90d1b75cd8bca3c0177f380a979"
>  SRC_URI += "git://github.com/moby/patternmatcher;name=patternmatcher;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/patternmatcher"
>  
>  #       go.opentelemetry.io/otel/trace v1.14.0
> @@ -698,9 +703,9 @@ SRC_URI += "git://github.com/in-toto/in-toto-golang;name=in-toto-golang;protocol
>  SRCREV_go-shellquote="95032a82bc518f77982ea72343cc1ade730072f0"
>  SRC_URI += "git://github.com/kballard/go-shellquote;name=go-shellquote;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/kballard/go-shellquote"
>  
> -#       github.com/compose-spec/compose-go v1.18.1
> -# [1] git ls-remote https://github.com/compose-spec/compose-go 45494a8f6b0176d040c82577f82c84377426a9e6
> -SRCREV_compose-go="45494a8f6b0176d040c82577f82c84377426a9e6"
> +#       github.com/compose-spec/compose-go v1.18.3
> +# [1] git ls-remote https://github.com/compose-spec/compose-go c6eecc55b95f952b6d6406adcd297499d11a300b
> +SRCREV_compose-go="c6eecc55b95f952b6d6406adcd297499d11a300b"
>  SRC_URI += "git://github.com/compose-spec/compose-go;name=compose-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/compose-spec/compose-go"
>  
>  #       github.com/hashicorp/go-multierror v1.1.1
> -- 
> 2.43.0
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8478): https://lists.yoctoproject.org/g/meta-virtualization/message/8478
> Mute This Topic: https://lists.yoctoproject.org/mt/102848189/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



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

* Re: [meta-virtualization][PATCH 2/2] docker-compose: v2.20.3 -> v2.21.0
  2023-12-04 21:03   ` Bruce Ashfield
@ 2023-12-05 10:10     ` Jose Quaresma
  0 siblings, 0 replies; 4+ messages in thread
From: Jose Quaresma @ 2023-12-05 10:10 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization, Jose Quaresma

[-- Attachment #1: Type: text/plain, Size: 11210 bytes --]

Bruce Ashfield <bruce.ashfield@gmail.com> escreveu no dia segunda,
4/12/2023 à(s) 21:03:

> merged.
>
> I've pushed my wip update to newer docker-compose versions to
> master-next. Once oe-core updates go, I'll complete that effort.
>

I have also this wip already in my hands but need to find some time to
update go in oe-core.

Jose


>
> Bruce
>
> In message: [meta-virtualization][PATCH 2/2] docker-compose: v2.20.3 ->
> v2.21.0
> on 28/11/2023 Jose Quaresma wrote:
>
> > - d6f842b0 test: e2e test reliability improvements (#10950)
> > - 4fbbf201 build(deps): upgrade to compose-go v1.18.3 (#10947)
> > - 935d72f4 added the dot at the end of the sentence
> > - 41682acc add support for attributes exposed by `docker ps`
> > - 1054792b align docker compose ps with docker CLI to support --format
> > - 19f66918 watch: only allow a single instance per-project
> > - 186744e0 ci: bump golangci-lint to v1.54.2
> > - bc9d696f Merge pull request #10922 from thaJeztah/replace_dockerignore
> > - 6204fb1c logs: fix for missing output on container exit (#10925)
> > - 5d732010 replace dockerfile/dockerignore with patternmatcher/ignorefile
> > - 2006f3fe go.mod: github.com/moby/patternmatcher v0.6.0
> > - 192718c0 go.mod: remove some outdated comments
> > - c79f67fe otel: add `include` to project up span
> > - 3b294bfd build(deps): bump github.com/compose-spec/compose-go from
> 1.18.1 to 1.18.2 (#10915)
> > - dd34f7a2 include: add experimental support for Git resources (#10811)
> > - caad7271 up: handle various attach use cases better
> > - 792afb8d build: use correct values for proxy variables (#10908)
> > - 150449bb warn user secret uid/gid/mode is not supported
> >
> > Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> > ---
> >
> > There are more versions available but they require go 1.21 so this is
> the latest wich support 1.20
> > | cmd/compose/create.go:22:2: package slices is not in GOROOT
> (/lmp/build-lmp-intel-corei7-64-main-next-container/tmp-lmp/work/corei7-64-lmp-linux/docker-compose/v2.23.0/recipe-sysroot/usr/lib/go/src/sl>
> > | note: imported by a module that requires go 1.21
> >
> > v2: tweak the commit message
> >
> >  .../docker-compose/docker-compose_git.bb        |  4 ++--
> >  .../docker-compose/files/modules.txt            |  6 ++++--
> >  .../docker-compose/relocation.inc               |  7 ++++---
> >  recipes-containers/docker-compose/src_uri.inc   | 17 +++++++++++------
> >  4 files changed, 21 insertions(+), 13 deletions(-)
> >
> > diff --git a/recipes-containers/docker-compose/docker-compose_git.bb
> b/recipes-containers/docker-compose/docker-compose_git.bb
> > index f6a2502..092ce3d 100644
> > --- a/recipes-containers/docker-compose/docker-compose_git.bb
> > +++ b/recipes-containers/docker-compose/docker-compose_git.bb
> > @@ -9,7 +9,7 @@ DEPENDS = " \
> >
> >  # Specify the first two important SRCREVs as the format
> >  SRCREV_FORMAT="compose_survey"
> > -SRCREV_compose = "8d0df1876296bc639614653ba5de38a377da5356"
> > +SRCREV_compose = "d6f842b042d2f2926901305336527b3eaadf067a"
> >
> >  SRC_URI = "git://
> github.com/docker/compose;name=compose;branch=main;protocol=https"
> >
> > @@ -23,7 +23,7 @@ LIC_FILES_CHKSUM =
> "file://src/import/LICENSE;md5=175792518e4ac015ab6696d16c4f60
> >
> >  GO_IMPORT = "import"
> >
> > -PV = "v2.20.3"
> > +PV = "v2.21.0"
> >
> >  COMPOSE_PKG = "github.com/docker/compose/v2"
> >
> > diff --git a/recipes-containers/docker-compose/files/modules.txt
> b/recipes-containers/docker-compose/files/modules.txt
> > index 0ba3cd1..d287d12 100644
> > --- a/recipes-containers/docker-compose/files/modules.txt
> > +++ b/recipes-containers/docker-compose/files/modules.txt
> > @@ -2,9 +2,11 @@
> >  ## explicit
> >  # github.com/Microsoft/go-winio v0.6.1
> >  ## explicit
> > +# github.com/adrg/xdg v0.4.0
> > +## explicit
> >  # github.com/buger/goterm v1.0.4
> >  ## explicit
> > -# github.com/compose-spec/compose-go v1.18.1
> > +# github.com/compose-spec/compose-go v1.18.3
> >  ## explicit
> >  # github.com/containerd/console v1.0.3
> >  ## explicit
> > @@ -42,7 +44,7 @@
> >  ## explicit
> >  # github.com/moby/buildkit v0.12.1
> >  ## explicit
> > -# github.com/moby/patternmatcher v0.5.0
> > +# github.com/moby/patternmatcher v0.6.0
> >  ## explicit
> >  # github.com/moby/term v0.5.0
> >  ## explicit
> > diff --git a/recipes-containers/docker-compose/relocation.inc
> b/recipes-containers/docker-compose/relocation.inc
> > index a1a12c8..9e6eacf 100644
> > --- a/recipes-containers/docker-compose/relocation.inc
> > +++ b/recipes-containers/docker-compose/relocation.inc
> > @@ -19,6 +19,7 @@ export sites="k8s.io/api:k8s.io/api:force \
> >             golang.org/x/time:golang.org/x/time:force \
> >             go.uber.org/goleak:go.uber.org/goleak:force \
> >             golang.org/x/tools:golang.org/x/tools:force \
> > +           github.com/adrg/xdg:github.com/adrg/xdg:force \
> >             golang.org/x/crypto:golang.org/x/crypto:force \
> >             golang.org/x/oauth2:golang.org/x/oauth2:force \
> >             k8s.io/apimachinery:k8s.io/apimachinery:force \
> > @@ -189,9 +190,9 @@ do_compile:prepend() {
> >          force_flag=$(echo $s | cut -d: -f3)
> >          mkdir -p vendor.copy/$site_dest
> >          if [ -n "$force_flag" ]; then
> > -         echo "[INFO] $site_dest: force copying .go files"
> > -         rm -rf vendor.copy/$site_dest
> > -         rsync -a --exclude='vendor/' --exclude='.git/'
> vendor.fetch/$site_source/ vendor.copy/$site_dest
> > +            echo "[INFO] $site_dest: force copying .go files"
> > +            rm -rf vendor.copy/$site_dest
> > +            rsync -a --exclude='vendor/' --exclude='.git/'
> vendor.fetch/$site_source/ vendor.copy/$site_dest
> >          else
> >              [ -n "$(ls -A vendor.copy/$site_dest/*.go 2> /dev/null)" ]
> && { echo "[INFO] vendor.fetch/$site_source -> $site_dest: go copy skipped
> (files present)" ; true ; } || { echo "[INFO] $site_dest: copying .go
> files" ; rsync -a --exclude='vendor/' --exclude='.git/'
> vendor.fetch/$site_source/ vendor.copy/$site_dest ; }
> >          fi
> > diff --git a/recipes-containers/docker-compose/src_uri.inc
> b/recipes-containers/docker-compose/src_uri.inc
> > index 1194804..8897c9c 100644
> > --- a/recipes-containers/docker-compose/src_uri.inc
> > +++ b/recipes-containers/docker-compose/src_uri.inc
> > @@ -103,6 +103,11 @@ SRC_URI += "git://
> github.com/uber-go/goleak;name=goleak;protocol=https;nobranch=
> >  SRCREV_tools="031fc75960d487b0b15db12fb328676236a3a39c"
> >  SRC_URI += "git://
> go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/tools
> <http://go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=$%7BWORKDIR%7D/$%7BBP%7D/src/import/vendor.fetch/golang.org/x/tools>
> "
> >
> > +#       github.com/adrg/xdg v0.4.0
> > +# [1] git ls-remote https://github.com/adrg/xdg
> 4ec40e24f0cf1039f93c773f2984decdea9719b5
> > +SRCREV_xdg="4ec40e24f0cf1039f93c773f2984decdea9719b5"
> > +SRC_URI += "git://
> github.com/adrg/xdg;name=xdg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/adrg/xdg
> <http://github.com/adrg/xdg;name=xdg;protocol=https;nobranch=1;destsuffix=$%7BWORKDIR%7D/$%7BBP%7D/src/import/vendor.fetch/github.com/adrg/xdg>
> "
> > +
> >  #       golang.org/x/crypto v0.7.0
> >  # [1] git ls-remote https://go.googlesource.com/crypto
> 776e461a4e6d8b372a43c72122c5c28cfc40dca2
> >  SRCREV_crypto="776e461a4e6d8b372a43c72122c5c28cfc40dca2"
> > @@ -558,9 +563,9 @@ SRC_URI += "git://
> github.com/jonboulle/clockwork;name=clockwork;protocol=https;n
> >  SRCREV_go-shellwords="973b9d5391598d4ee601db46fa32f6e186a356ac"
> >  SRC_URI += "git://
> github.com/mattn/go-shellwords;name=go-shellwords;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-shellwords
> <http://github.com/mattn/go-shellwords;name=go-shellwords;protocol=https;nobranch=1;destsuffix=$%7BWORKDIR%7D/$%7BBP%7D/src/import/vendor.fetch/github.com/mattn/go-shellwords>
> "
> >
> > -#       github.com/moby/patternmatcher v0.5.0
> > -# [1] git ls-remote https://github.com/moby/patternmatcher
> c5e4b22c8cb290f9439a339c08bba6cb13aa296d
> > -SRCREV_patternmatcher="c5e4b22c8cb290f9439a339c08bba6cb13aa296d"
> > +#       github.com/moby/patternmatcher v0.6.0
> > +# [1] git ls-remote https://github.com/moby/patternmatcher
> 347bb8d8d557f90d1b75cd8bca3c0177f380a979
> > +SRCREV_patternmatcher="347bb8d8d557f90d1b75cd8bca3c0177f380a979"
> >  SRC_URI += "git://
> github.com/moby/patternmatcher;name=patternmatcher;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/patternmatcher
> <http://github.com/moby/patternmatcher;name=patternmatcher;protocol=https;nobranch=1;destsuffix=$%7BWORKDIR%7D/$%7BBP%7D/src/import/vendor.fetch/github.com/moby/patternmatcher>
> "
> >
> >  #       go.opentelemetry.io/otel/trace v1.14.0
> > @@ -698,9 +703,9 @@ SRC_URI += "git://
> github.com/in-toto/in-toto-golang;name=in-toto-golang;protocol
> >  SRCREV_go-shellquote="95032a82bc518f77982ea72343cc1ade730072f0"
> >  SRC_URI += "git://
> github.com/kballard/go-shellquote;name=go-shellquote;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/kballard/go-shellquote
> <http://github.com/kballard/go-shellquote;name=go-shellquote;protocol=https;nobranch=1;destsuffix=$%7BWORKDIR%7D/$%7BBP%7D/src/import/vendor.fetch/github.com/kballard/go-shellquote>
> "
> >
> > -#       github.com/compose-spec/compose-go v1.18.1
> > -# [1] git ls-remote https://github.com/compose-spec/compose-go
> 45494a8f6b0176d040c82577f82c84377426a9e6
> > -SRCREV_compose-go="45494a8f6b0176d040c82577f82c84377426a9e6"
> > +#       github.com/compose-spec/compose-go v1.18.3
> > +# [1] git ls-remote https://github.com/compose-spec/compose-go
> c6eecc55b95f952b6d6406adcd297499d11a300b
> > +SRCREV_compose-go="c6eecc55b95f952b6d6406adcd297499d11a300b"
> >  SRC_URI += "git://
> github.com/compose-spec/compose-go;name=compose-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/compose-spec/compose-go
> <http://github.com/compose-spec/compose-go;name=compose-go;protocol=https;nobranch=1;destsuffix=$%7BWORKDIR%7D/$%7BBP%7D/src/import/vendor.fetch/github.com/compose-spec/compose-go>
> "
> >
> >  #       github.com/hashicorp/go-multierror v1.1.1
> > --
> > 2.43.0
> >
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#8478):
> https://lists.yoctoproject.org/g/meta-virtualization/message/8478
> > Mute This Topic: https://lists.yoctoproject.org/mt/102848189/1050810
> > Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> > Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
> [bruce.ashfield@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>

-- 
Best regards,

José Quaresma

[-- Attachment #2: Type: text/html, Size: 17844 bytes --]

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

end of thread, other threads:[~2023-12-05 10:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28 10:35 [meta-virtualization][PATCH 1/2] docker-compose: drop patches from the removed python version Jose Quaresma
2023-11-28 10:35 ` [meta-virtualization][PATCH 2/2] docker-compose: v2.20.3 -> v2.21.0 Jose Quaresma
2023-12-04 21:03   ` Bruce Ashfield
2023-12-05 10:10     ` Jose Quaresma

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.