37237 Commits

Author SHA1 Message Date
apainintheneck
e1dda872c3 use XDG_CACHE_HOME on Linux
This variable was getting filtered out before so it wasn't possible
for us to use it as the default for HOMEBREW_DEFAULT_CACHE
and HOMEBREW_DEFAULT_LOGS.
2023-10-28 19:10:20 -07:00
Bo Anderson
97eda64790
Merge pull request #16150 from Bo98/rexml-gem
Pull in REXML gem as it doesn't ship with Ruby 3
2023-10-28 18:03:30 +01:00
Bo Anderson
5003072f2b
Merge pull request #16157 from Bo98/odisabled-kwargs
extend/kernel: fix `odisabled` kwargs handling
2023-10-28 18:02:48 +01:00
Bo Anderson
7187b8b5d6
extend/kernel: fix odisabled kwargs handling 2023-10-28 17:48:31 +01:00
Bo Anderson
13ca5c3984
Merge pull request #16153 from Bo98/workflow_dispatch_event-kwargs
dev-cmd: fix GitHub.workflow_dispatch_event kwarg calls
2023-10-27 23:19:46 +01:00
Bo Anderson
f38fc62f90
dev-cmd: fix GitHub.workflow_dispatch_event kwarg calls 2023-10-27 22:37:22 +01:00
Bo Anderson
832c424dbe
Merge pull request #16151 from Bo98/bump-formula-pr-kwargs
dev-cmd/bump-formula-pr: fix specs passing under Ruby 3
2023-10-27 20:50:25 +01:00
Bo Anderson
e19127dc89
dev-cmd/bump-formula-pr: fix specs passing under Ruby 3 2023-10-27 20:34:42 +01:00
Bo Anderson
26ea6b7f9e
Pull in REXML gem as it doesn't ship with Ruby 3 2023-10-27 20:24:10 +01:00
Mike McQuaid
b5aec5492e
Merge pull request #16145 from Bo98/portable-ruby-3
Portable Ruby 3.1.4 (opt-in beta)
2023-10-27 16:31:52 +01:00
Mike McQuaid
979eed70a7
bootsnap: disable with Ruby 3. 2023-10-27 16:13:17 +01:00
Bo Anderson
14c1dce38b
Allow HOMEBREW_RUBY3 in tests 2023-10-27 15:58:43 +01:00
Bo Anderson
4ec450823c
Portable Ruby 3.1.4 (opt-in beta) 2023-10-27 15:58:43 +01:00
Mike McQuaid
93ec808d98
Merge pull request #16149 from Bo98/skip-child-gem-install
standalone/init: skip initial gem install in child processes
2023-10-27 14:19:08 +01:00
Bo Anderson
c45572ecee
standalone/init: skip initial gem install in child processes 2023-10-27 14:02:33 +01:00
Mike McQuaid
829ca9a9ed
Merge pull request #16148 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-10-27 13:23:54 +01:00
BrewTestBot
f08db0f0e6
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-10-27 12:01:23 +00:00
Mike McQuaid
e377968edb
Merge pull request #16147 from MikeMcQuaid/setup-ruby
cmd/setup-ruby.sh: add new command.
2023-10-27 13:00:27 +01:00
Mike McQuaid
a2cd92b115
cmd/setup-ruby.sh: add new command.
This command, a bit like `install-bundler-gems`, is intended to be run
to ensure that the next invocation of `brew` will not need to try and
install Ruby or Bundler gems.
2023-10-27 09:27:56 +01:00
Bo Anderson
ce63b7c7f0
Merge pull request #16144 from Bo98/pr-upload-gem-fix
dev-cmd/pr-upload: fix gems not being installed with --upload-only
2023-10-26 20:37:08 +01:00
Bo Anderson
295dda346e
Merge pull request #16143 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.30.0
build(deps-dev): bump rubocop-ast from 1.29.0 to 1.30.0 in /Library/Homebrew
2023-10-26 20:27:59 +01:00
Bo Anderson
1af398068c
dev-cmd/pr-upload: fix gems not being installed with --upload-only 2023-10-26 20:20:53 +01:00
BrewTestBot
8cdd3263f6
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-10-26 18:26:20 +00:00
BrewTestBot
bde565ea7f
brew vendor-gems: commit updates. 2023-10-26 18:20:35 +00:00
dependabot[bot]
9e0f49afc3
build(deps-dev): bump rubocop-ast in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.29.0...v1.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 18:17:05 +00:00
Mike McQuaid
fa56f723b1
Merge pull request #16139 from WangEdward/master
fix: ignore quarantine for linux cask download
2023-10-25 15:06:43 +01:00
Edward
f21af1e3eb
fix: xattr check in download quarantine 2023-10-25 21:22:06 +08:00
Edward
25ab4a2733
Revert "fix: ignore quarantine for linux cask download"
This reverts commit d2c15d04a1603c0a20fcedd0070d7c144cba28d8.
2023-10-25 21:21:28 +08:00
Edward
d2c15d04a1
fix: ignore quarantine for linux cask download 2023-10-25 19:25:29 +08:00
Bo Anderson
141ac157fd
Merge pull request #16126 from chenrui333/github/use-new-archive-urls
audit(github): prefer `/archive/refs/tags` urls over `/archive`
2023-10-24 18:48:03 +01:00
Mike McQuaid
64d309c4cf
Merge pull request #16132 from apainintheneck/replace-url-before-downloading-to-check-checksum
dev-cmd/bump-cask-pr: replace url before downloading files
2023-10-24 12:19:21 +01:00
Carlo Cabrera
4e2c9adc25
Merge pull request #16131 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-10-24 13:53:35 +08:00
apainintheneck
c033a4673c dev-cmd/bump-cask-pr: replace url before downloading files
Previously it was possible for both the version and url to be changed.
This would cause the old url to be used to download the cask and check
the checksum since the version and checksum were replaced in the cask
first and then the url would be replaced. This meant that the resulting
checksum was wrong if a url was provided and might be completely
invalid if it was interpolated.
2023-10-23 19:22:46 -07:00
BrewTestBot
b8b0d47276
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-10-24 00:06:11 +00:00
Rui Chen
b954e20d12
audit(github): also need to consider commit artifact
Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-10-23 14:58:03 -04:00
Mike McQuaid
7b0d46850d
Merge pull request #16130 from Bo98/bottle-equality
Implement equality functions for BottleSpecification
2023-10-23 17:08:32 +01:00
Bo Anderson
de83bc69e0
Implement equality functions for BottleSpecification 2023-10-23 16:17:31 +01:00
Rui Chen
a496f6708e
audit(github): prefer /archive/refs/tags urls over /archive
Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-10-23 11:00:27 -04:00
Mike McQuaid
35746e0a6b
Merge pull request #16129 from apainintheneck/rescue-formula-spec-errors-in-parser
cli/parser: rescue formula specification errors
4.1.17
2023-10-22 10:34:28 +01:00
apainintheneck
779d90082d cli/parser: rescue formula specification errors
This came up recently where an outdated formula definition
caused the program to crash with an ambiguous message when
a user wanted to upgrade a cask instead. Catching these errors
allows them to get handled later on improving error messages
and defaults. Now if the only formula with the given name is
invalid it will default to using the cask unless --formula is
specified.

- https://github.com/Homebrew/brew/issues/16123
2023-10-21 17:15:26 -07:00
Mike McQuaid
46a8310390
Merge pull request #16127 from chenrui333/update-ua
chore(global): update safari user-agent to latest
2023-10-21 09:54:17 +01:00
Mike McQuaid
4436a663f2
download_strategies/curl_spec: fix test. 2023-10-21 09:41:35 +01:00
Mike McQuaid
20b8a74906
global: use correct user-agent. 2023-10-21 09:37:57 +01:00
Eric Knibbe
55335e70e5
Merge pull request #16122 from EricFromCanada/caching-brewed-curl-deps
dependency_collector: fix caching of deps requiring brewed curl
2023-10-20 23:25:45 -04:00
Eric Knibbe
4b33460938
dependency_collector: fix caching of deps requiring brewed curl 2023-10-20 23:11:16 -04:00
Rui Chen
4232cb6c90
curl_spec: update test
Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-10-20 20:46:22 -04:00
Rui Chen
2c4b282bff
chore(global): update safari user-agent to latest
Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-10-20 19:44:16 -04:00
Bo Anderson
ee9766aa7c
Merge pull request #16121 from Homebrew/dependabot/bundler/Library/Homebrew/thor-1.3.0
build(deps-dev): bump thor from 1.2.2 to 1.3.0 in /Library/Homebrew
2023-10-20 01:26:26 +01:00
BrewTestBot
13ca7b6dd4
Update RBI files for thor.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-10-19 18:35:16 +00:00
BrewTestBot
3bcc856581
brew vendor-gems: commit updates. 2023-10-19 18:30:29 +00:00