45510 Commits

Author SHA1 Message Date
thibhero
499a9b9dae changing to installed_formulae, as its checked if it should be installed 2025-05-07 12:08:46 -04:00
thibhero
f875dbc8a7 Implementing ask input with casks
renamed `ask` to `ask_formulae`
moving option `--ask` to work with formulae and casks
2025-05-07 12:07:29 -04:00
botantony
6cea5ef4f0
cask/dsl: exclude from autobump if version is :latest
Signed-off-by: botantony <antonsm21@gmail.com>
2025-05-07 17:25:58 +02:00
botantony
4373aad153
cask/dsl: set no_autobump! if :extract_plist livecheck strategy is used
Signed-off-by: botantony <antonsm21@gmail.com>
2025-05-07 14:07:36 +02:00
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
Ruoyu Zhong
7493fd4dd4
Merge pull request #19907 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-155a31644a
build(deps-dev): bump rspec-mocks from 3.13.3 to 3.13.4 in /Library/Homebrew in the rspec group
2025-05-06 19:37:35 +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
97468c014c
Merge pull request #19905 from Homebrew/brew_services_root_bootsnap
brew.sh: don't run `sudo brew services` with Bootsnap.
2025-05-06 10:28:10 +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
541d8879c4
Merge pull request #19900 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.75.5
build(deps-dev): bump rubocop from 1.75.2 to 1.75.5 in /Library/Homebrew
4.5.1
2025-05-06 03:59:42 +00: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
Patrick Linnane
e3e1b43f3a
Merge pull request #19901 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/setuptools-80.3.1
build(deps): bump setuptools from 80.1.0 to 80.3.1 in /Library/Homebrew/formula-analytics
2025-05-05 21:25:19 +00:00
Patrick Linnane
7f6d6e01fb
Merge pull request #19898 from Homebrew/dependabot/github_actions/actions/create-github-app-token-2.0.6
build(deps): bump actions/create-github-app-token from 2.0.3 to 2.0.6
2025-05-05 21:24:59 +00:00
Patrick Linnane
f77ff1db1e
Merge pull request #19897 from Homebrew/dependabot/github_actions/github/codeql-action-3.28.17
build(deps): bump github/codeql-action from 3.28.16 to 3.28.17
2025-05-05 21:24:52 +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
dependabot[bot]
bc2808310a
build(deps): bump actions/create-github-app-token from 2.0.3 to 2.0.6
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.0.3 to 2.0.6.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](30bf6253fa...df432ceedc)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 2.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 18:33:58 +00:00
dependabot[bot]
cab19e06cb
build(deps): bump github/codeql-action from 3.28.16 to 3.28.17
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.16 to 3.28.17.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](28deaeda66...60168efe1c)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 18:33:47 +00:00
Patrick Linnane
d301f5ff7e
Merge pull request #19895 from alex391/remove-refrence-to-force-auto-update-from-docs
Remove the sentence referencing --force-auto-update from the documentation
2025-05-05 17:03:09 +00:00
Alex Leute
1add568a6f
Remove the sentence referencing --force-auto-update
Because it was removed in 9ac3182
2025-05-04 23:49:02 -04: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
Bo Anderson
1dc5f5c55c
Merge pull request #19889 from Homebrew/update-eol_data
Update eol_data for API changes
2025-05-04 04:37:50 +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
Patrick Linnane
97f9837a13
Merge pull request #19886 from botantony/no_autobump
autobump_constants: add `bumped_by_upstream` reason
2025-05-03 03:35:49 +00: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