-
Notifications
You must be signed in to change notification settings - Fork 545
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
Fix "crane layout gc" failing on Windows wit "Error: cannot parse hash: "sha256\\0401ae60059.." (#1942) #1944
base: main
Are you sure you want to change the base?
Conversation
…h: "sha256\\0401ae60059.." (google#1942)
@imjasonh @thesayyn @jonjohnsonjr would you have some time to review? it is blocking us from migrating to Bazel |
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.
nice catch
@imjasonh any chance to have it merged? |
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.
Can you add some tests for this?
If you need this for rules_oci, i might interest you in rules_oci 2.x which probably wouldn't have this problem. |
i've tried but it doesn't work on windows due to other issues |
@thesayyn the unit test is already there.
Also, |
@imjasonh @thesayyn @jonjohnsonjr can you please merge this fix? When is the next release planned? |
@mattmoor is there a chance you could merge this pr and release? |
This Pull Request is stale because it has been open for 90 days with |
This pull request updates "layout gc" to use os-specific path separator instead of "/" (fixes #1942).