41367 Commits

Author SHA1 Message Date
BrewTestBot
8bf6a01719
brew vendor-gems: commit updates. 2024-08-13 15:55:18 +00:00
dependabot[bot]
6bb898a4ce
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11518 to 0.5.11519.
- [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-13 15:53:43 +00:00
Issy Long
190912527d
Merge pull request #18034 from chenrui333/fix-product-eol-check 2024-08-13 09:58:33 +01:00
Rui Chen
1270eb37b1
formula_auditor: fix eol check
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-08-13 16:36:38 +08:00
Mike McQuaid
aad48a01db
Merge pull request #18026 from Homebrew/vscode_tweaks 2024-08-13 08:13:19 +01:00
Patrick Linnane
e590bca5f6
Merge pull request #18033 from bevanjkay/revert-18020-installer-safety 2024-08-12 15:34:32 -07:00
Bevan Kay
dcce0584bd
Revert "Make Cask::Artifact::Installer typesafe" 2024-08-13 08:24:20 +10:00
Douglas Eichelberger
32107f2cb3
Merge pull request #18020 from Homebrew/installer-safety
Make Cask::Artifact::Installer typesafe
2024-08-12 13:35:21 -07:00
Bo Anderson
b9e714d34c
Merge pull request #18030 from Homebrew/revert-17926-ww/gh-too-old
Revert "attestation: specialize error when `gh` is old"
2024-08-12 21:07:26 +01:00
William Woodruff
09c12d817e
Revert "attestation: specialize error when gh is old" 2024-08-12 15:53:17 -04:00
William Woodruff
aafa81b3d9
Merge pull request #17926 from Homebrew/ww/gh-too-old 2024-08-12 15:28:36 -04:00
William Woodruff
be8ee6ea22
fixup attestation_spec
Signed-off-by: William Woodruff <william@yossarian.net>
2024-08-12 15:10:18 -04:00
William Woodruff
30acccf4b3
attestation: disable if gh is too old
Signed-off-by: William Woodruff <william@yossarian.net>
2024-08-12 14:54:55 -04:00
Patrick Linnane
eaf0551252
Merge pull request #18025 from Homebrew/dependabot/bundler/Library/Homebrew/rexml-3.3.5 2024-08-12 09:37:38 -07:00
Mike McQuaid
46bf4d7948
Improve VSCode configuration
- Update outdated and add new recommended extensions
- Exclude some vendored code from search results by default
- Add more VSCode editor settings that are consistent with our linting
- Provide configuration for coverage visualization in VSCode but disable
  it by default
- Add SimpleCov coverage for `eval` and ensure that we always default to
  line coverage in case upstream defaults ever change
2024-08-12 17:36:14 +01:00
BrewTestBot
b25b897604
brew vendor-gems: commit updates. 2024-08-12 16:24:17 +00:00
dependabot[bot]
5c5fa8dbce
build(deps-dev): bump rexml from 3.3.4 to 3.3.5 in /Library/Homebrew
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.3.4...v3.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 16:22:51 +00:00
Carlo Cabrera
17ed0a3f00
Merge pull request #18024 from Homebrew/sync-shared-config 2024-08-12 22:59:55 +08:00
BrewTestBot
0b52220278
stale-issues.yml: update to match main configuration 2024-08-12 14:44:43 +00:00
Issy Long
1376c5d204
Merge pull request #18023 from Homebrew/use-rubocop-for-sorbet-strict-sigils
rubocop: Use `Sorbet/StrictSigil` as it's better than comments
2024-08-12 15:39:42 +01:00
Issy Long
45978435e7
rubocop: Use Sorbet/StrictSigil as it's better than comments
- Previously I thought that comments were fine to discourage people from
  wasting their time trying to bump things that used `undef` that Sorbet
  didn't support. But RuboCop is better at this since it'll complain if
  the comments are unnecessary.

- Suggested in https://github.com/Homebrew/brew/pull/18018#issuecomment-2283369501.

- I've gone for a mixture of `rubocop:disable` for the files that can't
  be `typed: strict` (use of undef, required before everything else, etc)
  and `rubocop:todo` for everything else that should be tried to make
  strictly typed. There's no functional difference between the two as
  `rubocop:todo` is `rubocop:disable` with a different name.

- And I entirely disabled the cop for the docs/ directory since
  `typed: strict` isn't going to gain us anything for some Markdown
  linting config files.

- This means that now it's easier to track what needs to be done rather
  than relying on checklists of files in our big Sorbet issue:

```shell
$ git grep 'typed: true # rubocop:todo Sorbet/StrictSigil' | wc -l
    268
```

- And this is confirmed working for new files:

```shell
$ git status
On branch use-rubocop-for-sorbet-strict-sigils
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        Library/Homebrew/bad.rb
        Library/Homebrew/good.rb

nothing added to commit but untracked files present (use "git add" to track)

$ brew style
Offenses:

bad.rb:1:1: C: Sorbet/StrictSigil: Sorbet sigil should be at least strict got true.
^^^^^^^^^^^^^

1340 files inspected, 1 offense detected
```
2024-08-12 15:24:27 +01:00
Mike McQuaid
c8732c6a94
Merge pull request #18001 from smsearcy/fix-fish-shellenv 2024-08-12 14:23:05 +01:00
Mike McQuaid
6105728c31
Merge pull request #18004 from Homebrew/more-srb-strict 2024-08-12 14:22:00 +01:00
Mike McQuaid
6b3cac7b89
Merge pull request #18019 from Homebrew/safe-try-new 2024-08-12 14:21:44 +01:00
Mike McQuaid
fd14deaebd
Merge pull request #18011 from Homebrew/more-srb-strict-cmd 2024-08-12 14:21:18 +01:00
Mike McQuaid
e3f8081f0a
Merge pull request #18010 from apainintheneck/refactor-method-to-remove-extra-tap-requires 2024-08-12 14:21:04 +01:00
Mike McQuaid
fa53e7b1e5
Merge pull request #18022 from bevanjkay/update-report 4.3.15 2024-08-12 08:56:14 +01:00
Mike McQuaid
457a408c4b
Merge pull request #18009 from reitermarkus/token-auditor 2024-08-12 08:52:15 +01:00
Mike McQuaid
f021b7f12e
Merge pull request #17999 from ntkme/curlrc-analytics 2024-08-12 08:42:38 +01:00
Issy Long
7047edcbdb
Too much find and replace
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-08-12 08:29:20 +01:00
Bevan Kay
0a9883a8dc
cmd/update-report: don't output cask updates on linux 2024-08-12 17:12:19 +10:00
Carlo Cabrera
c23c367837
Merge pull request #18021 from bevanjkay/caveat-fix 2024-08-12 15:07:24 +08:00
Bevan Kay
7e04c96c29
cask/dsl/caveats: fix rosetta caveat printing 2024-08-12 16:52:05 +10:00
Douglas Eichelberger
c799f5f818 Allow Cask refs 2024-08-11 18:01:04 -07:00
Douglas Eichelberger
a41f15ede7 Make FromContentLoader.try_new typesafe 2024-08-11 17:10:55 -07:00
Douglas Eichelberger
52b25d71f5 Make Cask::Artifact::Installer typesafe 2024-08-11 16:56:20 -07:00
Issy Long
2ec30c5973
cmd/search: Bump to Sorbet typed: strict 2024-08-11 20:51:04 +01:00
Issy Long
621ddc60d1
formula_auditor: repo should never be nil, so use T.must
https://github.com/Homebrew/brew/pull/18004#discussion_r1712680763
2024-08-11 20:32:22 +01:00
Patrick Linnane
d40e1707f2
Merge pull request #18017 from Homebrew/dependabot/bundler/Library/Homebrew/parallel-1.26.2 2024-08-11 10:25:58 -07:00
Ruoyu Zhong
d3e3610dce
Merge pull request #18016 from Homebrew/make-ruby-lsp-setup-executable
Make ruby-lsp-activate.sh executable
2024-08-12 01:18:08 +08:00
BrewTestBot
0b8d27417d
brew vendor-gems: commit updates. 2024-08-11 17:14:50 +00:00
dependabot[bot]
d2f9577f62
build(deps-dev): bump parallel in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.26.1 to 1.26.2.
- [Commits](https://github.com/grosser/parallel/compare/v1.26.1...v1.26.2)

---
updated-dependencies:
- dependency-name: parallel
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-11 17:12:47 +00:00
apainintheneck
9830c3522c Make ruby-lsp-activate.sh executable
My local shell was ignoring the shebang since it wasn't executable
and trying to load it with fish which failed. Making the script
executable solved that problem.

```console
$ chmod +ux .vscode/ruby-lsp-activate.sh
```
2024-08-11 10:04:36 -07:00
Carlo Cabrera
87b0800a6c
Merge pull request #18003 from metacollin/faster_formulae 2024-08-11 10:20:10 +08:00
apainintheneck
1fe16a5e35 Address feedback
- Move HOMEBREW_TAP_DIRECTORY to startup/config.rb because this file
holds more of the directory constants
- Rename `Commands.cmd_directories` to `Commands.tap_cmd_directories`
to better express that the commands come from taps

This file has the directory constants while the other one has regexes.
Just better organization.
2024-08-10 17:52:26 -07:00
Issy Long
3433c938b7
cmd/gist-logs: Bump to Sorbet typed: strict 2024-08-11 00:09:14 +01:00
Issy Long
0272c6efb2
cmd/link: Bump to Sorbet typed: strict 2024-08-10 23:58:53 +01:00
Issy Long
fc3c138cb0
extend/os/linux/cmd/update-report: Bump to Sorbet typed: strict 2024-08-10 23:55:14 +01:00
Issy Long
e42863fc4a
cmd/home: Bump to Sorbet typed: strict 2024-08-10 23:55:14 +01:00
Issy Long
69aadd7e49
cmd/options: Bump to Sorbet typed: strict 2024-08-10 23:55:14 +01:00