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

The per-switch installed cache's content is subtly different after an install vs. after a restore #6031

Open
kit-ty-kate opened this issue Jun 18, 2024 · 0 comments

Comments

@kit-ty-kate
Copy link
Member

from #6029 shows that, unless the cache is removed, the content of the cache is filled with data directly coming from the repository. However when the cache is regenerated it is filled with content from <switch>/.opam-switch/packages/*/opam which happens to be reformatted (normalised), thus the content of (at least) OpamFile.OPAM.extensions is different as it contains some positional informations.

This is not a critical bug by any means but we might want to look at it at some point.
I'm not sure either what would be the correct fix for this (not storing normalised files vs. not storing positional information vs. ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant