37083 Commits

Author SHA1 Message Date
BrewTestBot
115df3389c
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-09-23 00:24:15 +00:00
Mike McQuaid
0e22d828f0
Merge pull request #16020 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2023-09-22 15:09:11 +01:00
Mike McQuaid
073a4bb925
Merge pull request #16014 from apainintheneck/scrub-sorbet-runtime-from-backtrace
utils/backtrace: scrub sorbet-runtime from backtrace
2023-09-22 09:53:10 +01:00
apainintheneck
85bd4c7e1f utils/backtrace: scrub sorbet-runtime from backtrace
Ever since we started using this at runtime it's been polluting
the backtrace output. This makes it harder to debug errors and
increases the amount of info users have to paste into the box
when filing an issue.

This is a very direct approach. Essentially, we strip out
everything related to the `sorbet-runtime` gem whenever the top
line in the backtrace is unrelated to sorbet-runtime.

The hope is that this will allow errors related to sorbet to
be diagnosed easily while also reducing the backtrace size
for all other types of errors.

Sometimes it is useful to see the full backtrace though.
For those cases, we include the full backtrace when
`--verbose` is passed in and print a warning that the
Sorbet lines have been removed from the backtrace the
first time they are removed.

Note: This requires gems to be set up so that the call to
`Gem.paths.home` works correctly. For that reason, it must
be included after `utils/gems` which is included in
`standalone/load_path` already.
2023-09-21 21:07:22 -07:00
BrewTestBot
de30852c3f
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-09-22 00:05:30 +00:00
Mike McQuaid
1f80e82dd7
Merge pull request #16011 from apainintheneck/clean-up-readall-command
cmd/readall: clean up todos
2023-09-20 08:45:25 +01:00
apainintheneck
5760ae4fb2 cmd/readall: Cleanup todos
- keep running the command against all os/arch combinations
  as the default
- remove todos and deprecations related to changing the behavior
- create constants for os/arch combinations
2023-09-19 21:33:13 -07:00
Kevin
aa2a77b1f1
Merge pull request #16010 from apainintheneck/improve-versioned-formula-names-performance
cmd/audit: improve performance of versioned formula names
4.1.12
2023-09-16 18:39:21 -07:00
apainintheneck
7e05a9b574 cmd/audit: improve performance of versioned formula names
There is a check for other versioned formula with the same name
in the file audit. This just memoizes all of the versioned
formulae in a tap during the first call and then uses that much
shorter list everytime it checks for things.
2023-09-16 09:18:13 -07:00
Mike McQuaid
184efd9eab
Merge pull request #16008 from Bo98/declared_runtime_dependencies-perf
formula: add global caching for `declared_runtime_dependencies`
2023-09-15 08:26:45 +01:00
Bo Anderson
be2834ace8
formula: add global caching for declared_runtime_dependencies 2023-09-15 03:08:27 +01:00
Mike McQuaid
b2cf50bbe1
Merge pull request #16004 from EricFromCanada/bump-reduce-output
dev-cmd/bump: reduce unnecessary output
2023-09-14 15:24:33 +01:00
Mike McQuaid
1a481be3f6
Merge pull request #16003 from Bo98/sorbet-sonoma
utils/gems: don't allow Sorbet to install on Sonoma's system Ruby
2023-09-14 15:18:58 +01:00
Bo Anderson
ade6ce123a
Merge pull request #16005 from fxcoudert/iconv
superenv: help gettext-based configure scripts
2023-09-14 14:34:51 +01:00
Bo Anderson
fe07ced056
Merge pull request #16002 from samford/update-xcodebuild-type-signature
Formula, BuildError: Update type signatures
2023-09-14 14:25:11 +01:00
Francois-Xavier Coudert
e1ca3b5c35 superenv: help gettext-based configure scripts 2023-09-14 15:19:48 +02:00
Sam Ford
578c935bcf
Formula, BuildError: Update type signatures
We're seeing type errors when building formulae that use something
like `xcodebuild ..., "-arch", Hardware::CPU.arch`, since `CPU.arch`
is a symbol. We've been addressing these issues by calling `#to_s` on
the value but there was some talk about simply expanding the type
signatures to accommodate anything that will be cast to a `String`.

There's maybe still an argument to be made for doing string conversion
in formulae but expanding the type signatures will resolve a number of
existing type errors if we simply want to rely on implicit type
casting.

Past that, this also updates the type signature for `BuildError` to
align with the `#system` signature changes, as we receive a type error
otherwise.
2023-09-13 19:16:04 -04:00
Eric Knibbe
7c707216a2
dev-cmd/bump: skip head-only & disabled formulae 2023-09-13 18:02:12 -04:00
Eric Knibbe
6235a7f1af
dev-cmd/bump: omit PR lines with --no-pull-requests 2023-09-13 17:59:11 -04:00
Bo Anderson
dd17799d0a
utils/gems: don't allow Sorbet to install on Sonoma's system Ruby 2023-09-13 19:14:18 +01:00
Mike McQuaid
c953076609
Merge pull request #15883 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.7.3
build(deps): bump rubocop-sorbet from 0.7.0 to 0.7.3 in /Library/Homebrew
2023-09-13 14:39:24 +01:00
Bo Anderson
cf08039712
os/mac/xcode: remove unnecessary type assertion 2023-09-13 14:26:27 +01:00
Mike McQuaid
b415a0dba6
Merge pull request #15952 from Bo98/gemgroup-file
Move gem group setting to separate, cacheable file
2023-09-13 14:25:59 +01:00
Bo Anderson
4b7eec6104
standalone/load_path: add Bundler to LOAD_PATH 2023-09-13 14:17:31 +01:00
BrewTestBot
8dd5ccdb6b
Update RBI files for rubocop-sorbet.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-09-13 14:09:20 +01:00
BrewTestBot
830032ea17
brew vendor-gems: commit updates. 2023-09-13 14:09:20 +01:00
dependabot[bot]
5d11642ebb
build(deps): bump rubocop-sorbet in /Library/Homebrew
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.7.0 to 0.7.3.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases)
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.7.0...v0.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 14:09:20 +01:00
Bo Anderson
9cf0d34ee0
Move gem group setting to separate, cacheable file 2023-09-13 14:04:13 +01:00
Mike McQuaid
24de357fbf
Merge pull request #16000 from MikeMcQuaid/gitlab_shared_audit_fix
utils/shared_audits: handle 404 metadata errors from GitLab API.
2023-09-13 09:48:07 +01:00
Mike McQuaid
c1f79499af
Merge pull request #15942 from issyl0/audit-pypi-package-names-match-resource-names
Add an audit for mismatched Python resource and PyPi package names
2023-09-13 09:32:09 +01:00
Mike McQuaid
0454669656
utils/shared_audits: handle 404 metadata errors from GitLab API.
Fixes #15995.
2023-09-13 09:31:34 +01:00
Mike McQuaid
7ef351ea16
Merge pull request #15999 from MikeMcQuaid/docs_fix_link
docs/Rakefile: fix broken link.
2023-09-13 09:14:12 +01:00
Mike McQuaid
c2bddc9957
docs/Rakefile: fix broken link.
This link works but it's failing CI.
2023-09-13 09:00:37 +01:00
Mike McQuaid
7a849b3d1c
Merge pull request #15996 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2023-09-13 08:54:53 +01:00
Mike McQuaid
e7c4d7ebeb
resource_auditor: handle potential nil case. 2023-09-13 08:51:54 +01:00
Bo Anderson
34eb4f8a94
Merge pull request #15997 from Bo98/14rc-pkgconfig
os/mac/pkgconfig: update for macOS 14 RC SDK
2023-09-13 02:13:37 +01:00
Bo Anderson
6d0c424b41
os/mac/pkgconfig: update for macOS 14 RC SDK 2023-09-13 01:47:03 +01:00
BrewTestBot
403b2fd3d2
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-09-13 00:05:27 +00:00
Nanda H Krishna
eacdf7aa60
Merge pull request #15994 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-09-11 23:27:53 -04:00
BrewTestBot
b2ee23c7a3
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-09-12 00:24:40 +00:00
Issy Long
bf163013d9
Use a regex instead of splitting the URL on / etc 2023-09-12 00:30:21 +01:00
Mike McQuaid
4afb8e5602
Merge pull request #15992 from MikeMcQuaid/change_rpath_sig
os/mac/keg: fix `change_rpath` type signature.
4.1.11
2023-09-11 15:41:33 +01:00
Mike McQuaid
9d44d278e4
os/mac/keg: fix change_rpath type signature.
Fixes #15990
2023-09-11 14:57:22 +01:00
Mike McQuaid
96e61c5ba5
Merge pull request #15991 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-09-11 14:44:58 +01:00
BrewTestBot
498d0ee8ea
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-09-11 13:28:18 +00:00
Mike McQuaid
86acd120b8
Merge pull request #15983 from razvanazamfirei/deprecate-online-flag
bump-cask-pr: deprecate online flag
2023-09-11 14:27:01 +01:00
Razvan Azamfirei
705c466bbd
bump-cask-pr: comment out odeprecated 2023-09-11 09:13:43 -04:00
Mike McQuaid
4e0ec2555e
Merge pull request #15986 from EricFromCanada/docs-assorted-improvements
Docs: assorted refinements for output
2023-09-11 13:06:52 +01:00
Mike McQuaid
bd1caa4f87
Merge pull request #15974 from chenrui333/chore-update-safari-ua
chore: update safari UA to the latest
2023-09-11 13:05:40 +01:00
Mike McQuaid
838cb3bef9
Merge pull request #15987 from apainintheneck/audit-cmd-only-flush-formulary-cache-when-needed
cmd/audit: only flush formulary cache when needed
2023-09-11 13:03:41 +01:00