Request: distribute CLI via Homebrew-Cask on macOS

Would be great if you could distribute the CLI via Homebrew-Cask on macOS:

https://github.com/caskroom/homebrew-cask


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided

Comments

  • cohixcohix

    Team Member

    We're going to be considering more distribution methods as we move towards a stable release. For now, try checking out the Dockerfile another forum user created: https://discussions.agilebits.com/discussion/81832/docker-image-for-the-cli

    Thanks for the feedback :)

  • As we work toward a stable release and eventually open source, ...

    The announcement said the cli will eventually be open source; so distributing via regular homebrew would be preferable.

  • Looks like someone's already gone the cask approach.

  • rickfillionrickfillion Junior Member

    Team Member

    Regardless of how you obtain the tool, we recommend verifying the signature via the instructions here:
    https://support.1password.com/command-line-getting-started/#set-up-the-command-line-tool

    And yes, once it's open source we'd prefer source distribution.

    Rick

  • It seems there is a Cask now:

    https://github.com/caskroom/homebrew-cask/blob/master/Casks/1password-cli.rb

    Any idea who made it? I also wonder why it's being distributed as a Cask and not via the normal Homebrew system. I thought Homebrew Cask was meant for GUI apps.

  • rickfillionrickfillion Junior Member

    Team Member

    @pervel : casks are for compiled apps and brew for sources that then get compiled locally... or at least that was my interpretation of the difference. I could be wrong.

    If I remember correctly, that cask was setup by one of the maintainers of the cask project. We aren't the ones maintaining it and so I can't in good conscience recommend that anyone use it. It's technically outside of our control.

    Any way that you download the CLI tool, even from our website, you should check its signature via the instructions provided in the message I posted above.

    Rick

  • This is what the brew documentation says about it:

    We don’t like binary formulae

    Our policy is that formulae in the core tap (homebrew/core) must be open-source and either built from source or produce cross-platform binaries (e.g. Java). Binary-only formulae should go to Homebrew Cask.

  • rickfillionrickfillion Junior Member

    Team Member

    Thanks for clarifying that @XIII.

    Rick

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file