35726 Commits

Author SHA1 Message Date
Ruoyu Zhong
e5308b0245
Merge pull request #19908 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-4a9ad18406
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-05-06 19:40:09 +00:00
Ruoyu Zhong
eeda784f83
Merge pull request #19909 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.23.17
build(deps-dev): bump ruby-lsp from 0.23.16 to 0.23.17 in /Library/Homebrew
2025-05-06 19:38:49 +00:00
BrewTestBot
ad72748cb9
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-05-06 19:28:03 +00:00
BrewTestBot
664798afea
brew vendor-gems: commit updates. 2025-05-06 19:27:54 +00:00
BrewTestBot
2867da98b9
brew vendor-gems: commit updates. 2025-05-06 19:27:52 +00:00
BrewTestBot
dffe01a859
brew vendor-gems: commit updates. 2025-05-06 19:27:48 +00:00
dependabot[bot]
f800e211bc
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.16 to 0.23.17.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.16...v0.23.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 18:48:37 +00:00
dependabot[bot]
b2c8706ea1
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.12060 to 0.5.12067
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.12060 to 0.5.12067
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.12060 to 0.5.12067
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.12060 to 0.5.12067
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.12067
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.12067
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.12067
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.12067
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 18:48:05 +00:00
dependabot[bot]
c02d788517
build(deps-dev): bump rspec-mocks
Bumps the rspec group in /Library/Homebrew with 1 update: [rspec-mocks](https://github.com/rspec/rspec).


Updates `rspec-mocks` from 3.13.3 to 3.13.4
- [Changelog](https://github.com/rspec/rspec/blob/rspec-mocks-v3.13.4/rspec-mocks/Changelog.md)
- [Commits](https://github.com/rspec/rspec/compare/rspec-mocks-v3.13.3...rspec-mocks-v3.13.4)

---
updated-dependencies:
- dependency-name: rspec-mocks
  dependency-version: 3.13.4
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: rspec
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 18:47:34 +00:00
Mike McQuaid
bad6554dbb
Merge pull request #19902 from Homebrew/utils_github_pr_error
utils/github: improve PR creation error message.
2025-05-06 12:53:05 +00:00
Mike McQuaid
5bfa27aa79
brew.sh: don't run sudo brew services with Bootsnap.
This is necessary to avoid permission errors.
2025-05-06 11:16:46 +01:00
Mike McQuaid
faf27ae35f
utils/github: improve PR creation error message.
This may help with debugging why this has failed.
2025-05-06 10:11:10 +01:00
Patrick Linnane
6169cd526c
Merge branch 'master' into dependabot/bundler/Library/Homebrew/rubocop-1.75.5 2025-05-05 15:18:06 -07:00
Patrick Linnane
c6a2fa335d
brew style --fix 2025-05-05 14:35:08 -07:00
Patrick Linnane
2af5eab36d
Merge pull request #19899 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-710de7e78e
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-05-05 21:25:39 +00:00
BrewTestBot
75e184049c
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-05-05 20:35:59 +00:00
BrewTestBot
409c79a9c0
brew vendor-gems: commit updates. 2025-05-05 20:35:36 +00:00
BrewTestBot
0b8e8b3bb0
brew vendor-gems: commit updates. 2025-05-05 20:35:30 +00:00
dependabot[bot]
64f49828d9
build(deps): bump setuptools in /Library/Homebrew/formula-analytics
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.1.0 to 80.3.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v80.1.0...v80.3.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 80.3.1
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 18:56:28 +00:00
dependabot[bot]
26d31f2f32
build(deps-dev): bump rubocop from 1.75.2 to 1.75.5 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.75.2 to 1.75.5.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.75.2...v1.75.5)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.75.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 18:50:47 +00:00
dependabot[bot]
9b12f7c25d
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.12053 to 0.5.12060
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.12053 to 0.5.12060
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.12053 to 0.5.12060
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.12053 to 0.5.12060
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.12060
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.12060
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.12060
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.12060
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 18:47:42 +00:00
Bo Anderson
7617ac135f
Merge pull request #19888 from Homebrew/remove-es-kibana-refs
formula_auditor: remove elasticsearch and kibana refs
2025-05-04 04:38:15 +00:00
Sam Ford
69dcbacb71
shared_audits: prevent duplicate eol_data fetches
The `eol_data` method uses `@eol_data["#{product}/#{cycle}"] ||=`,
which can unncessarily allow a duplicate API call if the same
product/cycle combination was previously tried but returned a 404
(Not Found) response. In this scenario, the value would be `nil` but
the existing logic doesn't check whether this is a missing key or a
`nil` value. If the key is present, we shouldn't make the same
request again.

This updates the method to return the existing value if the key
exists, which effectively prevents duplicate fetches. This new logic
only modifies `@eol_data` if `curl` is successful, so it does allow
the request to be made again if it failed before.

That said, this shouldn't normally be an issue and this is mostly
about refactoring the method to allow for nicer code organization.
This approach reduces the `begin` block to only the `JSON.parse` call,
which allows us to use `return unless result.status.success?` (this
previously led to a RuboCop offense because it was called within a
`begin` block).
2025-05-03 21:15:11 -04:00
Sam Ford
53c0780d85
shared_audits_spec: guard against nil value
The return value from `eol_data` can be `nil`, so we should use a
safe navigation operator before `#dig`.
2025-05-03 20:49:53 -04:00
Sam Ford
98b919f672
shared_audits_spec: use generic JSON values
This updates `eol_json_text` to use generic values (instead of values
from nodejs) and to omit some unused fields.
2025-05-03 20:48:20 -04:00
thibhero
5013c17474 formatting correctly with brew style 2025-05-03 15:39:43 -04:00
thibhero
fd97539b9e Merge remote-tracking branch 'tyuwags/master' 2025-05-03 15:24:27 -04:00
thibhero
96ca8d2e07 displaying a warning if ask is used with casks 2025-05-03 15:23:42 -04:00
thibhero
1416da262b returning if formulae is empty 2025-05-03 15:23:20 -04:00
Daeho Ro
2493be79cc
utils/shared_audits: add eol_data test 2025-05-04 02:10:08 +09:00
Sam Ford
85684f43bd
Update eol_data for API changes
The endoflife.date API has been updated, so this modifies the URL in
`SharedAudits.eol_data` to use the up to date URL and modifies the
related logic in `FormulaAuditor.audit_eol` to work with the new
response format. Specifically, there is now an `isEol` boolean value
and the EOL date is found in `eolFrom`.

One wrinkle of the new setup is that 404 responses now return HTML
content even if the request includes an `Accept: application/json`
header. This handles these types of responses by catching
`JSON::ParserError` but ideally we would parse the response headers
and use `Utils::Curl.http_status_ok?` to check for a good response
status before trying to parse the response body as JSON.
2025-05-03 12:26:54 -04:00
Rui Chen
9c2ac58709
formula_auditor: remove elasticsearch and kibana refs
Signed-off-by: Rui Chen <rui@chenrui.dev>
2025-05-03 10:58:13 -04:00
botantony
fa26976b1d
autobump_constants: add bumped_by_upstream reason
Signed-off-by: botantony <antonsm21@gmail.com>
2025-05-03 02:00:37 +02:00
Justin Rackliffe
efa2786732 Resolving CI style errors with whitespace that are not flagged using stle locally 2025-05-02 15:00:22 -04:00
BrewTestBot
4d7201f12d
brew vendor-gems: commit updates. 2025-05-02 18:07:23 +00:00
dependabot[bot]
ac48cc893f
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.12048 to 0.5.12053
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.12048 to 0.5.12053
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.12048 to 0.5.12053
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.12048 to 0.5.12053
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.12053
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.12053
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.12053
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.12053
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-02 18:02:52 +00:00
Mike McQuaid
93e0e85352
Merge pull request #19882 from Homebrew/forbid_casks_var_output
cask/installer: output the correct environment variable.
2025-05-02 15:44:27 +00:00
Justin Rackliffe
3761d70785 Revised conditional logic to match CONTRIBUTING.md recommendations on adhering to brew style findings. 2025-05-02 11:33:48 -04:00
Mike McQuaid
eae31bacdc
cask/installer: output the correct environment variable.
We previously would output `HOMEBREW_FORBIDDEN_CASKS` for both when it
was used and when `HOMEBREW_FORBID_CASKS` was set.
2025-05-02 14:38:26 +01:00
Bevan Kay
285b5074b9
formula_auditor: remove redis version limit 2025-05-02 23:27:52 +10:00
Justin Rackliffe
d73b0079e9 Resolve the corner case of anonymous OCI registry access (#16669). 2025-05-02 08:22:01 -04:00
Mike McQuaid
77b3a6e848
Merge pull request #19881 from Homebrew/max-wait-default
cmd/services: change --max-wait default
2025-05-02 07:11:02 +00:00
Mike McQuaid
d7dedbd3ed
Merge pull request #19863 from Homebrew/service-stop-domain-fix
services: try multiple domains when stopping
2025-05-02 07:10:45 +00:00
Mike McQuaid
4219c60c12
Merge pull request #19877 from Homebrew/respond-to-cleanup
standalone/init: cleanup respond_to? check
2025-05-02 07:09:57 +00:00
Mike McQuaid
b44a475728
Merge pull request #19873 from botantony/github-runner-matrix
github_runner_matrix: emulate plaform when sending `compatible?` requests
2025-05-02 07:09:40 +00:00
Mike McQuaid
dde40ca393
Merge pull request #19865 from Homebrew/forbid_casks
Add `HOMEBREW_FORBID_CASKS` to allow forbidding all casks.
2025-05-02 07:08:55 +00:00
Bo Anderson
ae58b3ef21
services: try multiple domains when stopping 2025-05-02 06:19:53 +01:00
Bo Anderson
d3591482b2
cmd/services: change --max-wait default 2025-05-02 06:16:55 +01:00
Thierry Moisan
84704c5587
patches audit: bitbucket patches should use api 2025-05-01 22:53:42 -04:00
Bo Anderson
1d025f9f8f
Merge pull request #19876 from Homebrew/gha-frozen-string-fix
utils/github/actions: fix frozen string handling
2025-05-02 01:17:02 +00:00