-
Notifications
You must be signed in to change notification settings - Fork 182
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
Allow guid package to be used on non-Windows GOOS targets #169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. @kevpar - PTAL
enable unit test by uncommenting main in .prow.sh. Add test module in Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
enable unit test by uncommenting main in .prow.sh. Add test module in Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
enable unit test by uncommenting main in .prow.sh. Add test module in Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
`golang.org/x/sys/windows.GUID` is currently only available to builds targeting `GOOS=windows` (see golang/go#36485). This change makes it so `windows` builds continue to use `golang.org/x/sys/windows.GUID`, while non-`windows` builds get a different structure that has all the same fields and methods.
Rebased, assuming (at least some of) those warnings are cleaned up in |
enable unit test by uncommenting main in .prow.sh. Add test module in Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
enable unit test by uncommenting main in .prow.sh. Add test module in Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
enable unit test by uncommenting main in .prow.sh. Add test module in Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
enable unit test by uncommenting main in .prow.sh. Add test module in Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
enable unit test by uncommenting main in .prow.sh. Add test module in Makefile. Due to the issue related to guid package microsoft/go-winio#169 which causes errors when running unit tests on Linux, the current solution is to add some filter for the test path. Will update it after the issue is resolved.
What's needed to move this forward? |
Could someone merge this? |
Just wanted to ping this again |
@microsoft/containerplat: This already had an approving review from @jterry75, I would have thought that would meet the review requirement? Is this just a bug in the merge-management script? Edit: Hmm. I guess I can't tag Microsoft's groups like that. |
golang.org/x/sys/windows.GUID
is currently only available to buildstargeting
GOOS=windows
(see golang/go#36485). This change makes itso
windows
builds continue to usegolang.org/x/sys/windows.GUID
,while non-
windows
builds get a different structure that has allthe same fields and methods.
Fixes #158.