42046 Commits

Author SHA1 Message Date
Ruoyu Zhong
c4f80ed7f7
workflows/tests: run tap syntax job on macos-14
Unlike the Ubuntu images [^1], `macos-14` has both core and cask
tapped [^2] so setting up Homebrew should be faster there.

[^1]: https://github.com/actions/runner-images/blob/ubuntu24/20240922.1/images/ubuntu/scripts/build/install-homebrew.sh
[^2]: https://github.com/actions/runner-images/blob/macos-14/20240923.101/images/macos/scripts/build/install-homebrew.sh#L23-L24
2024-09-25 00:09:32 +08:00
Ruoyu Zhong
89b8e32b4f
workflows/tests: use the container for some jobs
The containers have `homebrew/core` tapped so we don't need to wait
forever for the tap repo to be cloned.

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-09-25 00:09:31 +08:00
Carlo Cabrera
cee2287658
Merge pull request #18393 from Homebrew/sponsors-unbound-variable 2024-09-24 19:36:13 +08:00
Carlo Cabrera
e465162734
sponsors-maintainers-man-completions: fix unbound variable
https://github.com/Homebrew/brew/actions/runs/11012718453/job/30579518221#step:6:106
2024-09-24 19:25:03 +08:00
Carlo Cabrera
b6783204e8
Merge pull request #18369 from Homebrew/strict-workflows 2024-09-24 19:21:50 +08:00
Mike McQuaid
73e521ec59
Merge pull request #18389 from Homebrew/pkg-installer-create-or-update-issue
workflows/pkg-installer: create an issue when publish fails
2024-09-24 09:26:40 +01:00
Mike McQuaid
341a1ef70e
Merge pull request #18384 from iMichka/ubuntu18
linux: drop ubuntu 18.04
2024-09-24 08:59:07 +01:00
Michka Popoff
496ece235a
Drop Ubuntu 18.04 devcontainer
Ubuntu 18.04 is EOL now, so stop building devcontainers for it.

Also adjust some dates in the documentation.
2024-09-24 08:35:58 +01:00
Ruoyu Zhong
2865080a8f
workflows/pkg-installer: create an issue when publish fails
This uses the `Homebrew/actions/create-or-update-issue` action added in
Homebrew/actions#588 to create an issue when the publish fails for a
release. It also automatically updates the issue on repeated failures,
and closes the issue when the latest workflow run succeeds.
2024-09-24 11:14:44 +08:00
Mike McQuaid
bd3c7f8053
Merge pull request #18372 from ywwry66/brew-link-install-info-gz
keg: Install `gzip`ed info files during linking
2024-09-23 09:02:41 +01:00
Mike McQuaid
06f60ffaf3
Merge pull request #18367 from Homebrew/skip-sorbet-assignments
Exclude sorbet assignments from Style/MutableConstant cop
2024-09-23 09:02:03 +01:00
Patrick Linnane
9160445818
Merge pull request #18374 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11577 4.3.24 2024-09-22 07:43:43 -07:00
BrewTestBot
c5e4617eca
brew vendor-gems: commit updates. 2024-09-22 14:33:02 +00:00
dependabot[bot]
d10295c9b1
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11572 to 0.5.11577.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-22 14:31:20 +00:00
Carlo Cabrera
40567115a3
workflows: use set -xeuo pipefail globally
This makes it easier to avoid subtle shell script bugs.
2024-09-22 19:56:20 +08:00
Ruiyang Wu
401b45fb01 keg: Install gziped info files during linking
Currently, `brew link` installs `*.info` files to
`#{HOMEBREW_PREFIX}/share/info/dir` using the `install_info` method.
However, some formulae (e.g., `Emacs`) also ship `*.info.gz` files,
which are only `symlink`ed but not installed.

This commit allows `*.info.gz` files to be installed during linking in
addition to the `*.info` files.
2024-09-21 22:28:24 -04:00
Carlo Cabrera
29c22e0ab3
Merge pull request #18370 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2024-09-21 03:27:10 +08:00
BrewTestBot
83b2447f2c
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-09-20 19:09:26 +00:00
Carlo Cabrera
798b52deea
Merge pull request #18368 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.18.1
build(deps-dev): bump ruby-lsp from 0.18.0 to 0.18.1 in /Library/Homebrew
2024-09-21 02:54:38 +08:00
dependabot[bot]
7adeb517ed
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.18.0...v0.18.1)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 18:45:13 +00:00
Douglas Eichelberger
eeb31d3050 Fix violations 2024-09-20 11:07:00 -07:00
Douglas Eichelberger
c354377f3e Exclude sorbet assignments from Style/MutableConstant cop 2024-09-20 10:45:26 -07:00
Mike McQuaid
45ae9f44d4
Merge pull request #18364 from Homebrew/fix_cmake_extend_prepend
formula: fix alias/generic/prepend std_cmake_args issue.
2024-09-20 13:13:29 +01:00
Mike McQuaid
eab322946a
formula: fix alias/generic/prepend std_cmake_args issue.
Seen in:
https://github.com/Homebrew/homebrew-core/pull/191090#issuecomment-2363215204

There's a missing signature issue here due to the `generic_*` aliasing
we're doing. With prepend, though: this is no longer needed and we can
use `super` instead which is more idiomatic and nicer overall.

This pattern should probably be applied in other places but: let's try
this targetting fix for here first.
2024-09-20 13:01:42 +01:00
Mike McQuaid
d8fd19dde5
Merge pull request #18298 from Homebrew/curl-14.5
os/mac/pkgconfig/14: update libcurl for 14.5 SDK
2024-09-20 12:55:02 +01:00
Douglas Eichelberger
3b649d1dec
Merge pull request #18305 from Homebrew/no-undefs
Use prepended modules instead of `undef` for OS-specific code
2024-09-19 14:03:31 -07:00
Douglas Eichelberger
125ced9cf8 Fix formatting 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
61985bc7f3 Use top-level OS instead 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
bb80f063dc Fix namespacing 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
7cd329c116 Makes args readable 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
27e951c408 Replace undef with prepended modules 2024-09-19 10:58:53 -07:00
Douglas Eichelberger
07da4aa7a6 Stop suppressing undef errors 2024-09-19 10:58:53 -07:00
Carlo Cabrera
b76debe4c7
Merge pull request #18362 from Homebrew/github_runner_matrix-all_supported 2024-09-20 00:56:54 +08:00
Carlo Cabrera
c5563dbb0f
github_runner_matrix: include 15-x86_64 with --all-supported
Part of #18356.
2024-09-20 00:27:43 +08:00
Patrick Linnane
d093a63dbb
Merge pull request #18360 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11572 2024-09-19 09:04:00 -07:00
Patrick Linnane
262515212c
Merge pull request #18357 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.18.0 2024-09-19 09:02:07 -07:00
Patrick Linnane
4e9ac62e47
Merge pull request #18358 from Homebrew/dependabot/github_actions/github/codeql-action-3.26.8 2024-09-19 08:58:04 -07:00
BrewTestBot
82d907ec3d
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-09-19 15:47:24 +00:00
BrewTestBot
611e990f89
brew vendor-gems: commit updates. 2024-09-19 15:47:00 +00:00
BrewTestBot
6d7644ed61
brew vendor-gems: commit updates. 2024-09-19 15:46:52 +00:00
dependabot[bot]
9b001f337f
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11566 to 0.5.11572.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 15:45:29 +00:00
dependabot[bot]
823c6bf581
build(deps): bump github/codeql-action from 3.26.7 to 3.26.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.7 to 3.26.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](8214744c54...294a9d9291)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 15:44:48 +00:00
dependabot[bot]
824b539696
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.17.17 to 0.18.0.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.17.17...v0.18.0)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 15:44:46 +00:00
Mike McQuaid
60a07c9c5b
Merge pull request #18355 from Homebrew/manifest-error-fix2
formula_installer: fix manifest error handling
2024-09-19 15:47:23 +01:00
Bo Anderson
ca26080ef4
formula_installer: fix manifest error handling 2024-09-19 15:26:14 +01:00
Carlo Cabrera
e1ff668957
Merge pull request #18352 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11566 2024-09-19 03:23:28 +08:00
BrewTestBot
7c57190931
brew vendor-gems: commit updates. 2024-09-18 19:09:40 +00:00
dependabot[bot]
13a20a39a1
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11558 to 0.5.11566.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 18:40:05 +00:00
Mike McQuaid
21bb3e15bb
Merge pull request #18350 from Homebrew/fail-when-no-longer-all-bottle
dev-cmd/bottle: improve `:all` bottle handling
2024-09-18 17:21:29 +01:00
Carlo Cabrera
f26530dd9d
dev-cmd/bottle: improve :all bottle handling
Currently, we silently ignore cases where a formula previously had an
`:all` bottle but now no longer does.

These are most often due to (in order of likelihood):
- bottle reproducibility breakage in `brew`
- new hard-coded `/usr/local` references in text files in a bottle

The former is a bug that should be fixed, while the latter can be fixed
trivally with an `inreplace`.

Let's try to make sure we always do this by making `brew bottle` error
out so that we can catch these instances as they happen rather than
after the fact.

I haven't encountered any cases where a formula previously had an `:all`
bottle but no longer does for reasons other than the two outlined above.

If we do encouter those in the future, we can either:
- update `brew bottle` to skip this check, perhaps with a new flag
- delete the formula's old `:all` bottle before doing `brew bottle` so
  it doesn't error
2024-09-18 19:21:54 +08:00