Skip to content

Homebrew install: brew install p10node/tap/k10s #26

Open

Description

@pierreneter

Why

Today the only prebuilt route on macOS/Linux is curl … | sh. A Homebrew
formula is what most macOS users look for first, and brew upgrade is a
channel people already trust. Tracked in docs/plan.md as T25 (brew part).

Scope

  • Tap repo p10node/homebrew-tap (public, default branch main)
  • Formula installs the prebuilt release archives (darwin/linux × arm64/amd64)
    and their checksums.txt sha256 — no Go toolchain, seconds to install
  • Formula is generated from a tag + checksums.txt
    (packaging/homebrew/formula.sh, just brew-formula)
  • homebrew.yml workflow: called from release.yml after publish, and
    runnable by hand with a tag; pushes Formula/k10s.rb to the tap
  • Repo secret HOMEBREW_TAP_TOKEN: fine-grained PAT, Contents read/write
    on the tap repo only
  • Self-update steps aside for brew: k10s update / /update detect a
    binary under a Homebrew Cellar and say brew upgrade k10s instead of
    writing over the keg
  • Docs: README install section, docs/install.md, docs/update.md

Acceptance

  • brew install p10node/tap/k10s on macOS arm64/amd64 and Linuxbrew → k10s --version prints the release
  • brew audit --strict --online p10node/tap/k10s clean
  • Pushing a tag updates the tap without a manual step
  • A brew-installed k10s update exits with the brew upgrade k10s hint and leaves the keg untouched

Out of scope

homebrew-core submission, scoop, nix — separate issues.

Activity

  1. junior commented on Nov 8, 2026

    @junior
    Collaborator

    Picking this up. #29 has everything in the scope that is code: packaging/homebrew/formula.sh and just brew-formula, a homebrew.yml workflow (called from release.yml after every full release, runnable by hand with a tag, checking each archive's checksum and attestation before it writes, never moving the tap backwards), k10s update and /update stepping aside for a Homebrew keg with the brew upgrade k10s hint, and the docs. The v0.1.8 formula it generates passes brew style and brew audit --strict --online on Homebrew 7.0.12.

    Two steps are not code:

    1. p10node/homebrew-tap exists (public, main), with a README and the v0.1.8 formula, so brew install p10node/tap/k10s works now.
    2. @pierreneter: a fine-grained personal access token with resource owner p10node, repository access to p10node/homebrew-tap only and Contents: read and write, saved in this repository as the HOMEBREW_TAP_TOKEN secret. If the organization only allows fine-grained tokens after approval, it needs approving there too. Until the secret exists the release job only leaves a notice, so the pull request can merge first.

    v0.1.8 predates the step-aside, so a v0.1.8 installed with brew still updates itself over its keg until the next release replaces it; brew upgrade puts that right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions