-
Notifications
You must be signed in to change notification settings - Fork 864
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
refactor: remove deprecated "ipfs on PATH" feature #1948
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking time and cleaning this up @hacdias 🙏
I think we should minimize the amount of invasive operations
See inline comments for uninstall on windows and other platforms.
If we adjust, this should be safe to ship.
License: MIT Signed-off-by: Henrique Dias <[email protected]>
4dd36f9
to
5d7b486
Compare
Co-authored-by: Marcin Rataj <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Merging, as I believe we should ship this.
It does its best to clean up any remaining cruft for legacy users, but does not impact new ones.
(I did not bother to add i18n, assuming CLI users don't mind one-time message in English, since our CLI is only in English anyway)
This PR (almost) completely removes the feature 'IPFS on PATH'. This feature was officially deprecated in #1768 and only stayed active for users that had it enabled.
Even while deprecated, this feature is creating problems (see #1943). This PR completely uninstalls IPFS on PATH for the users that still have it enabled and shows this little message:
Fixes #1943
Closes #1969
In a few versions, we should remove the uninstall code. I think it is wise to keep for now so that it reverts the changes that it made before.