{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/24522","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/24522/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/24522/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/24522/events","html_url":"https://github.com/dotnet/corefx/issues/24522","id":264003611,"number":24522,"title":"Add core-setup's RuntimeEnvironment (platform detection) logic to RuntimeInformation","user":{"login":"krwq","id":660048,"avatar_url":"https://avatars1.githubusercontent.com/u/660048?v=4","gravatar_id":"","url":"https://api.github.com/users/krwq","html_url":"https://github.com/krwq","followers_url":"https://api.github.com/users/krwq/followers","following_url":"https://api.github.com/users/krwq/following{/other_user}","gists_url":"https://api.github.com/users/krwq/gists{/gist_id}","starred_url":"https://api.github.com/users/krwq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krwq/subscriptions","organizations_url":"https://api.github.com/users/krwq/orgs","repos_url":"https://api.github.com/users/krwq/repos","events_url":"https://api.github.com/users/krwq/events{/privacy}","received_events_url":"https://api.github.com/users/krwq/received_events","type":"User","site_admin":false},"labels":[{"id":365133516,"url":"https://api.github.com/repos/dotnet/corefx/labels/area-System.Runtime.InteropServices","name":"area-System.Runtime.InteropServices","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/5","html_url":"https://github.com/dotnet/corefx/milestone/5","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/5/labels","id":1328080,"number":5,"title":"Future","description":"Milestone tracking issues not triaged to a planned release. Work in this milestone may happen, or may not: it is not committed.","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars1.githubusercontent.com/u/1302850?v=4","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":1642,"closed_issues":119,"state":"open","created_at":"2015-09-29T00:25:45Z","updated_at":"2018-02-09T20:54:13Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-10-09T19:37:03Z","updated_at":"2018-02-09T23:57:47Z","closed_at":null,"author_association":"MEMBER","body":"Currently we have multiple pieces of code used for detection OS and its version:\r\nhttps://github.com/dotnet/corefx/blob/master/src/CoreFx.Private.TestUtilities/src/System/PlatformDetection.cs\r\nhttps://github.com/dotnet/core-setup/blob/master/src/managed/Microsoft.DotNet.PlatformAbstractions/RuntimeEnvironment.cs\r\n\r\nthis logic is non-trivial to get correctly and thus we should not duplicate this logic.\r\n\r\nI believe RuntimeInformation is the most intuitive place where platform detection code should live."},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/364603364","html_url":"https://github.com/dotnet/corefx/issues/24522#issuecomment-364603364","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/24522","id":364603364,"user":{"login":"jkotas","id":6668460,"avatar_url":"https://avatars2.githubusercontent.com/u/6668460?v=4","gravatar_id":"","url":"https://api.github.com/users/jkotas","html_url":"https://github.com/jkotas","followers_url":"https://api.github.com/users/jkotas/followers","following_url":"https://api.github.com/users/jkotas/following{/other_user}","gists_url":"https://api.github.com/users/jkotas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotas/subscriptions","organizations_url":"https://api.github.com/users/jkotas/orgs","repos_url":"https://api.github.com/users/jkotas/repos","events_url":"https://api.github.com/users/jkotas/events{/privacy}","received_events_url":"https://api.github.com/users/jkotas/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T23:57:47Z","updated_at":"2018-02-09T23:57:47Z","author_association":"MEMBER","body":"Why can't you PInvoke `gnu_get_libc_version` yourself from the telemetry code? It looks odd to have APIs for it in the runtime/framework."}}
{"actor":{"display_login":"jkotas"}}