Open exarkun opened 6 years ago
We should take a closer look at the OS X installation experience for Tahoe-LAFS and determine if there's anything we can do to make it better.
This requires access to an OS X machine, of course, which I don't presently have so I can't easily do much to move this forward. (There are some cloud OS X services which I think LeastAuthority may have used in the past; that might be one way forward, but they're a lot more hassle (read: "slow") than a true, local OS X machine.)
FWIW, in my experience, the tahoe ".pkg" installer is indeed pretty broken and I agree with the implication that it shouldn't be used/recommended at all. Last I tried it (which, granted, was a couple of years ago -- but I don't think it has changed since) there were two big issues that stuck out for me:
1) It required administrator access to run (presumably because it tries to edit the $PATH at the system level) which is arguably unnecessary and violates the POLA.
2) The resultant installed application didn't actually work in the ways that OS X users expect. To be sure, it created "tahoe.app" file (which, according to OS X guidelines, suggests a graphical application that OS X users can click on to run) when, in actuality, it was merely a bundle containing the standard tahoe
command line program (requiring users to use the terminal to run/interact with it).
That said, it is arguably safe, easier, and less confusing for OS X users to just follow the standard python steps/procedure (i.e., of pip install tahoe-lafs
into a virtualenv or whatever) to get tahoe up and running.
As for trying to make things better, two suggestions would be 1) to contribute/maintain an upstream homebrew formula for Tahoe-LAFS (since this now seems to be most popular OS X package-manager for CLI/unix-y programs) or 2) provide standalone tahoe-lafs binaries (using, e.g, PyInstaller) for users who want to use tahoe via the CLI but who don't want to have to jump through the extra hoops of installing python and a compiler, etc. (note, my PR for this was merged some time ago, but it still needs to be hooked into the tahoe-lafs.org buildbot scripts/deployment pipeline).
A customer on OS X recently detailed their experience for us: