42365 Commits

Author SHA1 Message Date
Michael Cho
7dac30a105
compilers: drop support for GCC 4.9, 5 and 6 2024-09-24 18:56:12 -04:00
Patrick Linnane
4deb9dff97
Merge pull request #18399 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.18.3 2024-09-24 11:20:38 -07:00
Patrick Linnane
4f7c91c01c
Merge pull request #18400 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11581 2024-09-24 11:19:54 -07:00
Patrick Linnane
1d02da3305
Merge pull request #18397 from Homebrew/dependabot/github_actions/github/codeql-action-3.26.9 2024-09-24 11:11:16 -07:00
BrewTestBot
5b92eeed8e
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-24 18:09:03 +00:00
BrewTestBot
ba6366d5bc
brew vendor-gems: commit updates. 2024-09-24 18:08:46 +00:00
BrewTestBot
9496f0d1a4
brew vendor-gems: commit updates. 2024-09-24 18:08:30 +00:00
dependabot[bot]
7550172efd
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11577 to 0.5.11581.
- [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-24 18:06:54 +00:00
dependabot[bot]
892afa113a
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.18.1 to 0.18.3.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.18.1...v0.18.3)

---
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-24 18:06:38 +00:00
dependabot[bot]
788c6ba5c7
build(deps): bump github/codeql-action from 3.26.8 to 3.26.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](294a9d9291...461ef6c76d)

---
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-24 18:01:39 +00:00
Ruoyu Zhong
369fd3dcaf
Speed up brew tap for no arguments
This provides a >3x speedup for `brew tap` with no arguments (i.e., when
listing taps). It also makes the completion significantly faster.

    $ hyperfine --warmup=3 --setup 'git checkout {branch}' --parameter-list branch master,brew-tap-speedup 'brew tap'
    Benchmark 1: brew tap (branch = master)
      Time (mean ± σ):      1.405 s ±  0.080 s    [User: 0.561 s, System: 0.238 s]
      Range (min … max):    1.332 s …  1.549 s    10 runs

    Benchmark 2: brew tap (branch = brew-tap-speedup)
      Time (mean ± σ):     404.1 ms ± 124.8 ms    [User: 107.9 ms, System: 200.7 ms]
      Range (min … max):   308.8 ms … 693.7 ms    10 runs

    Summary
      brew tap (branch = brew-tap-speedup) ran
        3.48 ± 1.09 times faster than brew tap (branch = master)
2024-09-25 01:50:43 +08:00
Ruoyu Zhong
64ddb6e28c
workflows/tests: only run RSpec tests with core tap on macOS
It's expensive to tap `homebrew/core` on GitHub-hosted Ubuntu runners,
and using the container requires tricks to make Codecov work. So, we
rely on macOS to provide coverage for the needs_homebrew_core RSpec
tests.
2024-09-25 00:09:32 +08:00
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
Mike McQuaid
5697a2a7e1
Merge pull request #18387 from Homebrew/deprecate_docker
docker: deprecate Ubuntu 18.04
2024-09-24 15:51:18 +01:00
Mike McQuaid
b34253c621
docker: deprecate Ubuntu 18.04
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-09-24 15:38:03 +01:00
Mike McQuaid
410fe21110
Merge pull request #18391 from Homebrew/shorten_brew_tests_temp_path
Shorten `brew tests` temporary paths.
2024-09-24 15:37:11 +01:00
Mike McQuaid
a553e6b3ed
Merge pull request #18396 from Homebrew/docker-brew-master
workflows/docker: publish `homebrew/brew:master`
2024-09-24 14:41:43 +01:00
Ruoyu Zhong
ca9c4bf2e1
workflows/docker: publish homebrew/brew:master
When we don't care about which specific Ubuntu version to use,
`homebrew/brew:master` is better than `homebrew/ubuntu22.04:master` as
it allows us to implicitly rely on the default Ubuntu version.

See discussion at #18395.
2024-09-24 21:23:50 +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
27fb07c0fc
Shorten brew tests temporary paths.
If you have `HOMEBREW_TEMP` set to a longer path (e.g. the user's
private temporary directory rather than `/private/tmp`), Sequoia will
error out on some tests when forking because the path is too long
(> 104 bytes).

To improve this situation let's:
- use a shorter path for `HOMEBREW_TEMP` by appending `/brew-tests` to
  the existing `HOMEBREW_TEMP` used outside of tests rather than
  creating nested temporary directories
- use the minimal amount of randomness to avoid collisions while
  allowing parallel tests
- use `squeeze` to remove any double slashes in the temporary path
2024-09-24 10:28:18 +01:00
Mike McQuaid
94416e82f0
Add new odeprecated, odisabled, remove disabled code.
Prepare the usual deprecation cycle for Homebrew 4.4.0.
2024-09-24 10:15:34 +01: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