Skip to content

feat: add Homebrew installer via cargo-dist#113

Open
Bortlesboat wants to merge 1 commit intogoogleworkspace:mainfrom
Bortlesboat:feat/homebrew-installer
Open

feat: add Homebrew installer via cargo-dist#113
Bortlesboat wants to merge 1 commit intogoogleworkspace:mainfrom
Bortlesboat:feat/homebrew-installer

Conversation

@Bortlesboat
Copy link
Contributor

@Bortlesboat Bortlesboat commented Mar 5, 2026

Summary

  • Enable the cargo-dist homebrew installer in dist-workspace.toml
  • Configure tap repository as googleworkspace/homebrew-tap

Addresses #90

How it works

cargo-dist natively supports Homebrew — adding "homebrew" to the installers list makes the release workflow automatically generate and push a Homebrew formula to the configured tap repo.

Prerequisites

A googleworkspace/homebrew-tap repository needs to be created on GitHub (can be empty) with write access from the release workflow. The tap name is configurable — happy to adjust if the team prefers a different naming convention.

Usage (after setup)

brew tap googleworkspace/homebrew-tap
brew install gws

Test plan

  • Verify cargo-dist generates a valid Homebrew formula in CI plan mode
  • Create tap repo and test end-to-end install on macOS

@gemini-code-assist
Copy link
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@changeset-bot
Copy link

changeset-bot bot commented Mar 5, 2026

🦋 Changeset detected

Latest commit: c3aadbe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@googleworkspace/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-cla
Copy link

google-cla bot commented Mar 5, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Bortlesboat
Copy link
Contributor Author

I have signed the Google CLA — please re-check.

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.94%. Comparing base (99a6284) to head (51dbdf5).
⚠️ Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
- Coverage   54.95%   54.94%   -0.02%     
==========================================
  Files          37       37              
  Lines       12218    12222       +4     
==========================================
  Hits         6715     6715              
- Misses       5503     5507       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Bortlesboat Bortlesboat force-pushed the feat/homebrew-installer branch 3 times, most recently from a98e387 to c3aadbe Compare March 5, 2026 12:40
Enable the cargo-dist homebrew installer so users can install via:
  brew tap googleworkspace/homebrew-tap
  brew install gws

The tap repository needs to be created at
googleworkspace/homebrew-tap for the release workflow to push
the formula automatically.

Addresses googleworkspace#90
@Bortlesboat Bortlesboat force-pushed the feat/homebrew-installer branch from c3aadbe to 36e8d71 Compare March 5, 2026 12:43
@jpoehnelt jpoehnelt added area: distribution cla: yes This human has signed the Contributor License Agreement. complexity: low Small, straightforward change labels Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: distribution cla: yes This human has signed the Contributor License Agreement. complexity: low Small, straightforward change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants