34489 Commits

Author SHA1 Message Date
thibhero
4e90aa527d moving testball3 to testball5 2025-03-06 19:34:25 -05:00
Eric Knibbe
c5ec1fa61b
cask/installer: pass more options to cask dependencies 2025-03-06 14:10:37 -05:00
Sam Ford
1ac70579eb
Cask: skip livecheck https audit for POST requests
We recently added `POST` request support to livecheck but related cask
checks are failing the `livecheck_https_availability` audit because it
calls `validate_url_for_https_availability` which calls
`Utils::Curl.curl_check_http_content` and that checks the URL using a
`GET` request. Adding `POST` request support to all of those methods
will take some work, so this adds a guard to skip the audit if the
`livecheck` block uses `post_form` or `post_json`. This isn't ideal
but it will allow us to add these `livecheck` blocks in the interim
time.

Co-authored-by: Douglas Eichelberger <d@eic.email>
2025-03-06 12:14:42 -05:00
Mike McQuaid
0ad3ae3ae5
Merge pull request #19421 from Homebrew/global_env_cleanup
global: cleanup environment variables.
2025-03-06 15:50:43 +00:00
Mike McQuaid
d22184d593
global: cleanup environment variables.
In the spirit of trying to cleanup e.g. `brew sh` or `brew bundle env`
environment variables: let's delete them instead of fetching them.

This avoids having `env` output all the environment variables that we're
just using to pass state from Bash to Ruby.
2025-03-06 15:38:28 +00:00
Sam Ford
67c333ec0a
Xorg: Handle nil :content value
The `Xorg.find_versions` method was recently updated to replace
`match_data[:content].blank?` with `match_data[:content].empty?` but
this is producing an `undefined method 'empty?' for nil` error, as
`:content` is not present when `PageMatch.find_versions` uses cached
content. This updates `Xorg.find_versions` to handle nil `:content`
values in a way that's similar to other `find_versions` methods.
2025-03-06 10:13:56 -05:00
thibhero
f0f2e59fb7 Merge branch 'master' into ask-test
# Conflicts:
#	Library/Homebrew/vendor/bundle/bundler/setup.rb
2025-03-06 00:12:32 -05:00
thibhero
885b7c6f4f checking other tests functions 2025-03-05 23:57:58 -05:00
thibhero
0f919e8397 new files for integration_spec.rb for testball3 and 4 2025-03-05 21:32:48 -05:00
thibhero
640c5175fb creating install test with dependencies 2025-03-05 21:31:21 -05:00
thibhero
0b9374b7ac modifying integration_test.rb to work with other dependencies 2025-03-05 21:29:02 -05:00
BrewTestBot
e8ce2d6fdc
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2025-03-06 00:26:37 +00:00
thibhero
665fbc382d second test for install with dependencies 2025-03-05 17:38:55 -05:00
thibhero
0b53e54bfa Moving ask input to Install.ask 2025-03-05 17:38:18 -05:00
thibhero
817c40d261 test for upgrade_spec.rb 2025-03-05 17:37:25 -05:00
Patrick Linnane
46eb7ec4d8
Merge pull request #19431 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-ee0c0a22ba
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-03-05 20:07:39 +00:00
BrewTestBot
ca483bbed3
brew vendor-gems: commit updates. 2025-03-05 19:54:23 +00:00
Sean Molenaar
fc319f6793 feat: add tests for completion stanzas 2025-03-05 20:12:18 +01:00
Sean Molenaar
ab2b18f78c feat: add os_version for casks 2025-03-05 20:12:18 +01:00
Sean Molenaar
55b07d7fed feat: add cask shell completion 2025-03-05 20:12:18 +01:00
thibhero
01bcf2e5be brew vendor-gems: commit updates. 2025-03-05 13:05:14 -05:00
dependabot[bot]
1358883cd6
build(deps-dev): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 5.0.0 to 5.0.1.
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v5.0.0...v5.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 18:02:47 +00:00
dependabot[bot]
d5c3b7fec7
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.11882 to 0.5.11888
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-05 18:02:23 +00:00
Adrian Ho
7fe2f3b045 cmd/tap: don't stacktrace on user error
Resolves #19427.
2025-03-05 17:32:35 +08:00
thibhero
49007fbccd modifying kernel.rb to accept negative value for disk_usage_readable 2025-03-04 20:01:07 -05:00
BrewTestBot
f9f9430f8e
brew vendor-gems: commit updates. 2025-03-04 21:09:09 +00:00
dependabot[bot]
49cab95a53
build(deps-dev): bump rubocop-performance from 1.23.1 to 1.24.0 in /Library/Homebrew
Dependabot couldn't find the original pull request head commit, 8e90e064d6680169b95122594b9d997a21b299bc.
2025-03-04 21:07:20 +00:00
Douglas Eichelberger
c2a53bc209
Merge pull request #19328 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-md-2.0.0
build(deps-dev): bump rubocop-md from 1.2.4 to 2.0.0 in /Library/Homebrew
2025-03-04 20:46:36 +00:00
Patrick Linnane
79d750de47
Merge pull request #19425 from Homebrew/fix-strategic-require
fix: require strategic interface in each livecheck strategy
2025-03-04 20:41:25 +00:00
BrewTestBot
9ac2216068
brew vendor-gems: commit updates. 2025-03-04 12:07:17 -08:00
dependabot[bot]
3bb22ad9ac
build(deps-dev): bump rubocop-md in /Library/Homebrew
Bumps [rubocop-md](https://github.com/rubocop/rubocop-md) from 1.2.4 to 2.0.0.
- [Release notes](https://github.com/rubocop/rubocop-md/releases)
- [Changelog](https://github.com/rubocop/rubocop-md/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-md/compare/v1.2.4...v2.0.0)

---
updated-dependencies:
- dependency-name: rubocop-md
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 12:06:45 -08:00
Douglas Eichelberger
8301d39b99
fix: require strategic interface in each livecheck strategy 2025-03-04 11:48:54 -08:00
Patrick Linnane
287d8b4021
Merge pull request #19318 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-3.5.0
build(deps-dev): bump rubocop-rspec from 3.4.0 to 3.5.0 in /Library/Homebrew
2025-03-04 19:48:24 +00:00
BrewTestBot
30832168f1
Update RBI files for rubocop-rspec.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-03-04 19:37:33 +00:00
BrewTestBot
f030eb27f1
brew vendor-gems: commit updates. 2025-03-04 19:37:25 +00:00
Douglas Eichelberger
1494a471dd
remove lint_roller from tapioca exclusions 2025-03-04 11:36:01 -08:00
dependabot[bot]
1b73efa575
build(deps-dev): bump rubocop-rspec from 3.4.0 to 3.5.0 in /Library/Homebrew
Dependabot couldn't find the original pull request head commit, ac410e7e262a92178dcdb3a8d25fee8ab24d5424.
2025-03-04 11:30:36 -08:00
Patrick Linnane
d760e40919
Merge pull request #19420 from botantony/std_args
docs: add a bit more information about `std_*_args` to Formula Cookbook
2025-03-04 19:24:36 +00:00
Patrick Linnane
0c554fd7f4
Merge pull request #19423 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.73.2
build(deps-dev): bump rubocop from 1.73.1 to 1.73.2 in /Library/Homebrew
2025-03-04 19:21:27 +00:00
BrewTestBot
60d2db77f8
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-03-04 19:08:05 +00:00
BrewTestBot
7fdfddf697
brew vendor-gems: commit updates. 2025-03-04 19:07:55 +00:00
BrewTestBot
7e6727021d
brew vendor-gems: commit updates. 2025-03-04 19:07:43 +00:00
dependabot[bot]
d0df4385e4
build(deps-dev): bump rubocop from 1.73.1 to 1.73.2 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.73.1 to 1.73.2.
- [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.73.1...v1.73.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 18:47:29 +00:00
dependabot[bot]
f203959831
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.11875 to 0.5.11882
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 18:47:19 +00:00
botantony
bf7514f328
docs: add a bit more information about std_*_args to Formula Cookbook 2025-03-04 13:04:10 +01:00
Heath Stewart
222e8d129a
Document pwsh shell completion
Based on discussion in #19408, update the documentation to specify that `:pwsh` must be passed explicitly and that it will translate to a "powershell" argument, as is currently supported by Go's common `github.com/spf13/cobra` module and Rust's common `clap` (with `clap_complete`) crate.
2025-03-04 02:16:48 -08:00
Carlo Cabrera
807709622b
formula: remove pwsh from default completion shells
Fixes https://github.com/Homebrew/brew/pull/19407#issuecomment-2694083829
2025-03-03 20:07:13 +08:00
Mike McQuaid
e401eee162
Merge pull request #19407 from heaths/issue19403
Add PowerShell (pwsh) completion support
2025-03-03 08:31:03 +00:00
Douglas Eichelberger
fcf18912fe
Inline use of attr_predicate 2025-03-02 21:36:03 -08:00
Heath Stewart
15282dcdbd
Fix lint 2025-03-02 18:44:40 -08:00