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

Move the equality check between a pinned package and its upstream to OpamFile.OPAM.effectively_equal_modulo_pin #6446

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

kit-ty-kate
Copy link
Member

Extracted from #6209
Queued on #6209
Related to #5907

I think this new function should also be used for regular pins to replace the more simple use of effectively_equal in

not OpamFile.(OPAM.effectively_equal

Currently this is a draft, as i'm not sure what is the best interface for this is and thinking about it (on top of #5907 and other possible changes to OpamFile.OPAM to improve the situation further) will take some time.

kit-ty-kate and others added 6 commits March 31, 2025 11:40
…ected and ensure showing local opam files is working as expected
…ages' metadata

The reinstall field from the switch state wasn't updated according to
the implicit pin and thus opam didn't think there was anything to do.
@kit-ty-kate kit-ty-kate added AREA: ENGINE AREA: API PR: QUEUED Pending pull request, waiting for other work to be merged or closed PR: WIP Not for merge at this stage labels Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AREA: API AREA: ENGINE PR: QUEUED Pending pull request, waiting for other work to be merged or closed PR: WIP Not for merge at this stage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants