[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-factory
Subject:    Heads-up: new version of docker-compose heading to Tumbleweed
From:       Johannes Kastl <kastl () b1-systems ! de>
Date:       2022-07-07 18:35:22
Message-ID: 52cdad7f-2ec4-6391-3b98-025f07aa607a () b1-systems ! de
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]

[Attachment #4 (text/plain)]

Hi all,

just as a heads-up: I have updated the python-based version of docker-compose to 
the latest version available. And found out that there is a version 2.x which is 
a major rewrite in Go.

I have package the new non-python docker-compose package as well as the 
docker-compose-switch one, as v2 drops the docker-compose binary, and compose is 
just a cli-plugin for docker. I.e. "docker compose version" instead of 
"docker-compose version".
That is where the docker-compose-switch package comes into the picture, as it 
provides a compatibility helper, i.e. there will still be a docker-compose 
binary to call.

Caveat:
As v2 is no longer a standalone binary, this does no longer work with Podman 
instead of docker. That means, if you update your system, the 
python3-/python38-/python39-/python*-docker-compose package will be removed and 
the two new packages will be installed, together with docker and its 
dependencies if not yet present.

If this not desired, the best approach would be to either switch to the 
python*-podman-compose package (that is actively maintained) or, if that is not 
possible, lock the existing python*docker-compose one.

The submit requests are here:
https://build.opensuse.org/request/show/987334
https://build.opensuse.org/request/show/987335

Feel free to review, add comments or point out errors.

As for the Provides/Obsoletes/Requires handling the transition, there was a 
discussion on the packaging list where I finally got a solution that worked (at 
least for me) on both Tumbleweed and Leap 15.x. Feel free to test and report 
back any errors.

Packages are here:

> https://build.opensuse.org/project/show/home:ojkastl_buildservice:docker_compose_etc

Have a lot of fun... ;-)

Kind Regards,
Johannes

-- 
Johannes Kastl
Linux Consultant & Trainer
Tel.: +49 (0) 151 2372 5802
Mail: kastl@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg
http://www.b1-systems.de
GF: Ralph Dehner
Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

["OpenPGP_signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic