26835 Commits

Author SHA1 Message Date
BrewTestBot
256f307922
brew vendor-gems: commit updates. 2021-10-18 18:06:36 +00:00
dependabot[bot]
22ce3a3968
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9238 to 0.5.9242.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 18:04:11 +00:00
dependabot[bot]
af7fe6ac5f
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.12.3 to 2.12.4.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.12.3...v2.12.4)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 18:03:30 +00:00
Carlo Cabrera
556b8f16c6
Merge pull request #12225 from carlocab/two-level
mac/formula_cellar_checks: check for flat namespace libraries
2021-10-18 22:59:05 +08:00
BrewTestBot
ef1179d4df
brew vendor-gems: commit updates. 2021-10-15 18:10:05 +00:00
dependabot[bot]
d56ede96d5
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9230 to 0.5.9238.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 18:04:03 +00:00
Carlo Cabrera
fecacdce49
Merge pull request #12238 from carlocab/link-arm
cmd/link: change `default_prefix?` check to `/usr/local` check
2021-10-16 00:23:00 +08:00
BrewTestBot
f3b28b1d04
brew vendor-gems: commit updates. 2021-10-14 18:04:49 +00:00
dependabot[bot]
581ff62bf5
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9226 to 0.5.9230.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-14 18:02:28 +00:00
Carlo Cabrera
238387d694
Use HOMEBREW_DEFAULT_PREFIX instead of /usr/local
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-15 00:17:55 +08:00
Carlo Cabrera
19953c01b3
cmd/link: change default_prefix? check to /usr/local check
Linking macOS-provided software breaks things only in `/usr/local`
prefixes, hence the `default_prefix?` check, which was included when our
only default prefix on macOS was `/usr/local`. Now that we install into
`/opt/homebrew` too, the default prefix check is needlessly restrictive.
2021-10-14 22:13:55 +08:00
BrewTestBot
815dc810b8
brew vendor-gems: commit updates. 2021-10-13 18:08:31 +00:00
dependabot[bot]
d7962ddbda
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9222 to 0.5.9226.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-13 18:04:10 +00:00
XuehaiPan
33f9cab3c6 tap: handle brew tap homebrew/core without a URL while HOMEBREW_CORE_GIT_REMOTE set 2021-10-13 19:52:44 +08:00
Carlo Cabrera
e8eb781470
mac/formula_cellar_checks: apply suggestions from code review
- Fix missing space
- use `MachO::Utils.fat_magic?`
- call `#flag?` consistently.

Co-authored-by: Bo Anderson <mail@boanderson.me>
2021-10-13 16:54:02 +08:00
Mike McQuaid
296b21ef71
Merge pull request #12227 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9222
build(deps-dev): bump sorbet from 0.5.9219 to 0.5.9222 in /Library/Homebrew
2021-10-13 08:41:15 +01:00
Mike McQuaid
2af9a2659a
Merge pull request #12223 from Moisan/bump-formula-pr_write-only
Deprecate --write in bump-formula-pr command in favour of --write-only
2021-10-13 01:03:37 +01:00
BrewTestBot
26cf6247a0
brew vendor-gems: commit updates. 2021-10-12 18:06:25 +00:00
dependabot[bot]
e0060e75c3
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9219 to 0.5.9222.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 18:03:32 +00:00
XuehaiPan
cfc1821e2c tap: fix unexpected wrong variable name 2021-10-12 21:58:40 +08:00
Mike McQuaid
cc2c19be98
Merge pull request #12221 from XuehaiPan/brew-retap
tap: allow to change tap remote with `brew tap --custom-remote`
2021-10-12 14:08:21 +01:00
XuehaiPan
2be19d8f06 tap: remove "rubocop:disable" comment 2021-10-12 20:43:36 +08:00
Xuehai Pan
889b30b32e tap: apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-12 20:43:20 +08:00
Xuehai Pan
3dcfc7e26e tap: apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-12 20:43:20 +08:00
XuehaiPan
828d3505cd cli/args.rbi: add custom_remote? 2021-10-12 20:43:20 +08:00
Thierry Moisan
06ea040779
Deprecate --write in bump-formula-pr cmd in favour of --write-only 2021-10-12 08:26:49 -04:00
Carlo Cabrera
4fbe0a2b1b
Fix false positives in audit
There was a typo that made it so that all libraries were being included
in `flat_namespace_files`.
2021-10-12 15:35:46 +08:00
Carlo Cabrera
7223f8ef74
Fix universal binary handling in check_flat_namespace 2021-10-12 13:49:53 +08:00
Carlo Cabrera
0484bfe820
mac/formula_cellar_checks: check for flat namespace libraries
There are at least five instances where a formula has libraries compiled
with `-flat_namespace` due to a bug in detecting the macOS version (cf.
Homebrew/homebrew-core#87103, Homebrew/homebrew-core#85974,
Homebrew/homebrew-core#85973).

I think it makes sense to check for this more generally. It is
sometimes intentional, so I've added a check for an allowlist for
those instances. Running this on the current `util-linux` bottle
produces

    ❯ brew audit --strict util-linux
    util-linux:
      * Libraries were compiled with a flat namespace.
        This can cause linker errors due to name collisions, and
        is often due to a bug in detecting the macOS version.
          /usr/local/Cellar/util-linux/2.37.2/lib/libblkid.1.dylib
          /usr/local/Cellar/util-linux/2.37.2/lib/libfdisk.1.dylib
          /usr/local/Cellar/util-linux/2.37.2/lib/libsmartcols.1.dylib
          /usr/local/Cellar/util-linux/2.37.2/lib/libuuid.1.dylib
    Error: 1 problem in 1 formula detected

Some things that still need to be done here:
- fix this check for universal binaries
- check if we want to restrict this audit check to newer versions of macOS
- fix false positives (try `brew audit --strict llvm` and compare the
  output of `otool -hV` on the identified files)

While we're here, let's fix the formatting of the output of these other
audits (cf. #12217).
2021-10-12 13:11:23 +08:00
Carlo Cabrera
bddcc0800a
Merge pull request #12218 from carlocab/latest-sdk-version
os/mac: bump `latest_sdk_version`
2021-10-12 11:02:09 +08:00
Bo Anderson
f5d34f6f3f
Merge pull request #12222 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9219
build(deps-dev): bump sorbet from 0.5.9211 to 0.5.9219 in /Library/Homebrew
2021-10-12 02:09:23 +01:00
BrewTestBot
07bcab367f
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-10-12 00:15:36 +00:00
Michka Popoff
e8ee5b05f9
Migrate linuxbrew-core to homebrew-core on update.
- Only for HOMEBREW_DEVELOPER
- Except for HOMEBREW_CORE_MERGE_MAINTAINER
- Except for GitHub Actions CI

Co-authored-by: Rylan Polster <rslpolster@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-11 21:04:58 +02:00
BrewTestBot
84aeddca34
brew vendor-gems: commit updates. 2021-10-11 18:06:32 +00:00
dependabot[bot]
5b5cd9e9c3
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9211 to 0.5.9219.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 18:03:31 +00:00
XuehaiPan
63f2f6cca7 tap: allow to change tap remote with brew tap --custom-remote 2021-10-12 01:11:34 +08:00
Carlo Cabrera
231b10beea
os/mac: track only the major version instead 2021-10-11 20:25:55 +08:00
Mike McQuaid
09b7ab2c1d
Merge pull request #12217 from carlocab/cellar-check-alignment
formula_cellar_checks: fix alignment when listing files
2021-10-11 12:38:08 +01:00
Bevan Kay
70ac4d70d2
audit: extend cloudflare https audit exception regex 2021-10-11 15:52:37 +11:00
Carlo Cabrera
8824352ab0
os/mac: bump latest_sdk_version
The newest macOS SDK version is 11.3.
2021-10-10 14:28:31 +08:00
Carlo Cabrera
72f7ab8bfc
formula_cellar_checks: fix alignment when listing files
The extra spacing came from before we used squiggly heredocs. Now that
we do, they're no longer necessary, and produce misaligned output.
2021-10-10 14:16:10 +08:00
BrewTestBot
4bba2b93e8
brew vendor-gems: commit updates. 2021-10-08 18:05:04 +00:00
dependabot[bot]
80aeb8d957
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9209 to 0.5.9211.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 18:02:33 +00:00
Mike McQuaid
650ccde8f0
Merge pull request #12207 from oo6/master
Handle the case superclass is a subclass of Formula
2021-10-08 17:19:17 +01:00
Milo Lee
73e099aee7 Make brew style happy 2021-10-09 00:01:12 +08:00
Dawid Dziurla
5af25eef9b
Merge pull request #12202 from carlocab/config-clang
system_config: fix clang version output on Linux
2021-10-08 08:19:33 +02:00
Milo Lee
5cedb75a62 Handle the case superclass is a subclass of Formula 2021-10-08 10:13:29 +08:00
Bo Anderson
38830ab307
Merge pull request #12210 from Homebrew/dependabot/bundler/Library/Homebrew/spoom-1.1.4
build(deps): bump spoom from 1.1.3 to 1.1.4 in /Library/Homebrew
2021-10-07 21:53:53 +01:00
BrewTestBot
52d5712e9c
Update RBI files for spoom. 2021-10-07 18:12:39 +00:00
BrewTestBot
54a40c3e13
Update RBI files for rbi. 2021-10-07 18:10:06 +00:00