Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: default to podman v5 for new users #6548

Merged
merged 1 commit into from Mar 27, 2024

Conversation

benoitf
Copy link
Collaborator

@benoitf benoitf commented Mar 27, 2024

What does this PR do?

if you have an existing podman installation, you need to enable a flag but without a previous podman installation you can install v5

Screenshot / video of UI

What issues does this PR fix or reference?

fixes #6523

How to test this PR?

remove all $HOME/.config/containers/podman and $HOME/.local/share/containers/podman it should install v5
with something there it should install/update only to v4 without v5 experimental flag

Added unit tests

  • Tests are covering the bug fix or the new feature

@benoitf benoitf requested a review from a team as a code owner March 27, 2024 15:32
@benoitf benoitf requested review from dgolovin and axel7083 and removed request for a team March 27, 2024 15:32
Copy link
Collaborator

@deboer-tim deboer-tim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, worked for me (also had to delete/rename /opt/podman of course). 👍🏼

Code LGTM but the console output is a bit odd, something like
console.log('Check for podman install folders',
!fs.existsSync(path.resolve(os.homedir(), '.config/containers/podman'),
!fs.existsSync(path.resolve(os.homedir(), '.local/share/containers/podman');
would be more clear to me in the logs.

if you have an existing podman installation, you need to enable
a flag but without a previous podman installation you can
install v5

fixes containers#6523
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@benoitf
Copy link
Collaborator Author

benoitf commented Mar 27, 2024

Code LGTM but the console output is a bit odd, something like

it was my bad it shouldn't have been committed :-)

Copy link
Contributor

@dgolovin dgolovin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benoitf benoitf merged commit 0bd8f73 into containers:main Mar 27, 2024
8 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.9.0 milestone Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

if no previous install of podman or no podman machines, display the installation of Podman v5
4 participants