Commit Graph
51185 Commits
Author SHA1 Message Date
Mike McQuaidandGitHub b48c7994b5 Merge pull request #23182 from Homebrew/install-step-05-inreplace
Add install step inreplace (5/24)
6.0.12
2026-07-20 14:44:11 +00:00
Mike McQuaid 390c74bd49 Add install step inreplace
Several tap hooks only substitute install-time paths in generated files
and do not need arbitrary Ruby execution.

- expose the familiar `inreplace` name and option defaults
- serialise literal substitutions, regular expressions and their flags
- accept regexp literals in formula and cask step validators
- expand only fixed install-time template tokens
- share validation and execution between formulae and casks
2026-07-20 15:22:20 +01:00
Mike McQuaidandGitHub 63379d98f4 Merge pull request #23219 from Homebrew/exclude-arches-in-fetch
fetch: exclude arches without downloads
2026-07-20 14:15:05 +00:00
Mike McQuaidandGitHub ba3504ac0a Merge pull request #23220 from Homebrew/generate-zap-change
dev-cmd/generate-zap: glob sfl files
2026-07-20 14:07:05 +00:00
8caef6b7fb Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-20 20:14:43 +08:00
Bevan Kay 94a6202ade dev-cmd/generate-zap: glob sfl files 2026-07-20 21:55:23 +10:00
Justin Krehel 5f1ef87396 fetch: exclude arches without downloads
`brew fetch sonarqube-cli --arch=intel` fails with a confusing
`curl: (22) ... 403` because the cask builds its URL from the `arch`
stanza and has a single `sha256` inside `on_macos`, so under an arch
the cask doesn't support both still resolve and it attempts to fetch a
URL that doesn't exist upstream.

This will skip an os/arch combination when the loaded cask's
`depends_on.arch` excludes that architecture, reusing the existing
"not supported" warning:

    $ brew fetch --cask sonarqube-cli --arch=intel
    Warning: Cask sonarqube-cli is not supported on os golden_gate and arch intel

Adds a `depends-on-arch-arm64` test cask replicating the behavior
and a `#cask_downloads` spec covering the skip.
2026-07-20 07:53:46 -04:00
Mike McQuaidandGitHub d4832f0f38 Merge pull request #23208 from Homebrew/docs-language-consolidation
docs: consolidate language documentation
2026-07-20 07:35:32 +00:00
Mike McQuaidandGitHub fbc77d70b1 Merge pull request #23206 from Homebrew/maintainer-contributions-report
Add quarterly maintainer activity reports
2026-07-20 07:34:09 +00:00
Mike McQuaidandGitHub bda55f4cbe Merge pull request #23207 from Homebrew/docs-cask-cookbook-accuracy
docs: correct the Cask Cookbook and cask terminology
2026-07-20 07:22:03 +00:00
Mike McQuaidandGitHub d89712d4c8 Merge pull request #23214 from Homebrew/remove-services-triggers-constants
Remove unused services subcommand TRIGGERS constants
2026-07-20 07:21:58 +00:00
Mike McQuaidandGitHub 949e23d189 Merge pull request #23205 from ragtimelab/agent/fix-cask-migration-artifact-order
Allow reordered Cask migration artifacts
2026-07-20 07:20:12 +00:00
Mike McQuaidandGitHub a85567a0aa Merge pull request #23209 from Homebrew/analytics-update-armbian
formula-analytics: compress Armbian versions
2026-07-20 07:18:41 +00:00
Mike McQuaidandGitHub 6c1326e14b Merge pull request #23122 from Homebrew/cask-sha256-other-os
cask/audit: allow linux-only checksums and run audits on linux
2026-07-20 07:18:13 +00:00
Mike McQuaid 5843a9306d Add quarterly maintainer activity reports
- Make role and stipend reviews objective and repeatable each quarter.
- Add `--maintainer-report-csv=YEAR-Q` for governance periods.
- Read quarter-end roles and tenure from `Homebrew/brew` Git history.
- Attribute merged PRs and coauthors from the three primary repositories.
- Query GitHub by merge date only when local Git history is absent.
- Use GitHub's approved-review search only where Git lacks review data.
- Cache completed searches in Homebrew's existing prunable cache.
- Preserve accurate cross-repository role checks when counts are capped.
- Write compact CSV output to stdout and the current directory.
- Align thresholds and two-quarter downgrades with governance policy.
- Cover historical identities, attribution, caps and caching in tests.
2026-07-20 08:08:37 +01:00
Bevan Kay 2ed1c447dd cask/dsl: allow linux-only checksums 2026-07-20 16:28:31 +10:00
Patrick LinnaneandGitHub ce86a2ddf4 Merge pull request #23210 from Homebrew/cask-uninstall-removed-from-api
Fix uninstalling casks removed from the API
2026-07-20 05:16:55 +00:00
Bevan KayandGitHub 345d9c3d24 Merge pull request #23211 from Homebrew/cask-download-preserve-rename
api/cask_download: preserve rename operations
2026-07-20 04:51:31 +00:00
Douglas Eichelberger 99e7f7f2ad Remove unused services subcommand TRIGGERS constants
Each `Homebrew::Cmd::Services::*Subcommand` defined a `TRIGGERS`
constant, but nothing reads it: the subcommand names and aliases used to
dispatch `brew services <subcommand>` come from `subcommand_name` and the
`subcommand_args aliases:` declaration in `AbstractCommand`. The
constants (and the four specs asserting their contents) are dead
duplication, so remove them.

Claude-Session: https://claude.ai/code/session_011BgWRBydtdkvt8ocqH4nj9
2026-07-19 21:39:18 -07:00
Ruoyu ZhongandGitHub 0fbcaadf36 Merge pull request #23213 from Homebrew/devcontainer-no-ask
Disable ask mode in Codespaces prebuild
2026-07-20 03:23:44 +00:00
Patrick Linnane 708188dc51 Disable ask mode in Codespaces prebuild
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 19:31:53 -07:00
Bevan Kay 114584079b api/cask_download: preserve rename operations 2026-07-20 11:52:55 +10:00
Patrick Linnane b512bd5df2 Fix uninstalling casks removed from the API
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 18:49:28 -07:00
Patrick Linnane 469f451100 docs/Cask-Cookbook: apply maintainer review feedback
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 16:59:18 -07:00
Justin Krehel 2ae8a16dec formula-analytics: compress Armbian versions
Armbian publishes nightly -trunk.N images, so a new os_version row
appears in analytics roughly every day which can be collapsed
into singular versions by the operating system version.

This performs 4 normalisations -

- the nightly build number is dropped
- the _community / -unofficial / OS name variants fold into Armbian
- inconsistent zero padding (26.05 vs 26.5) is unified
- the codename is lowercased
2026-07-19 18:57:26 -04:00
Patrick LinnaneandGitHub 860497fef0 Merge pull request #23176 from Homebrew/docs-expense-policy-simplification
docs: simplify the Expense and Reimbursement Policy
2026-07-19 21:54:38 +00:00
Patrick Linnane 4291ceed02 docs/Language-Specific-Formulae: scope the std_pip_args prefix claim to installs
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 13:54:13 -07:00
Patrick Linnane d3de4bc7b5 docs: correct the Cask Cookbook and cask terminology
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 13:45:43 -07:00
Patrick Linnane f90fd8c62d docs: consolidate language documentation
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 13:43:15 -07:00
ragtimelab 05a3e0bda0 Allow reordered Cask migration artifacts 2026-07-20 04:30:38 +09:00
Mike McQuaidandGitHub 9a4970163d Merge pull request #23202 from Homebrew/install-step-04-sandbox-hardening
Sandbox formula install steps
2026-07-19 19:24:52 +00:00
Mike McQuaid 5129ea4dbf Sandbox formula install steps
- Run structured steps inside the existing post-install subprocess so
  filesystem and network restrictions match legacy hooks.
- Route installs and `brew postinstall` through the sandboxed path even
  when no Ruby `post_install` hook remains.
- Preserve structured-step ordering and versioned-prefix resolution.
2026-07-19 20:01:53 +01:00
Mike McQuaidandGitHub 41b5372eca Merge pull request #23174 from Homebrew/docs-package-acceptance-policy
docs: add a shared package acceptance policy
2026-07-19 18:55:31 +00:00
Patrick LinnaneandGitHub ef74286cdf Merge pull request #23204 from Homebrew/sponsors-maintainers-man-completions
Update maintainers.
2026-07-19 16:54:06 +00:00
BrewTestBot 23831e18ea Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2026-07-19 16:36:32 +00:00
Mike McQuaidandGitHub 8d63f72ea8 Merge pull request #23178 from Homebrew/install-step-01-scoped-guards
Add scoped install step guards (1/24)
2026-07-19 16:28:05 +00:00
Patrick LinnaneandGitHub 360197a81d Merge pull request #23173 from Homebrew/docs-platform-support-and-shell
docs: update installation, platform support and shell completion pages
2026-07-19 16:24:46 +00:00
Patrick LinnaneandGitHub 191840f691 Merge pull request #23175 from Homebrew/docs-governance-process
docs: restyle governance and maintainer process pages
2026-07-19 16:21:15 +00:00
Patrick LinnaneandGitHub 56c96d8489 Merge pull request #23177 from Homebrew/docs-command-and-integration-references
docs: update command and integration references
2026-07-19 16:21:08 +00:00
Patrick LinnaneandGitHub a9f7e115a3 Merge pull request #23172 from Homebrew/docs-user-troubleshooting
docs: update FAQ and troubleshooting pages
2026-07-19 16:18:46 +00:00
Mike McQuaidandGitHub c79eb0cb89 Merge pull request #23179 from Homebrew/install-step-02-path-handling
Expand install step path handling (2/24)
2026-07-19 17:12:05 +01:00
Mike McQuaidandGitHub 3874721527 Merge pull request #23180 from Homebrew/install-step-03-copies
Add install step copies (3/24)
2026-07-19 17:11:57 +01:00
Mike McQuaidandGitHub 2966030b87 Merge pull request #23181 from Homebrew/install-step-04-removals
Add install step removals (4/24)
2026-07-19 17:11:46 +01:00
Patrick Linnane 6a7a7f3ccf docs: address review comments on acceptance policy pages
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 09:10:44 -07:00
Patrick Linnane 86787bedd8 docs: add a shared package acceptance policy
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 09:10:44 -07:00
Patrick Linnane 785cdcbb1e cmd/bundle: describe cask support as Homebrew casks
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 09:03:52 -07:00
Patrick Linnane c79c741078 docs/Expense-and-Reimbursement-Policy: apply Lead Maintainer review feedback
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 09:02:50 -07:00
Patrick Linnane 9240eb2ae0 docs/Maintainer-Stipends-and-Grants: clarify hardware contribution cap
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 09:02:08 -07:00
Patrick Linnane be89e6317b docs: address review comments on platform pages
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 09:01:13 -07:00
Patrick Linnane 7e7be2706b docs: address review comments on troubleshooting pages
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2026-07-19 09:00:21 -07:00