41717 Commits

Author SHA1 Message Date
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
Mike McQuaid
972894d8a0
Merge pull request #18100 from Homebrew/more-no-include-kernel 2024-08-20 16:35:15 +01:00
Mike McQuaid
532ffa87fe
Merge pull request #18101 from Homebrew/typechecking-docs 2024-08-20 16:34:56 +01:00
Bo Anderson
7117233e5f
docs/Typechecking: update to latest code standards 2024-08-20 15:55:57 +01:00
Bo Anderson
e91ed65aef
upgrade: remove module_function 2024-08-20 15:33:08 +01:00
Carlo Cabrera
9d4000b15c
Merge pull request #18099 from Homebrew/gotoolchain
extend/ENV/super: set `GOTOOLCHAIN`
2024-08-20 22:01:08 +08: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
Carlo Cabrera
474f5763f0
Merge pull request #18097 from Homebrew/update-rubocop 2024-08-20 20:16:01 +08:00
Carlo Cabrera
cb9b469dfc
.rubocop.yml: add respond_to_missing? to OptionalBooleanParameter exemptions
This fixes a CI failure on `master`.[^1]

[^1]: https://github.com/Homebrew/brew/actions/runs/10469292764/job/28991992536
2024-08-20 18:27:07 +08:00
Carlo Cabrera
75ab63bedc
Merge pull request #18095 from Homebrew/secure-env-files
bin/brew: tighten check in `export_homebrew_env_file`
2024-08-20 17:49:49 +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
Mike McQuaid
c2713f84be
Merge pull request #18093 from Homebrew/no-include-kernel 2024-08-20 09:08:16 +01:00
Carlo Cabrera
4a11e74307
bin/brew: tighten check in export_homebrew_env_file
The current glob check will accept lines like

  HOMEBREW_FOO=bar BAD_ENV_VAR=baz

and happily export them, but we don't want that.

Let's tighten up the check to reject lines like the above.
2024-08-20 14:54:39 +08: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
Carlo Cabrera
ac5c14a485
Merge pull request #18092 from Homebrew/spdx-update 2024-08-20 10:11:08 +08: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
Eric Knibbe
361f36edf7
Merge pull request #18090 from Homebrew/dependabot/github_actions/github/codeql-action-3.26.3 2024-08-19 20:04:03 -04: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
dependabot[bot]
fa9d204b30
build(deps): bump github/codeql-action from 3.26.2 to 3.26.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.2 to 3.26.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](429e197704...883d8588e5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 18:24:14 +00:00
Carlo Cabrera
f82945ffa0
Merge pull request #18089 from Homebrew/revert-17827-SMillerDev-patch-1 2024-08-20 01:41:50 +08:00
Carlo Cabrera
c0b72dd501
Revert "feat: add attestation to installer" 2024-08-20 01:26:27 +08: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
Sean Molenaar
2a5eb025f1
Merge pull request #17827 from Homebrew/SMillerDev-patch-1
feat: add attestation to installer
2024-08-19 11:25:42 -04:00
Mike McQuaid
21c8b8be08
Merge pull request #18087 from Homebrew/even_better_git_describe_cache 2024-08-19 16:15:50 +01:00
Sean Molenaar
2e990ce35c
fix: naming tweaks
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-08-19 17:13:33 +02: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
5fb5467a35
Merge pull request #18086 from Homebrew/sponsors-maintainers-man-completions 2024-08-19 13:07:57 +01:00
BrewTestBot
143b39cfc9
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.
2024-08-19 11:57:14 +00: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
3426911432
Merge pull request #18078 from Homebrew/codespaces-more-taps 4.3.17 2024-08-19 09:36:15 +01:00
Mike McQuaid
8191a4194d
Merge pull request #18084 from Homebrew/brew_sh_ignore_git_describe_cache 2024-08-19 09:32:09 +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
Carlo Cabrera
f17ee4303c
Merge pull request #18082 from Homebrew/hardware-typed-strict 2024-08-19 11:34:41 +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
f9b81af2ea
Merge pull request #18079 from Homebrew/cleaner-typed-strict
cleaner: use `typed: strict`
2024-08-18 16:35:45 -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