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

Implicit relock if the dependencies have changed #10546

Merged
merged 2 commits into from
May 20, 2024

Conversation

Leonidas-from-XIV
Copy link
Collaborator

If lockfiles exist and these are out of date, this PR runs the solver again to re-create the lock directory.

Obsoletes #10487 as this only does the automatic locking only if the user opted in by running dune pkg lock before.

Signed-off-by: Marek Kubica <marek@tarides.com>
Signed-off-by: Marek Kubica <marek@tarides.com>
@Leonidas-from-XIV Leonidas-from-XIV merged commit 98efedf into ocaml:toolchains May 20, 2024
25 of 28 checks passed
@Leonidas-from-XIV Leonidas-from-XIV deleted the implicit-relock branch May 20, 2024 14:15
gridbugs pushed a commit to gridbugs/dune that referenced this pull request Jun 11, 2024
* Factor out validation function

Signed-off-by: Marek Kubica <marek@tarides.com>

* Relock if the lock dir is out of date

Signed-off-by: Marek Kubica <marek@tarides.com>

---------

Signed-off-by: Marek Kubica <marek@tarides.com>
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.

None yet

2 participants