-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Update environment.py #12269
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
Update environment.py #12269
Conversation
|
Thanks. The changes look good but the commit message could use a bit of tweaking to describe what is being solved in the first line. "Update ${filename}" isn't very descriptive :( and makes it difficult to locate a commit by viewing the (This is the same problem as the PR title, by the way.) |
|
Yes, my bad - I'm not particularly used to contributing to GitHub projects other than my own and I was just intending to show my change rather than actually submitting it. |
|
Command line instructions:
|
|
@CorrodedCoder This looks good from a code point of view. If you could update the commit message, I'd like to merge this for inclusion in the next point release. |
The logic previously added to distinguish between illumos and Solaris made use of a uname invocation with a -o switch which is not supported on Solaris 5.10 or earlier. illumos started with version 5.11 so the logic has been shortcut to report 'solaris' in such cases where the version is 5.10 or below.
|
I'm using GitHub Desktop but I think I was able to follow the instructions Eli suggested. Please feel free to let me know if I misunderstood. |
|
Looks good to me. Thanks! |
|
Thank you! I haven't used GitHub Desktop myself (so I can't give instructions for it) but whatever you did there seems to be exactly what I suggested anyway, so that's all good. :) |
|
Meh. The github web UI sucks for review. I looked at this with Not quite the end of the world, sure... |
Solaris 5.10 uname doesn't support the -o switch, and illumos started with version 5.11 so shortcut the logic to report 'solaris' in such cases where the version is 5.10 or below.