-
Notifications
You must be signed in to change notification settings - Fork 441
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
cli: fix push on Windows #2922
cli: fix push on Windows #2922
Conversation
Extracting the metadata didn't work on Windows, because it used os.path.join() and unsquashfs expected a unix path rather than a Windows path
How did you install unsquashfs on the host? FWIW, I've been trying to use I wonder how we should handle unsquashfs availability host for Windows... |
I installed the cygwin version of unsquashfs; as far as I am aware, this is the only version of unsquashfs available for windows. I have the installation process laid out in my windows instructions here: https://gist.github.com/NickZ/d50d56348e2be7cd26fbecabdb02cb6f |
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.
nit: comment punctuation (https://github.com/snapcore/snapcraft/blob/master/CODE_STYLE.md#comments) but otherwise LGTM, thanks!
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.
This assumes cygwin unsquashfs is available, which is good until we come up with a better solution. LGTM
./runtests.sh static
?./runtests.sh tests/unit
?Extracting the metadata didn't work on Windows, because it used os.path.join() and unsquashfs expected a Unix path rather than a Windows path