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

Skip generating a profile for rancher-desktop #15166

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

jamespack
Copy link
Contributor

@jamespack jamespack commented Apr 11, 2023

Don't generate a profile for rancher-desktop utility WSL distro

Adds a check for rancher-desktop as well as docker. As mentioned in the discussion of this issue. This becomes much more difficult to maintain once other folks inevitably start to follow this pattern. But the easy win was up for grabs so I took it :)

Closes #12757

@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Task It's a feature request, but it doesn't really need a major design. Area-Settings Issues related to settings and customizability, for console or terminal Product-Terminal The new Windows Terminal. Product-WSL Issue that should probably go to Microsoft/WSL labels Apr 11, 2023
Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

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

I'm ideologically opposed to Terminal having to do this, but I am forced to live on Earth with all of the other people who live on Earth... so thank you for doing this. I appreciate it! 😁

@DHowett DHowett changed the title Dont generate profile for rancher-desktop Skip generating a profile for rancher-desktop Apr 11, 2023
@DHowett
Copy link
Member

DHowett commented Apr 11, 2023

moved from PR body
Image attached that shows my current terminal generates the profile while the modified version does not.
rancherDesktopProfile

@DHowett DHowett enabled auto-merge (squash) April 11, 2023 22:37
@jamespack
Copy link
Contributor Author

I'm ideologically opposed to Terminal having to do this, but I am forced to live on Earth with all of the other people who live on Earth... so thank you for doing this. I appreciate it! 😁

I agree it's kinda smelly. Perhaps once the WSL team comes up with a way to organically identify these it can be revisited.

@DHowett DHowett merged commit 10bdadf into microsoft:main Apr 12, 2023
DHowett pushed a commit that referenced this pull request Apr 25, 2023
Don't generate a profile for rancher-desktop utility WSL distro.

Adds a check for rancher-desktop as well as docker. As mentioned in the
discussion of this issue. This becomes much more difficult to maintain
once other folks inevitably start to follow this pattern. But the easy
win was up for grabs so I took it :)

Closes #12757

(cherry picked from commit 10bdadf)
Service-Card-Id: 89001998
Service-Version: 1.17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. Product-WSL Issue that should probably go to Microsoft/WSL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't generate WSL distributions for Rancher Desktop
3 participants