Speedup pass on macOS and brew

Allan Odgaard lists+pass at simplit.com
Tue Oct 23 13:35:51 CEST 2018


On 23 Oct 2018, at 18:11, pass-maillinglist at artursterz.de wrote:

> But you are right in one part, Amir. Just because brew or macports are 
> installed doesn't mean that gnu-getopts was installed with either 
> tool. Therefore, we should check if either is installed AND if 
> gnu-getopt is in the path we assume. If nothing is true, then (and 
> only then) use any reasonable fall back.
>
> But I have to think about it and make a diff as soon as I am ready.

At least for homebrew, the `pass` formula depends on `gnu-getopt`, 
therefor only a user who has `brew` installed but who did a custom 
install of `pass`, could run into an issue of missing `gnu-getopt`.

I think such scenario is unlikely, especially as `brew` allows 
installing `pass` directly from git (using `HEAD`).

Also, if it is desirable with additional fault tolerance, I would argue 
it belongs in a different commit, as it’s unrelated to the 
optimization that is being proposed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20181023/ddfdad9a/attachment.html>


More information about the Password-Store mailing list