28291 Commits

Author SHA1 Message Date
BrewTestBot
7fc3ff6984
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-07-18 00:44:45 +00:00
Mike McQuaid
7ee069ef47
Merge pull request #15688 from MikeMcQuaid/analytics_influxdb_message
utils/analytics: hide InfluxDB message correctly.
2023-07-17 19:45:59 +01:00
Mike McQuaid
c2ce8e7033
utils/analytics: hide InfluxDB message correctly.
Fixes #15678
2023-07-17 19:26:10 +01:00
Mike McQuaid
fb35578c54
Merge pull request #15676 from Bo98/tap-fixes
Introduce CoreCaskTap class and fix cases of core taps were being unnecessarily installed
2023-07-17 19:22:22 +01:00
Mike McQuaid
e48898d5ad
Merge pull request #15679 from carlocab/pyoxidizer-check
rubocops/lines: simplify PyoxidizerCheck
2023-07-17 19:20:16 +01:00
Mike McQuaid
abcabd0cb4
Merge pull request #15685 from carlocab/opt-rpaths
os/mac/keg_relocate: replace Cellar references in rpaths
2023-07-17 19:19:57 +01:00
Colin Dean
de1e1fdf0a
Corrects an uncaught spelling error
I guess someone did mot see it.
2023-07-17 10:33:48 -04:00
Carlo Cabrera
a7c8aab68c
os/mac/keg_relocate: replace Cellar references in rpaths
Some formulae (e.g. `php`) use rpaths that reference Cellar paths
belonging to other formulae. Let's make sure these rpaths don't break by
making them use opt paths instead.
2023-07-17 14:09:35 +08:00
Carlo Cabrera
13f2dc325e
os/mac/mach: report duplicate rpaths
We don't want to call `uniq` on this because this breaks our handling of
duplicate rpaths.
2023-07-17 13:11:12 +08:00
Michka Popoff
518fb43112
Merge pull request #15656 from osalbahr/silverbrew
Feature: support symlinked /home
2023-07-15 13:45:07 +02:00
Carlo Cabrera
95c06f5ad5
rubocops/lines: simplify PyoxidizerCheck 2023-07-14 12:57:23 +08:00
Bo Anderson
e9ac36a542
Merge pull request #15677 from Bo98/generate-migrations-fix
generate-*-api: fix on-disk tap migrations not being used
2023-07-14 02:17:43 +01:00
Bo Anderson
5aad83ce1b
generate-*-api: fix on-disk tap migrations not being used 2023-07-14 02:04:14 +01:00
Bo Anderson
beaa6c32a0
Fix cases of core taps being unnecessarily installed 2023-07-13 20:33:31 +01:00
Bo Anderson
ba02c669e1
Introduce CoreCaskTap class 2023-07-13 20:33:26 +01:00
Max R
a5abea4fa2 Support brew cleanup --quiet
I was looking for a way to suppress output in `brew cleanup` especially the `Warning: Skipping XXX: most recent version X.Y.Z not installed`. I noticed that `Homebrew::Cleanup#clean` takes a `quiet` argument, but `brew cleanup` doesn't pass one in. This PR updates `brew cleanup` to accept and forward along a `quiet` argument.
2023-07-13 14:45:43 -04:00
Carlo Cabrera
85babc8ea9
Merge pull request #15663 from carlocab/no-rustup-init 2023-07-13 10:09:17 +08:00
Bo Anderson
dbcc449b14
shims/mac/super/make: use standard exec routines 2023-07-12 23:21:00 +01:00
BrewTestBot
e98fbd10ce
Update RBI files for rspec-mocks.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-07-12 18:13:34 +00:00
BrewTestBot
dfba1e4666
brew vendor-gems: commit updates. 2023-07-12 18:08:32 +00:00
dependabot[bot]
dcf6c6729a
build(deps): bump rspec-mocks from 3.12.5 to 3.12.6 in /Library/Homebrew
Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks) from 3.12.5 to 3.12.6.
- [Release notes](https://github.com/rspec/rspec-mocks/releases)
- [Changelog](https://github.com/rspec/rspec-mocks/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-mocks/compare/v3.12.5...v3.12.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 18:04:16 +00:00
Sean Molenaar
7f55ee4494
Update Library/Homebrew/brew.sh 2023-07-12 10:59:57 +02:00
Sean Molenaar
ac78a4b512
Update Library/Homebrew/brew.sh 2023-07-12 10:55:52 +02:00
Sean Molenaar
2b83895d73
brew.sh: record OS version for non-debian linux 2023-07-12 10:51:25 +02:00
Carlo Cabrera
ae7b791a21
Merge pull request #15666 from carlocab/make-shim
shims/mac: handle usage of Homebrew `make`
2023-07-12 10:51:52 +08:00
Carlo Cabrera
470c1e6683
Implement rustup audit as a style check
This allows results to be cached and auto-corrected.
2023-07-12 10:49:47 +08:00
Carlo Cabrera
9ece93ea49
shims/mac: handle usage of Homebrew make
We have a handful of formulae that use Homebrew `make` to build. Doing
this evades our compiler shims. Let's try to avoid this by allowing our
shims to support usage of Homebrew `make` by calling it as `gmake` in
the formula.
2023-07-12 02:16:32 +08:00
BrewTestBot
7c9953ae12
Update RBI files for public_suffix.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-07-11 18:09:37 +00:00
BrewTestBot
88097a8cc2
brew vendor-gems: commit updates. 2023-07-11 18:04:51 +00:00
dependabot[bot]
b254c887ff
build(deps): bump public_suffix from 5.0.1 to 5.0.3 in /Library/Homebrew
Bumps [public_suffix](https://github.com/weppos/publicsuffix-ruby) from 5.0.1 to 5.0.3.
- [Changelog](https://github.com/weppos/publicsuffix-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/weppos/publicsuffix-ruby/compare/v5.0.1...v5.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 18:02:03 +00:00
Carlo Cabrera
f75ccc005e
formula_auditor: disallow non-test rustup-init dependencies
We want formulae to build with our `rust` formula instead of a random
toolchain downloaded with `rustup`.

Unfortunately, some formulae already do this, so let's gate the check
behind `--strict`. It should also prevent new formulae that build using
`rustup` from being added.

This should hopefully prevent PRs like Homebrew/homebrew-core#119832
from being merged.
2023-07-12 01:56:35 +08:00
Carlo Cabrera
38c00934d6
os/mac/mach: better typechecking fix
Co-authored-by: Douglas Eichelberger <dduugg@users.noreply.github.com>
2023-07-12 01:24:19 +08:00
Carlo Cabrera
88a14c644c
os/mac/mach: fix type-checking error 2023-07-11 22:49:06 +08:00
BrewTestBot
0cf86fa62b
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-07-11 00:28:30 +00:00
Carlo Cabrera
18b4fc4ba5
Merge pull request #15650 from Bo98/disabled-dependents-audit 2023-07-11 06:10:14 +08:00
Carlo Cabrera
cff8d8c155
Merge pull request #15571 from gerlero/relocate-relative-names
mac/keg_relocate: use relative install names
2023-07-11 04:38:26 +08:00
Bo Anderson
8adac8a53e
Merge pull request #15659 from SMillerDev/fix/analytics/source
analytics: use new AWS based influxdb
2023-07-10 20:19:29 +01:00
Sean Molenaar
fc48930a59
analytics: use new AWS based influxdb 2023-07-10 20:47:19 +02:00
Carlo Cabrera
8c72df5213
Merge pull request #15643 from carlocab/cache-bottle-tag
cmd/--cache: undeprecate `--bottle-tag`
2023-07-11 01:52:42 +08:00
Bo Anderson
54a1f2005a
livecheck: fix implicit no-api handling 2023-07-10 14:50:53 +01:00
Osama Albahrani
64b6479100 brew.sh: fix HOMEBREW_PREFIX if /home is a symlink
Correct `HOMEBREW_PREFIX`, and its only dependent up to that point, `HOMEBREW_REPOSITORY`, if the defaults contain symlinks. For example:
```console
$ realpath /home/linuxbrew/.linuxbrew
/var/home/linuxbrew/.linuxbrew
$ ls -ld /home
lrwxrwxrwx. 4 root root 8 Jun 29 22:29 /home -> var/home
```
I was hoping to correct `HOMEBREW_PREFIX` from the start (in `bin/brew`), but the default prefixes are in `brew.sh`. See #15656 for a discussion on this middleground solution.

Co-Authored-By: rohanssrao <17805516+rohanssrao@users.noreply.github.com>
Co-Authored-By: Bo Anderson <mail@boanderson.me>
2023-07-09 18:33:31 -04:00
Osama Albahrani
287a359a74 brew.sh: set HOMEBREW_CELLAR after default prefix
Fixes #14557. This allows correcting the prefix variables first. See #15656.

Co-Authored-By: rohanssrao <17805516+rohanssrao@users.noreply.github.com>
2023-07-09 18:33:04 -04:00
Bo Anderson
5b30de880d
Merge pull request #15649 from Bo98/uses_from_macos-audit-fix
formula_auditor: fix macOS system dependency false positive
2023-07-09 15:25:17 +01:00
Issy Long
b9d8fd4f79
Enable issues_for_formula to show only issues, only PRs, or both
- This change is useful for the "these issues are also open for this
  build failure" exception. Hopefully there'll be less noise on PRs with
  people encouraging us to fix things faster if we don't link them to
  WIP PRs (or any PRs at all).
- Fixes https://github.com/Homebrew/brew/issues/ 15608.
2023-07-08 22:15:58 +01:00
BrewTestBot
bfeb4fc642
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-07-08 00:29:27 +00:00
Bo Anderson
0c9444a227
formula_auditor: check disabled formulae have disabled dependents 2023-07-07 23:48:35 +01:00
Bo Anderson
9dc459b026
formula_auditor: fix macOS system dependency false positive 2023-07-07 23:45:03 +01:00
Bo Anderson
4054ab6560
Merge pull request #15638 from Bo98/ci-messages
cmd/update-report: tweak messages for CI
2023-07-07 21:37:19 +01:00
Bo Anderson
623eeb4e47
cmd/update-report: tweak messages for CI 2023-07-07 21:10:21 +01:00
Bo Anderson
0a9e69ffdf
tap: fix handling of taps without formulae 2023-07-07 20:58:22 +01:00