Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

setup-git-commit-signing.sh installation script fails #12

Open
ddobrinskiy opened this issue Mar 5, 2023 · 1 comment
Open

setup-git-commit-signing.sh installation script fails #12

ddobrinskiy opened this issue Mar 5, 2023 · 1 comment

Comments

@ddobrinskiy
Copy link
Contributor

Running on a macbook air m2, /usr/local/bin directory does not exist.

Creating it manually then puts me into all kinds of permissions hell

❯ tea https://github.com/teaxyz/demos/blob/main/setup-git-commit-signing.sh
downloading
installed: ~/.tea/gnu.org/bash/v5.1.16

  simple setup for git GPG

  signing your commits is important for the security of the entire software industry, both open and closed

  ▌ what to expect from this script

  • installs  withoutboats/bpb † using  tea
  • add its binary to your  PATH
  • configures  git  to use it
  • help you add your GPG key to GitHub

  │ †  bpb  is a much simpler way to sign your commits than using GnuGPG
  │ https://github.com/withoutboats/bpb
installed: ~/.tea/crates.io/bpb/v1.1.0
  k first up, we’ll configure your GPG key
-----BEGIN PGP PUBLIC KEY BLOCK-----
REDACTED
-----END PGP PUBLIC KEY BLOCK-----

Password:
ln: /usr/local/bin/bpb: No such file or directory
@ddobrinskiy ddobrinskiy changed the title bpb installation script fails setup-git-commit-signing.sh installation script fails Mar 5, 2023
@mxcl
Copy link
Member

mxcl commented Mar 5, 2023

Yeah we should check the directory exists and that it is in PATH. Maybe check for ~/.local/bin first.

We're not sure about these scripts. I'm getting to thinking that the better way is via our GUI app later this year, where people can declare integrations between packages in some kind of markdown that show up once you have multiple packages installed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants