Skip to content

No longer remove source dir on reinstall#6550

Merged
kit-ty-kate merged 4 commits intoocaml:masterfrom
rjbou:reinstall-source-rmdir
Jun 18, 2025
Merged

No longer remove source dir on reinstall#6550
kit-ty-kate merged 4 commits intoocaml:masterfrom
rjbou:reinstall-source-rmdir

Conversation

@rjbou
Copy link
Copy Markdown
Collaborator

@rjbou rjbou commented Jun 16, 2025

First noticed on #6539.
In #6436, removing build dir changes made the call to the function to clean packages artefacts no more called only for non pinned packages. This function was originally called when calling opam clean, it is no more the case, it is safe to no longer remove sources directory of non pinned package in it.
Fix #6554
Queued on

@rjbou rjbou added KIND: BUG PR: QUEUED Pending pull request, waiting for other work to be merged or closed labels Jun 16, 2025
@rjbou rjbou added this to the 2.4.0~alpha3 milestone Jun 16, 2025
@rjbou rjbou changed the title No longer remove source dire on reinstall No longer remove source dir on reinstall Jun 17, 2025
@kit-ty-kate kit-ty-kate mentioned this pull request Jun 17, 2025
@@ -1,4 +1,25 @@

(rule
(alias reftest-action-disk)
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

If you find a better name for the test

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i think it's fine

@kit-ty-kate kit-ty-kate force-pushed the reinstall-source-rmdir branch 3 times, most recently from 59724c2 to ad9728c Compare June 18, 2025 11:02
@kit-ty-kate kit-ty-kate removed the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Jun 18, 2025
@rjbou rjbou force-pushed the reinstall-source-rmdir branch from ad9728c to cea3dd2 Compare June 18, 2025 15:24
@kit-ty-kate kit-ty-kate merged commit df1c299 into ocaml:master Jun 18, 2025
44 checks passed
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.

Reinstalling package sometimes refteches sources

2 participants