41213 Commits

Author SHA1 Message Date
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
Issy Long
78132b13bf
Merge pull request #17965 from Homebrew/formula-cookbook-stop-recommending-rmrf
Formula-Cookbook: Stop recommending `rm_f` in `postinstall`
2024-08-05 00:40:58 +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
Issy Long
768ef34bc2
Formula-Cookbook: Stop recommending rm_f in postinstall
- After all the work that went into
  https://github.com/Homebrew/brew/pull/17705, we
  don't want the docs disagreeing with what CI says
  the style should be.
2024-08-05 00:10:00 +01:00
Patrick Linnane
bdbe2af1c8
Merge pull request #17962 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11506 2024-08-04 16:08:06 -07: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
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
Patrick Linnane
b5af2b5325
Merge pull request #17956 from Homebrew/sponsors-maintainers-man-completions 2024-08-03 14:16:57 -07:00
BrewTestBot
9a288e6816
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-03 20:17:21 +00: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
Patrick Linnane
b0d5e73bd6
Merge pull request #17952 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11505 2024-08-03 12:32:02 -07: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
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
Bo Anderson
6c41f6fad9
Merge pull request #17948 from Homebrew/portable-ruby-3.3.4_1
Portable Ruby 3.3.4_1
2024-08-03 04:51:24 +01:00
Bo Anderson
ccbee57232
Portable Ruby 3.3.4_1 2024-08-03 04:31:52 +01:00
Ruoyu Zhong
ea9bb5be87
Merge pull request #17944 from Homebrew/sponsors-maintainers-man-completions 2024-08-03 10:22:46 +08:00
Bo Anderson
993a0aec3a
upgrade: fix missed upgrades when an alias is changed to a formula 2024-08-03 01:49:40 +01:00
Bo Anderson
53a547d446
debrew/irb: fix errors under Ruby 3.3 2024-08-03 01:18:22 +01:00
BrewTestBot
e158a5260a
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-02 23:32:18 +00:00
Rylan Polster
6cfa08333c
Merge pull request #17942 from Homebrew/vscode-updates 2024-08-02 19:31:03 -04:00
Rylan Polster
afc8c0fa62
Remove redundant unless
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-08-02 19:20:38 -04:00
Issy Long
20a36c992e
Merge pull request #17943 from thatrobotdev/find-appcast-docs
docs: Update `find-appcast` command
2024-08-02 22:25:37 +01:00
James Kerrane
e3082ac5d8 docs: Update find-appcast command
Updates the documentation for PR https://github.com/Homebrew/homebrew-cask/pull/174292 that converted find-appcast from a developer script to command.
2024-08-02 14:48:03 -06:00
Rylan Polster
1c234c380a
Remove redundant / 2024-08-02 16:13:50 -04:00
Rylan Polster
2dff563641
Run brew typecheck --update 2024-08-02 16:03:49 -04:00
Rylan Polster
6badcd929c
Add sorbet vscode configuration 2024-08-02 16:03:49 -04:00
Rylan Polster
b26bf95288
Update Ruby LSP config to install necessary gems automatically 2024-08-02 15:52:58 -04:00
Mike McQuaid
9f260a4490
Merge pull request #17939 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.17.11 2024-08-02 19:39:26 +01:00
Mike McQuaid
471c9f36c3
Merge pull request #17938 from khipp/update-url-audit 2024-08-02 19:30:18 +01:00
dependabot[bot]
13013d53b3
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.17.10 to 0.17.11.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.17.10...v0.17.11)

---
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-02 18:28:52 +00:00
Klaus Hipp
f036c2cc1d
rubocops/shared/url_helper: update url audit 2024-08-02 20:00:10 +02:00
Issy Long
870b3423bc
Merge pull request #17937 from khipp/fix-url-audit
rubocops/shared/url_helper: fix url audit
2024-08-02 17:01:06 +01:00
Klaus Hipp
6e1ff402f0
rubocops/shared/url_helper: fix url audit 2024-08-02 17:48:00 +02:00
Rylan Polster
e871e8393b
Merge pull request #17934 from Homebrew/vscode-ruby-lsp 2024-08-02 11:30:43 -04:00
Ruoyu Zhong
976e2eb6f2
Merge pull request #17936 from Homebrew/dependabot/github_actions/artifacts-7dc25245c6
build(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 in the artifacts group
2024-08-02 23:09:11 +08:00
Rylan Polster
9ddde17ea5
Add vscode Ruby LSP config and documentation 2024-08-02 10:44:43 -04:00
dependabot[bot]
4ab05da964
build(deps): bump actions/upload-artifact in the artifacts group
Bumps the artifacts group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).

Updates `actions/upload-artifact` from 4.3.4 to 4.3.5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b2256b8c0...89ef406dd8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: artifacts
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 22:42:19 +08:00
Mike McQuaid
635a776fce
Merge pull request #17935 from Homebrew/sbom_no_bottling_dependencies 2024-08-02 11:59:45 +01:00
Mike McQuaid
357e70357c
sbom: don't store runtime dependencies when bottling.
In some cases this prevents `:all` bottles when the recursive
dependencies vary. This SBOM is regenerated correctly at pour time.
2024-08-02 11:42:35 +01:00
Issy Long
15b6fd8de8
Merge pull request #17933 from Homebrew/autocorrection-for-interpolated-bin-audit
rubocops/text: Add autocorrection for the interpolated bin audit
2024-08-02 11:09:39 +01:00