Conversation
373ad72 to
ce17bc7
Compare
This comment has been minimized.
This comment has been minimized.
ce17bc7 to
a672820
Compare
|
@djc I would like to provide some extra context regarding this part of the changes: it has been a follow-up of my request #5091 (comment) in a previous attempt of decoupling the rcfile-related logic from This is needed because the new uninstallation logic will attempt to remove the rcfile entries from both the |
a672820 to
80f5e77
Compare
This comment has been minimized.
This comment has been minimized.
80f5e77 to
6035ddd
Compare
Pass bin directories to binary, proxy, and updater helpers, and pass the resolved Cargo home to Windows uninstall GC. Give shell script helpers separate env and bin directory inputs while preserving legacy home-variable spelling.
Pass resolved env and user-home paths into source-line rendering. Share exact source-line removal and reuse the current operation paths and legacy rcfile candidates during cleanup.
6035ddd to
3abfe34
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@rami3l seems there's an error upon CI/CD, and it's not due my code. Could you re-run it? And leaving alone the part of |
ff59d0b to
f9994e1
Compare
Keep canonical_cargo_home and accept resolved paths without renaming it. Pass complete bin and env directory text to the templates, share post-install wording across platforms, and reuse the resolved homes for source commands. Keep display formatting separate from filesystem paths and use native separators in the uninstall message.
f9994e1 to
0a1873f
Compare
|
Fixed all of them @rami3l . |
0a1873f to
f592400
Compare
f592400 to
2468895
Compare
#5091 was not a complete decouple of
Process's state from the related install/uninstall helpers.So, this PR does:
Cowusage ofcargo_home_str_with_home,cargo_home_str, as the caller immediately constructsStringProcess' states, e.g.cargo_homeand other, allowing for re-using the resolution result.remove_legacy_source_command, as the same logic is already done indo_remove_from_pathIn the meantime, this the first of a series of refactors around uninstall/install/self-replacing logic.