Skip to content

Conversation

@tmds
Copy link
Member

@tmds tmds commented Mar 27, 2023

@tmds tmds force-pushed the os_description_pretty branch from c21fce1 to 8451453 Compare March 27, 2023 14:36
@ghost ghost added needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners community-contribution Indicates that the PR has been added by a community member labels Mar 27, 2023
@MichalPetryka
Copy link
Contributor

Should a fallback based on lsb_release be added here?

@tmds
Copy link
Member Author

tmds commented Mar 27, 2023

Should a fallback based on lsb_release be added here?

It can be added in a follow-up PR.
Do you have a specific distro in mind?

@MichalPetryka
Copy link
Contributor

Do you have a specific distro in mind?

I was thinking about Alpine here.

@tmds
Copy link
Member Author

tmds commented Mar 27, 2023

I was thinking about Alpine here.

Though it doesn't use systemd, Alpine does include an /etc/os-release file.

@am11
Copy link
Member

am11 commented Mar 28, 2023

Fixes #37923.

I don't think this is addressing #37923.

@tmds
Copy link
Member Author

tmds commented Mar 28, 2023

I don't think this is addressing #37923.

ok, I've removed it.

@teo-tsirpanis teo-tsirpanis added area-System.Runtime.InteropServices and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Mar 28, 2023
@ghost
Copy link

ghost commented Mar 28, 2023

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #83287.

@am11 @tannergooding @danmoseley @stephentoub ptal.

cc @richlander

Author: tmds
Assignees: -
Labels:

area-System.Runtime.InteropServices, community-contribution

Milestone: -

@richlander
Copy link
Member

Thanks for taking this on.

@tmds tmds closed this Apr 13, 2023
@tmds tmds reopened this Apr 13, 2023
@tmds
Copy link
Member Author

tmds commented Apr 13, 2023

CI looks good for this. This is up for review.

@tmds
Copy link
Member Author

tmds commented Apr 18, 2023

Is this good to merge?

}
}

return null;
Copy link
Member

@stephentoub stephentoub Apr 18, 2023

Choose a reason for hiding this comment

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

Nit: I'd find this easier to read if this were moved up to above the static local function.

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Thanks

@stephentoub stephentoub merged commit 9672d82 into dotnet:main Apr 18, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Runtime.InteropServices community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RuntimeInformation.OSDescription is really KernelDescription

8 participants