Skip to content

Conversation

rjbou
Copy link
Collaborator

@rjbou rjbou commented Sep 4, 2025

This is not ideal as it launches the removal of uninstalled packages before the resolving/apply of the request. But integrating those removal in the solution is not easy as it rely on installed state of package (not installed -> no op).

@rjbou rjbou added the KIND: BUG label Sep 5, 2025
@rjbou rjbou marked this pull request as ready for review September 5, 2025 16:13
@rjbou rjbou requested a review from kit-ty-kate September 5, 2025 16:15
@rjbou rjbou changed the title opam remove --force` no longer run commands in current directory opam remove --force no longer run commands in current directory Sep 5, 2025
@rjbou rjbou added the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Sep 5, 2025
@rjbou rjbou added this to the 2.5.0~alpha1 milestone Sep 5, 2025
@rjbou rjbou self-assigned this Sep 18, 2025
@kit-ty-kate kit-ty-kate added STATE: READY TO MERGE and removed PR: QUEUED Pending pull request, waiting for other work to be merged or closed labels Oct 13, 2025

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
SYSTEM mkdir ${BASEDIR}/OPAM/rem-dir/.opam-switch/remove
SYSTEM mkdir ${BASEDIR}/OPAM/rem-dir/.opam-switch/remove/no-specified-dir.1
Copy link
Member

Choose a reason for hiding this comment

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

Opened #6737 to fix later

@kit-ty-kate
Copy link
Member

Thanks!

@kit-ty-kate kit-ty-kate merged commit d5e5fdd into ocaml:master Oct 14, 2025
46 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.

opam remove --force launches remove commands in current directory

2 participants