You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we use odo version -o json in order to figure out if podman is installed on the user's system.
We depend on a library called which which can be used to search the user's PATH for the podman binary. This means we don't need to rely on odo to check if podman is installed.
We will need to be careful, since on Windows (and I'm guessing macOS as well) odo version -o json reports that podman is not installed if the binary is present, but podman machine doesn't exist. In this PR, I'm trying to improve the error message in this case. We can probably check if the podman machine has been created by using the podman CLI, and alert the user somehow if it isn't.
The text was updated successfully, but these errors were encountered:
Currently, we use
odo version -o json
in order to figure out if podman is installed on the user's system.We depend on a library called
which
which can be used to search the user's PATH for thepodman
binary. This means we don't need to rely onodo
to check ifpodman
is installed.We will need to be careful, since on Windows (and I'm guessing macOS as well)
odo version -o json
reports that podman is not installed if the binary is present, but podman machine doesn't exist. In this PR, I'm trying to improve the error message in this case. We can probably check if the podman machine has been created by using the podman CLI, and alert the user somehow if it isn't.The text was updated successfully, but these errors were encountered: