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

fix: don't prefix all podman machine names #3878

Merged
merged 1 commit into from Sep 19, 2023
Merged

fix: don't prefix all podman machine names #3878

merged 1 commit into from Sep 19, 2023

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

My initial position was that we shouldn't prefix any Podman machine names, but I've softened a bit: if someone appends to the default name and calls their machine "podman-machine-3", then I think it's nice we pretty-print that to "Podman Machine 3". But if I call my machine "My Machine", and that's the name I see on the command line, then I still believe we should use "My Machine" and not "Podman Machine My Machine".

I have been using this change for a few days, and I prefer it. The only place I've found where there isn't the obvious context of My Machine being a Podman machine is in the system tray, and IMHO that's not a problem because I named it and recognize what it is in that context.

Screenshot/screencast of this PR

Screenshot 2023-09-12 at 11 15 49 AM

What issues does this PR fix or reference?

Fixes #3424.

How to test this PR?

Create a new Podman machine without the prefix.

My initial position was that we shouldn't prefix any Podman machine names, but
I've softened a bit: if someone appends to the default name and calls their
machine "podman-machine-3", then I think it's nice we pretty-print that to
"Podman Machine 3". But if I call my machine "My Machine", and that's the name
I see on the command line, then I still believe we should use "My Machine" and
not "Podman Machine My Machine".

I have been using this change for a few days, and I prefer it. The only place
I've found where there isn't the obvious context of My Machine being a Podman
machine is in the system tray, and IMHO that's not a problem because I named
it and recognize what it is in that context.

Fixes #3424.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim requested review from benoitf and a team as code owners September 12, 2023 15:16
@deboer-tim deboer-tim requested review from jeffmaury and cdrage and removed request for a team September 12, 2023 15:16
Copy link
Contributor

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

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

LGTM

@deboer-tim deboer-tim merged commit 6507f6b into main Sep 19, 2023
8 checks passed
@deboer-tim deboer-tim deleted the machine-name branch September 19, 2023 17:31
@podman-desktop-bot podman-desktop-bot added this to the 1.5.0 milestone Sep 19, 2023
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.

nit: remove Podman Machine prefix
3 participants