-
Notifications
You must be signed in to change notification settings - Fork 18k
os: enable symlink creation on Windows 10 #24307
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
Conversation
This PR (HEAD: 77812a3) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/go/+/99337 to see it. Tip: You can toggle comments from me using the |
Message from Gobot Gobot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Tobias Klauser: Patch Set 1: As Brad noted in #22874 (comment), the change should include a test to verify that including the flag doesn't accidentally break older Windows versions, especially Windows XP. Depending on the test, we might need to set the flag conditionally depending on the OS version (to be detected at runtime). Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Elias Naur: Patch Set 1:
According to https://golang.org/doc/go1.10, Go 1.10 is the last release to support Windows XP (and Vista). Your point remains for Windows 7 of course. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
This PR (HEAD: f1df0d3) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/go/+/99337 to see it. Tip: You can toggle comments from me using the |
Message from Felix Kollmann: Patch Set 1: I added a test case. Here are the first results: Windows 10 developer mode enabled: Windows 10 developer mode disabled: Windows 10 running elevated: I will run the tests for Windows 7 32b/64b later today. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
More information on the topic is provided by Git on Windows: |
Message from Felix Kollmann: Patch Set 2: @brad had the right idea. The test fails on Windows 7: c:\go-source\src>..\bin\go.exe run ..\test\fixedbugs\issue22874.go Compared to Go v1.10: C:\Go>bin\go.exe run c:\go-source\test\fixedbugs\issue22874.go I will fix this later today. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Felix Kollmann: Patch Set 2: Testing against the Windows version won't help, since it's pending on #17835 I added a retry for the parameter error, instead. (Which probably isn't any slower.) Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
This PR (HEAD: 5b1ae4a) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/go/+/99337 to see it. Tip: You can toggle comments from me using the |
Message from Felix Kollmann: Patch Set 3: The issue is now fixed on Windows 7: Running elevated on Windows 7: Running as normal user on Windows 7: Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Alex Brainman: Patch Set 3: (6 comments) Thank you for fixing this. I am away from my computers until mid next week. Alex Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
- moved syscall changes to internal/syscall/windows - moved unit test to os package - unit test is now using direct windows regisrtry access
This PR (HEAD: 5e1abfb) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/go/+/99337 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: a4b78cf) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/go/+/99337 to see it. Tip: You can toggle comments from me using the |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
This PR (HEAD: 81c6e47) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/go/+/99337 to see it. Tip: You can toggle comments from me using the |
Empty comment for triggering CLA check. |
CLAs look good, thanks! |
Message from Alex Brainman: Patch Set 6: (22 comments) More comments. Thank you. Alex Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Tobias Klauser: Patch Set 11: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Gobot Gobot: Patch Set 11: TryBots beginning. Status page: https://farmer.golang.org/try?commit=54be42d3 Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Gobot Gobot: Patch Set 11: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Felix Kollmann: Patch Set 11: Any news? Waiting for feedback or submission :) . Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Alex Brainman: Patch Set 11: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Felix Kollmann: Patch Set 11: (1 comment) Thanks for the feedback! Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Alex Brainman: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
This PR (HEAD: bab252e) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/go/+/99337 to see it. Tip: You can toggle comments from me using the |
Message from Felix Kollmann: Patch Set 12: (1 comment) Thanks for the feedback! Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Felix Kollmann: Patch Set 12: What's the status here? Waiting for feedback or submission :) Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Tobias Klauser: Patch Set 12:
Your last reply on Alex' review comment (PS3, Line 383) was
but there was no new patch set uploaded. Maybe you forgot to push your latest changes? Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Alex Brainman: Patch Set 12:
What Tobias said. I think it is your turn. Alex Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Felix Kollmann: Patch Set 12: Sry for the confusion. I usually submitted the reply after uploading the new patch. I see why this is confusing and will improve on the workflow. Thanks for the feedback! The announced change is already part of patch set 12. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Tobias Klauser: Patch Set 12: Run-TryBot+1
Sorry, I didn't check careful enough then. Gerrit can be a bit confusing at times :) I'll let Alex decide on the actual submission. Thanks. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Gobot Gobot: Patch Set 12: TryBots beginning. Status page: https://farmer.golang.org/try?commit=56222dc7 Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Alex Brainman: Patch Set 12:
I can see that now. I will review your change when I have time. Thank you. Alex Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Gobot Gobot: Patch Set 12: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Alex Brainman: Patch Set 12: (3 comments) Nearly looking good. Thank you. Alex Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
This PR (HEAD: 3ba7abc) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/#/c/go/+/99337 to see it. Tip: You can toggle comments from me using the |
Message from Felix Kollmann: Patch Set 13: (3 comments) Thanks for the feedback! I uploaded a new patch. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Alex Brainman: Patch Set 13: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Gobot Gobot: Patch Set 13: TryBots beginning. Status page: https://farmer.golang.org/try?commit=1cd37e35 Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
Message from Gobot Gobot: Patch Set 13: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/99337. |
This PR is being closed because golang.org/cl/99337 has been merged. |
Fixes #22874 Change-Id: Ia30fc8df39e88fbc2939a4490c34da8dd5815a94 GitHub-Last-Rev: 3ba7abc GitHub-Pull-Request: #24307 Reviewed-on: https://go-review.googlesource.com/99337 TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Alex Brainman <[email protected]>
Fixes #22874