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

fix: create lock dir parent if missing #10876

Merged
merged 3 commits into from
Sep 3, 2024
Merged

Conversation

maiste
Copy link
Collaborator

@maiste maiste commented Sep 3, 2024

This PR fixes #10866. It creates the lock dir if it is missing.

Signed-off-by: Etienne Marais <dev@maiste.fr>
Signed-off-by: Etienne Marais <dev@maiste.fr>
Signed-off-by: Etienne Marais <dev@maiste.fr>
@maiste
Copy link
Collaborator Author

maiste commented Sep 3, 2024

I have split the test in two commits: one before the fix and the next one after the fix is applied.

Copy link
Collaborator

@moyodiallo moyodiallo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@rgrinberg rgrinberg merged commit c94ed5b into ocaml:main Sep 3, 2024
26 of 27 checks passed
@maiste maiste deleted the fix/issue-10866 branch September 3, 2024 12:24
anmonteiro pushed a commit to anmonteiro/dune that referenced this pull request Nov 17, 2024
fix: lock creates parent dir if missing

Signed-off-by: Etienne Marais <dev@maiste.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pkg: dune pkg lock "dev/dune.lock" fails, because dune.lock is a sub-directory.
3 participants