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

Clean up lock file and internal representations #131

Merged
merged 5 commits into from
Nov 25, 2020
Merged

Conversation

NathanReb
Copy link
Contributor

@NathanReb NathanReb commented Nov 23, 2020

This PR reworks a little bit how we represent the duniverse and the lockfile internally.

It also makes the lockfile closer to a regular opam file. When rebuilding the duniverse representation from the lockfile it relies on regular opam fields such as pin-depends along with some extra fields that are required to keep the implementation simple while not relying on opam to collect pieces of data (especially since those could have changed since the lock).

@NathanReb NathanReb changed the title WIP: clean up lock file and internal representations Clean up lock file and internal representations Nov 24, 2020
@NathanReb NathanReb marked this pull request as ready for review November 24, 2020 15:59
@NathanReb
Copy link
Contributor Author

The CI failure is on 4.12 and seems related to a known bug in dune so I'm ignoring it for now!

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.

1 participant