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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deprecate ipfs-on-path #1768

Merged
merged 1 commit into from Feb 23, 2021
Merged

Conversation

lidel
Copy link
Member

@lidel lidel commented Feb 23, 2021

"ipfs-on-path" opt-in feature aims to add ipfs binary to PATH on every platform.
Unfortunately that is brittle, buggy, way better if user does this by hand for now.

We have a bunch of creative hacks that make it work most of the time, but after looking how we do it, I don't feel comfortable keeping this as a feature:

  • relies on brittle scripts which break over time and degrade user experience
  • we don't have bandwidth for maintaining this feature for all platforms
  • windows requires powershell, which a lot of users dont have on PATH (sic!)
  • linux requires polkit, not every distro uses that
    • even so, iiuc it is not even possible to make it work in sandboxed contexts like Snap or AppImage
  • adding to global PATH is a security-sensitive task and I don't think a desktop app should do this

馃憠 This PR keeps the feature enabled for existing users, but will hide menu item for new users, so it is phased out over time. If you want ipfs on your PATH follow https://docs.ipfs.io/install/command-line/

Just to illustrate, issues caused by ipfs-on-path:
#1357
#1301
#1761
#1694
#1755

This issue relies on brittle scripts which break over time and degrade
user experience. It also introduces maintenance overhead which we don't
have bandwidth to deal with.

This change keeps the feature enabled for existing users, but will hide
menu item for new users, so it is phased out over time.

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant