{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/833","labels_url":"https://api.github.com/repos/dotnet/cli/issues/833/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/833/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/833/events","html_url":"https://github.com/dotnet/cli/pull/833","id":126542893,"number":833,"title":"let RID detection do its thing","user":{"login":"anurse","id":7574,"avatar_url":"https://avatars.githubusercontent.com/u/7574?v=3","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/cla-already-signed","name":"cla-already-signed","color":"009800"},{"url":"https://api.github.com/repos/dotnet/cli/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-13T23:45:11Z","updated_at":"2016-01-14T04:42:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/cli/pulls/833","html_url":"https://github.com/dotnet/cli/pull/833","diff_url":"https://github.com/dotnet/cli/pull/833.diff","patch_url":"https://github.com/dotnet/cli/pull/833.patch"},"body":"also:\r\n* fix up pjvalidate to handle versionless deps\r\n* fix up package-command-test\r\n\r\nfixes #749 "},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/171528258","html_url":"https://github.com/dotnet/cli/pull/833#issuecomment-171528258","issue_url":"https://api.github.com/repos/dotnet/cli/issues/833","id":171528258,"user":{"login":"anurse","id":7574,"avatar_url":"https://avatars.githubusercontent.com/u/7574?v=3","gravatar_id":"","url":"https://api.github.com/users/anurse","html_url":"https://github.com/anurse","followers_url":"https://api.github.com/users/anurse/followers","following_url":"https://api.github.com/users/anurse/following{/other_user}","gists_url":"https://api.github.com/users/anurse/gists{/gist_id}","starred_url":"https://api.github.com/users/anurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurse/subscriptions","organizations_url":"https://api.github.com/users/anurse/orgs","repos_url":"https://api.github.com/users/anurse/repos","events_url":"https://api.github.com/users/anurse/events{/privacy}","received_events_url":"https://api.github.com/users/anurse/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T04:42:27Z","updated_at":"2016-01-14T04:42:27Z","body":"That's really tricky to deal with. Unfortunately the RID detection is intentionally very simple and unaware of individual distros, we just read the `/etc/os-release` file (the only source for distro versioning information (https://github.com/aspnet/PlatformAbstractions/blob/dev/src/Microsoft.Extensions.PlatformAbstractions/Native/PlatformApis.cs#L83). The problem is that different CentOS installs seem to have different values for `VERSION_ID`. Some just have `7`, others have `7.1`."}}