Skip to content

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

Draft
kit-ty-kate wants to merge 6 commits intoocaml:masterfrom
kit-ty-kate:effectively_equal_modulo_pin
Draft

Move the equality check between a pinned package and its upstream to OpamFile.OPAM.effectively_equal_modulo_pin#6446
kit-ty-kate wants to merge 6 commits intoocaml:masterfrom
kit-ty-kate:effectively_equal_modulo_pin

Conversation

@kit-ty-kate
Copy link
Copy Markdown
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