32822 Commits

Author SHA1 Message Date
Issy Long
0e81efcccb
sorbet: Comment more files that can't be strict because of undef
- Found with
  `grep -rL "# typed: strict" Library/Homebrew | xargs grep -l "undef "`.
- This stops people from trying to bump them and
  getting an error that they can't fix because
  [it's a Sorbet limitation](https://sorbet.org/docs/error-reference#3008),
  wasting contributor time.
2024-08-09 18:23:00 +01:00
Mike McQuaid
42a6b59de5
sbom: fix errors, improve reproducibility, tests.
- Remove/change data from bottle SBOM to avoid harming reproduciblity
- Add `schema_validation_errors` method to provide nicer test failures
- Add tests more tests for SBOM when bottling
- Cleanup SBOM tests to use more typical RSpec form and be DRYer
2024-08-08 09:34:32 +01:00
Bo Anderson
6b186f9874
Fix SBOM schema validation 2024-08-08 02:30:42 +01:00
Patrick Linnane
10e43a46c6
Regenerate RBI for rbi
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-08-07 12:15:39 -07:00
BrewTestBot
c01393389f
Update RBI files for tapioca.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-08-07 12:14:17 -07:00
BrewTestBot
842205e9ab
brew vendor-gems: commit updates. 2024-08-07 12:14:17 -07:00
dependabot[bot]
c276cb68ec
build(deps-dev): bump tapioca from 0.15.1 to 0.16.0 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.15.1 to 0.16.0.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.15.1...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 12:14:17 -07:00
Patrick Linnane
dadda30dc1
Merge pull request #17984 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.3.4.1 2024-08-07 11:54:23 -07:00
BrewTestBot
5f7645551f
Update RBI files for parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-08-07 18:43:31 +00:00
BrewTestBot
55325cbd70
brew vendor-gems: commit updates. 2024-08-07 18:39:30 +00:00
BrewTestBot
0821b87376
brew vendor-gems: commit updates. 2024-08-07 18:39:21 +00:00
dependabot[bot]
3feb30e3e2
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11511 to 0.5.11514.
- [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-07 18:34:40 +00:00
dependabot[bot]
1740be3f0f
build(deps-dev): bump parser in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.3.4.0 to 3.3.4.1.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.3.4.0...v3.3.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 18:34:26 +00:00
Bo Anderson
040372fafa
Vendor SBOM schema 2024-08-07 18:00:53 +01:00
Patrick Linnane
47b1cab7ae
Merge pull request #17968 from maxim-belkin/fix-autoupdate-on-windows 2024-08-06 19:58:35 -07:00
Bo Anderson
c3d9e8e6f1
cmd/update: make chown suggestion consistent 2024-08-06 21:42:50 +01:00
BrewTestBot
d52693da54
brew vendor-gems: commit updates. 2024-08-06 16:23:04 +00:00
dependabot[bot]
f96be80f7e
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11506 to 0.5.11511.
- [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-06 16:18:05 +00:00
Maxim Belkin
f69461abd3 Fix auto-update for WSL
`find` on WSL doesn't support time units, so instead of

  find ... -mtime -300s

one has to use

  find ... -mtime -300
2024-08-05 16:32:42 +00:00
Patrick Linnane
5b8568defa
system_command_spec: specify exception
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-08-05 09:17:23 -07:00
BrewTestBot
2a9f8aa916
brew vendor-gems: commit updates. 2024-08-05 09:06:02 -07:00
dependabot[bot]
3a0be61ed3
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.0.3...v3.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 09:06:02 -07:00
BrewTestBot
e6de5addd6
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-08-05 15:48:58 +00:00
BrewTestBot
a602f1b4e0
brew vendor-gems: commit updates. 2024-08-05 15:48:43 +00:00
dependabot[bot]
27d4505b1d
build(deps-dev): bump rubocop-ast in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.31.3 to 1.32.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.31.3...v1.32.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>
2024-08-05 15:47:02 +00:00
Mike McQuaid
87fec6ca69
Merge pull request #17940 from HaraldNordgren/cask_deps 2024-08-05 13:53:04 +01:00
Mike McQuaid
a8e6262a6e
Merge pull request #17947 from gromgit/diagnostic/xdg-data-dirs 2024-08-05 13:52:54 +01:00
Mike McQuaid
feb1d5593d
cask/info: tweak style. 2024-08-05 09:33:59 +01:00
Adrian Ho
3eaebdc9d8
diagnostic: fix XDG_DATA_DIRS check
Pass `XDG_DATA_DIRS` through `bin/brew` so that it can be checked.
2024-08-05 09:11:01 +01:00
Mike McQuaid
1e560120a6
Merge pull request #17867 from branchvincent/std_npm_args 2024-08-05 08:52:07 +01:00
Issy Long
cbafbe6cf0
Merge pull request #17961 from Homebrew/edge-case-for-bin-interpolation-cop
rubocops/text: Allow `bin` interpolation inside word arrays
2024-08-05 00:31:12 +01:00
BrewTestBot
02c7776087
brew vendor-gems: commit updates. 2024-08-04 22:56:42 +00:00
dependabot[bot]
a1bd711494
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11505 to 0.5.11506.
- [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-04 22:54:03 +00:00
Issy Long
cb8769c2a0
rubocops/text: Allow bin interpolation inside word arrays
- We discovered that the following syntax in the formula `sqlsmith`
  should actually be OK because the `\n` is like whitespace.

```ruby
cmd = %W[
  #{bin}/sqlsmith
  --threads=4
  --timeout=10
]
shell_output(cmd)
```
2024-08-04 23:45:34 +01:00
Branch Vincent
96c9ea1485
docs: update with std_npm_args 2024-08-03 20:28:39 -07:00
Branch Vincent
1771bf1bbb
rubocops/lines: audit std_npm_args usage 2024-08-03 20:28:38 -07:00
Carlo Cabrera
9279693a34
Merge pull request #17957 from Homebrew/analytics-hacks 2024-08-04 09:09:25 +08:00
Kevin
73bc8e2953
Merge pull request #17959 from chenrui333/dispatch-build-bottle-require
dev-cmd/dispatch-build-bottle: add missing `require`
2024-08-03 14:56:44 -07:00
Carlo Cabrera
4e95bad9c4
Merge pull request #17950 from Homebrew/ld_classic 2024-08-04 05:55:45 +08:00
Rui Chen
e28b5091b3
dev-cmd/dispatch-build-bottle: add missing require
```
Error: uninitialized constant Homebrew::DevCmd::DispatchBuildBottle::Tap
Error: uninitialized constant Utils::Bottles
```

Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-08-03 17:44:41 -04:00
Carlo Cabrera
ab4f14b359
utils/analytics: improve accuracy of GitHub Packages download counts
`millions_match.captures.first` will typically be a decimal (since it's
matched using `\d+\.\d+`), except we lose accuracy in the `#to_i`
conversion.

Before:
```
❯ brew info --analytics --github-packages-downloads sqlite
==> Analytics
==> install (30 days)
[snip]
==> GitHub Packages Downloads
1,009,898 (30 days)
```

After:

```
❯ brew info --analytics --github-packages-downloads sqlite
==> Analytics
==> install (30 days)
[snip]
==> GitHub Packages Downloads
1,199,898 (30 days)
```

In this case `1.19M` was being rounded down to `1M`.
2024-08-04 05:33:46 +08:00
Bo Anderson
822c84784c
Merge pull request #17951 from Homebrew/fix-shellenv-csh
shellenv: fix `MANPATH` and `INFOPATH` handling for [t]csh
2024-08-03 21:16:16 +01:00
Harald Nordgren
676bc0e38f
Update Library/Homebrew/cask/info.rb
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-08-03 21:20:52 +02:00
BrewTestBot
70fb86846b
brew vendor-gems: commit updates. 2024-08-03 19:20:22 +00:00
dependabot[bot]
f71e30370b
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11504 to 0.5.11505.
- [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-03 19:18:38 +00:00
Carlo Cabrera
3fec77e72a
shellenv: fix MANPATH and INFOPATH handling for [t]csh
It turns out that control flow in csh is a pain. But we can rely on
`test`, which is thankfully POSIX.

Closes #17949.
2024-08-04 02:52:14 +08:00
Michael Cho
0477944e71
shims/super/cc: pass -ld_classic if needed for -dead_strip_dylibs 2024-08-03 14:46:18 -04:00
Harald Nordgren
7cf5c2cdd9 Show dependencies for casks 2024-08-03 20:25:13 +02:00
Bo Anderson
4dcd308398
Merge pull request #17945 from Homebrew/debrew-irb-fix
debrew/irb: fix errors under Ruby 3.3
2024-08-03 05:11:14 +01:00
Carlo Cabrera
19f837f9a1
Merge pull request #17946 from Homebrew/upgrade-min-version-fix 2024-08-03 12:08:03 +08:00