Issy Long
21979c097e
Merge pull request #18119 from Homebrew/sorbet-no-formula-or-casks
...
sorbet: Ignore `Formula` and `Casks` directories
2024-08-21 21:33:18 +01:00
Issy Long
dc0cb32520
sorbet: Ignore Formula
and Casks
directories
...
- These get in the way of typechecking `cmd` Ruby
scripts in package taps, and we don't want formulae
or casks to be considered for typing.
2024-08-21 21:05:22 +01:00
Patrick Linnane
3baedec92d
Merge pull request #18116 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11532
2024-08-21 11:30:15 -07:00
BrewTestBot
21c08fd434
Update RBI files for ruby-lsp.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-08-21 18:17:25 +00:00
BrewTestBot
09c6e96543
brew vendor-gems: commit updates.
2024-08-21 18:17:19 +00:00
BrewTestBot
74eeb2e817
brew vendor-gems: commit updates.
2024-08-21 18:17:09 +00:00
dependabot[bot]
8004cf97b2
build(deps-dev): bump ruby-lsp in /Library/Homebrew
...
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp ) from 0.17.14 to 0.17.15.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases )
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.17.14...v0.17.15 )
---
updated-dependencies:
- dependency-name: ruby-lsp
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 18:14:56 +00:00
dependabot[bot]
def29f6cd2
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11531 to 0.5.11532.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 18:14:26 +00:00
Lukas Eipert
915917f4d2
Rosetta audit: Build full executable path
...
The method only returned the executable name and not the full path,
leading to a swallowed error, because brew gracefully ignores a
failing lipo command.
2024-08-21 13:19:57 +02:00
Mike McQuaid
4362955bfc
Merge pull request #18107 from mistydemeo/dev_cmd_fix_types
2024-08-21 10:10:48 +01:00
Mike McQuaid
b3082182f4
Merge pull request #18109 from leipert/leipert-fix-rosetta-audit
2024-08-21 09:53:30 +01:00
Mike McQuaid
d5b7de5f02
Merge pull request #18102 from Homebrew/requires_ancestor
2024-08-21 09:06:31 +01:00
Lukas Eipert
8814a492aa
Use plist main binary for Rosetta audit
...
Currently `brew audit` only audits the first binary in a cask.
For example the cask `wiso-steuer-2024` contains multiple binaries in
`Contents/MacOS`:
- `btssysteminfo`
- `whilfe`
- `wmain24`
The first binary (some telemetry tool) is not the main binary and not
a universal binary, but the other two are. Given that `wmain24` is
defined as the main binary in the `Contents/Info.plist`, brew probably
should audit that binary rather than just checking the first one.
2024-08-21 10:01:20 +02:00
Mike McQuaid
08c7044598
dev-cmd/edit: simplify flag check.
...
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-08-21 08:51:04 +01:00
Ruoyu Zhong
4b12a5b944
Merge pull request #18103 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11531
...
build(deps-dev): bump sorbet from 0.5.11528 to 0.5.11531 in /Library/Homebrew
2024-08-21 08:22:00 +08:00
Misty De Méo
89af10f29a
dev-cmd/edit: correct path types
...
* Avoids passing the `--project` pseudopath to path checking methods
* Ensures the project path is a Pathname, not a String
2024-08-20 16:30:43 -07:00
BrewTestBot
97775ed7d3
Update RBI files for sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-08-20 22:01:03 +00:00
BrewTestBot
c2a5313cca
brew vendor-gems: commit updates.
2024-08-20 22:00:45 +00:00
Mike McQuaid
93234387fb
Merge pull request #18088 from Homebrew/api-analytics-typed-strict
2024-08-20 20:57:58 +01:00
Patrick Linnane
683a8aad99
Update analytics.rb
...
Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com>
2024-08-20 12:47:48 -07:00
dependabot[bot]
2eab69934f
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11528 to 0.5.11531.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 19:00:52 +00:00
Carlo Cabrera
79d91aa9e9
Merge pull request #18106 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.17.14
2024-08-21 02:59:41 +08:00
dependabot[bot]
4a57af26ed
build(deps-dev): bump ruby-lsp in /Library/Homebrew
...
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp ) from 0.17.13 to 0.17.14.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases )
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.17.13...v0.17.14 )
---
updated-dependencies:
- dependency-name: ruby-lsp
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 18:28:18 +00:00
dependabot[bot]
aae629ba91
build(deps-dev): bump rspec-expectations in /Library/Homebrew
...
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations ) from 3.13.1 to 3.13.2.
- [Release notes](https://github.com/rspec/rspec-expectations/releases )
- [Changelog](https://github.com/rspec/rspec-expectations/blob/main/Changelog.md )
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.13.1...v3.13.2 )
---
updated-dependencies:
- dependency-name: rspec-expectations
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 18:27:32 +00:00
Bo Anderson
6db4ed2793
Replace some include Kernel
usages with requires_ancestor
2024-08-20 19:10:14 +01:00
Bo Anderson
e91ed65aef
upgrade: remove module_function
2024-08-20 15:33:08 +01:00
Carlo Cabrera
5316627621
extend/ENV/super: set GOTOOLCHAIN
...
This will prevent Go from automatically downloading a newer toolchain
when one is requested by a `go.mod` file. See:
- https://tip.golang.org/doc/toolchain
- https://kokada.capivaras.dev/blog/quick-bits-go-automatically-downloads-a-newer-toolchain-if-needed/
2024-08-20 21:50:37 +08:00
Mike McQuaid
a4d5dc2a42
Merge pull request #18083 from Homebrew/strict-args
2024-08-20 09:13:07 +01:00
Mike McQuaid
954f24077e
Merge pull request #18094 from Homebrew/include-kernel
2024-08-20 09:08:43 +01:00
Bo Anderson
3627cca066
Remove some unnecessary include Kernel
2024-08-20 04:16:18 +01:00
Bo Anderson
a5655f432c
global.rbi: remove
2024-08-20 03:58:12 +01:00
Bo Anderson
77204e01da
reinstall: move to submodule
2024-08-20 03:58:01 +01:00
Bo Anderson
561cc17a74
utils/gems: remove module_function
2024-08-20 03:57:23 +01:00
BrewTestBot
aeb59305a1
spdx: update license data.
...
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml ).
2024-08-20 00:13:23 +00:00
Douglas Eichelberger
b3cb9420ab
Merge pull request #18081 from Homebrew/type-safety
...
Minor type safety improvements
2024-08-19 13:24:10 -07:00
Douglas Eichelberger
7acddd7eb2
Remove unused processed option element
2024-08-19 13:19:56 -07:00
Patrick Linnane
85dfe2561b
api/analytics: use typed: strict
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-08-19 10:16:26 -07:00
Douglas Eichelberger
791ff3ac75
Add rubocop exclusion
2024-08-19 09:56:50 -07:00
Douglas Eichelberger
4bbad3c995
Add documentation for OptionsType
2024-08-19 09:47:16 -07:00
Mike McQuaid
4bf0a7f20f
brew.sh: bump minimum version.
...
We know we're definitely on at least 4.3.0 now, so let's update this.
2024-08-19 16:02:57 +01:00
Mike McQuaid
378f7f8f72
brew.sh: further improve git describe cache.
...
- Use a safe fallback in case git rev-parse fails, e.g. if this is not
considered a safe git directory. For hopefully obvious reasons: be
super careful and strict with the inputs we'll accept here.
- Better handle more permission errors when reading or writing to/from
the git describe cache. We don't care about these errors because they
are likely a result of a multiuser configuration where Homebrew is run
as several different users and this is just a (small) performance
improvement.
2024-08-19 16:02:57 +01:00
Mike McQuaid
a2a92fa46d
Merge pull request #18027 from Homebrew/make-brew-typecheck-work-with-taps
2024-08-19 12:56:12 +01:00
Mike McQuaid
c6ddb9cedb
brew.sh: hide ignorable permission errors.
...
`GIT_DESCRIBE_CACHE` is a performance optimisation that doesn't clean
up consistently when run with different Homebrew users. Instead of
doing user detection: let's just hide these errors that we don't care
about.
Reported in:
https://github.com/orgs/Homebrew/discussions/5479
2024-08-19 09:17:21 +01:00
Carlo Cabrera
3e725e747d
Merge pull request #18080 from Homebrew/installer-safety
2024-08-19 15:22:15 +08:00
Douglas Eichelberger
3943ff1406
Strict type Homebrew::CLI::Args
2024-08-18 20:30:58 -07:00
Patrick Linnane
a3600d07a2
Apply suggestions from code review
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-08-18 21:20:23 -06:00
Patrick Linnane
d992a4f923
hardware.rb: use typed: strict
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-08-18 20:28:02 -06:00
Douglas Eichelberger
fb2fdc5249
Minor type safety improvements
2024-08-18 18:16:39 -07:00
Douglas Eichelberger
f4e04c8951
Make Cask::Artifact::Installer typesafe
2024-08-18 16:10:35 -07:00
Patrick Linnane
444d4caef5
cleaner: use typed: strict
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-08-18 19:03:26 -04:00