Menu ▾ ▴

#5 Turn on Homebrew, Scoop, winget and AUR publishing

open
nobody
2 days ago
2 days ago
Anonymous
No

Originally created by: A-Hackers-Guide

The GoReleaser config already has these publishers, commented out (see the end of .goreleaser.yaml).

  • [ ] create A-Hackers-Guide/homebrew-tap and A-Hackers-Guide/scoop-bucket
  • [ ] fine-grained token secret TAP_TOKEN with access to those repos
  • [ ] AUR account + AUR_KEY secret for sys1-bin
  • [ ] winget: fork microsoft/winget-pkgs for GoReleaser to open manifests from
  • [ ] uncomment and run a release

Discussion

  • Anonymous

    Anonymous - 2 days ago

    Originally posted by: A-Hackers-Guide

    Homebrew: done. brew install a-hackers-guide/tap/sys1 works on macOS and Linux.

    The tap doesn't need a personal token: an hourly workflow regenerates Formula/sys1.rb from each release's checksums.txt, commits it, then installs and runs brew test on macOS and Ubuntu. brew audit --strict --online and brew style are clean.

    winget: manifests ready and proven. packaging/winget/generate.sh <tag> writes them in microsoft/winget-pkgs layout. The winget workflow runs winget validate, then winget install --manifest on a Windows runner and runs both commands. All pass for 0.1.0. What's left is submitting to microsoft/winget-pkgs, which only accepts pull requests.

    Still open here: Scoop and AUR.

     
  • Anonymous

    Anonymous - 2 days ago

    Originally posted by: A-Hackers-Guide

    winget: submitted. microsoft/winget-pkgs#467326 adds A-Hackers-Guide.sys1 0.1.0 (x64 and arm64, portable zip with sys0 and sys1 aliases, manifest schema 1.12). Once Microsoft merges it: winget install A-Hackers-Guide.sys1.

    Before merging, Microsoft needs its Contributor License Agreement accepted on that PR; their bot posts the instructions. Future versions: run packaging/winget/generate.sh <tag>, let the winget workflow test it, and submit the new version folder.

     
  • Anonymous

    Anonymous - 2 days ago

    Originally posted by: A-Hackers-Guide

    Scoop: done. scoop bucket add a-hackers-guide https://github.com/A-Hackers-Guide/scoop-bucket then scoop install a-hackers-guide/sys1. Like the Homebrew tap, the bucket regenerates its manifest from each release's checksums every hour (no personal token) and installs it with real Scoop on Windows. Both already updated themselves to 0.2.0.

    winget: the CLA is signed and Microsoft's checks 01–07 passed on microsoft/winget-pkgs#467326. 0.2.0 manifests are ready in packaging/winget/ and test-installed in CI, to submit once 0.1.0 is merged.

    Still open: AUR (needs an AUR account and SSH key) and Chocolatey (needs an API key).

     

Log in to post a comment.