Skip to content
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

Use path module instead of string manipulation #89

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

rcowsill
Copy link
Contributor

@rcowsill rcowsill commented Dec 9, 2020

This updates all path-handling code to use the node path module for cross-platform support.

Fixes #87 (a bug on Windows where all layer content was kept in the root cache and layer caches were empty folders)

This fixes a Windows bug where layer content was uploaded in the root cache
@rcowsill rcowsill marked this pull request as draft December 9, 2020 13:29
@rcowsill
Copy link
Contributor Author

rcowsill commented Dec 9, 2020

Setting this to draft as I need to check whether it's a breaking change (would require new cache keys on windows if so).

It's backward compatible, so will load the old cache files without problems if the keys aren't updated 👍

@rcowsill rcowsill marked this pull request as ready for review December 10, 2020 00:36
Copy link
Owner

@satackey satackey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for even checking compatibility.

@satackey satackey merged commit 78ea282 into satackey:master Dec 14, 2020
@rcowsill rcowsill deleted the fix/87 branch December 14, 2020 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All data uploaded in root cache (empty layer caches) on Windows
2 participants