flathub / com.visualstudio.code.tool.podman

https://flathub.org/apps/details/com.visualstudio.code.tool.podman
8 stars 1 forks source link

Podman 4 support? #21

Closed CheariX closed 1 year ago

CheariX commented 2 years ago

Fedora 36 ships with Podman 4 (currently: 4.1.1). Are there any plans to update to this version?

> podman-remote version
Client:
Version:      3.4.7
API Version:  3.4.7
Go Version:   go1.18.1
Git Commit:   74d67f5d43bcd322a4fb11a7b58eced866f9d0b9
Built:        Fri Apr 22 20:55:41 2022
OS/Arch:      linux/amd64

Server:
Version:      4.1.1
API Version:  4.1.1
Go Version:   go1.18.3
Built:        Wed Jun 15 16:31:58 2022
OS/Arch:      linux/amd64
gasinvein commented 2 years ago

It was once updated to v4, but then downgraded back to v3 due to #13 (v3 client is compatible with v3 server, but not vice versa).

CheariX commented 1 year ago

Any ETA for Podman 4 support? Although i can connect to a podman-remote 4.x instance, building remote containers is not possible due to https://github.com/containers/podman/issues/13025

gasinvein commented 1 year ago

I'd say we should switch to podman 4.x when all major distros ship podman 4.x in their repos. Otherwise we'll break this extension compatibility with those distros. In the meantime, I suppose we can bundle both podman-remote's 3.x and 4.x, with the later named as e.g. podman4-remote. Will it help?

CheariX commented 1 year ago

Yes. I'm fine with having two different packages. Alternatively, it could also be helpful to put podman4 on flathub beta only?

Btw. Fedora 37 ships podman 4.2.

gasinvein commented 1 year ago

it could also be helpful to put podman4 on flathub beta only?

You mean podman4 as additional binary, or in place of podman3?

Btw. Fedora 37 ships podman 4.2.

Yeah, but current Ubuntu LTS and Debian stable still have 3.x (and most likely won't update until next release).

CheariX commented 1 year ago

OK. An additional binary is also a good solution. In summary, I see three possibilities:

1) Create a new package com.visualstudio.code.tool.podman4 in parallel to this package 2) Update this package to podman 4 but only publish it on Flathub beta 3) Add a second binary podman4-remote to this package.

For me, any of them works.

CheariX commented 1 year ago

Thank you.

flatpak uninstall com.visualstudio.code.tool.podman
flatpak install flathub-beta com.visualstudio.code.tool.podman

works like charm. Tested on Fedora 37.