26455 Commits

Author SHA1 Message Date
BrewTestBot
114f909ff9
Update RBI files for rubocop-performance. 2022-07-18 18:12:29 +00:00
BrewTestBot
f72d8b0968
brew vendor-gems: commit updates. 2022-07-18 18:07:33 +00:00
dependabot[bot]
bc178b1a5a
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.14.2...v1.14.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 18:04:28 +00:00
Carlo Cabrera
e61bcb45f7
linkage_checker: report linkage with system frameworks
Currently, `brew linkage` reports linkage with system frameworks only if
they can be found on the file system. This results in this linkage not
being reported on Big Sur and newer, where system libraries are stored
in the dyld cache instead.

Let's fix that by avoiding silently ignoring system frameworks by moving
them out of `#harmless_broken_link?`. We retain the behaviour desired
from 7228e60da51392b20d55e0c087b2082b86fb3bbf by deferring checking if a
broken library is actually a system framework to just before we add it
to `@broken_dylibs`.

To see how this changes the behaviour of `brew linkage`, here's an
example with this change:

    ❯ brew linkage neovim
    System libraries:
      /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
      /usr/lib/libSystem.B.dylib
      /usr/lib/libiconv.2.dylib
      /usr/lib/libutil.dylib
    Homebrew libraries:
      /usr/local/opt/gettext/lib/libintl.8.dylib (gettext)
      /usr/local/opt/libtermkey/lib/libtermkey.1.dylib (libtermkey)
      /usr/local/opt/libuv/lib/libuv.1.dylib (libuv)
      /usr/local/opt/luajit/lib/libluajit-5.1.2.dylib (luajit)
      /usr/local/opt/luv/lib/libluv.1.dylib (luv)
      /usr/local/opt/msgpack/lib/libmsgpackc.2.dylib (msgpack)
      /usr/local/opt/tree-sitter/lib/libtree-sitter.0.dylib (tree-sitter)
      /usr/local/opt/unibilium/lib/libunibilium.4.dylib (unibilium)

and without this change:

    ❯ brew linkage neovim
    System libraries:
      /usr/lib/libSystem.B.dylib
      /usr/lib/libiconv.2.dylib
      /usr/lib/libutil.dylib
    Homebrew libraries:
      /usr/local/opt/gettext/lib/libintl.8.dylib (gettext)
      /usr/local/opt/libtermkey/lib/libtermkey.1.dylib (libtermkey)
      /usr/local/opt/libuv/lib/libuv.1.dylib (libuv)
      /usr/local/opt/luajit/lib/libluajit-5.1.2.dylib (luajit)
      /usr/local/opt/luv/lib/libluv.1.dylib (luv)
      /usr/local/opt/msgpack/lib/libmsgpackc.2.dylib (msgpack)
      /usr/local/opt/tree-sitter/lib/libtree-sitter.0.dylib (tree-sitter)
      /usr/local/opt/unibilium/lib/libunibilium.4.dylib (unibilium)
2022-07-18 12:04:24 +08:00
danielnachun
47b6492098
extend/os/linux/extend/ENV/super.rb: add homebrew_extra_include_paths 2022-07-17 17:15:06 -07:00
danielnachun
6ab6382518
shims/super/cc: add nostdinc and rpath-link when using glibc@2.13 2022-07-17 17:15:06 -07:00
apainintheneck
85cf0ca6d4 Updated env variable docs on manpage
Updated docs for:
HOMEBREW_AUTOREMOVE
HOMEBREW_NO_CLEANUP_FORMULAE
2022-07-17 09:31:05 -07:00
apainintheneck
cb91f8b665 Add tests for retrieving formula based on dependents
Also, made sure to clear formula cache before
and after autoremoving packages.
2022-07-17 00:39:23 -07:00
Bo Anderson
f041a59af9
Merge pull request #13547 from FnControlOption/patch-12
rubocops: allow uses_from_macos "less"
2022-07-16 15:16:03 +01:00
Bo Anderson
98d367b8a5
Merge pull request #13552 from Bo98/update-test-fix
dev-cmd/update-test: test against merge-base rather than latest master
2022-07-16 15:13:10 +01:00
Bo Anderson
6eb2d6df9a
utils/ruby_check_version_script: fix invalid shebang 2022-07-16 02:49:33 +01:00
Mike McQuaid
217bfb7dad
utils/ruby_check_version_script: fix and test.
Don't use ActiveSupport methods and add a test to make sure this doesn't regress.

Fixes #13559
2022-07-16 02:47:33 +01:00
Bo Anderson
676b88c5c4
dev-cmd/update-test: test against merge-base rather than latest master 2022-07-16 02:28:26 +01:00
BrewTestBot
877b92f68a
brew vendor-gems: commit updates. 2022-07-15 18:05:31 +00:00
dependabot[bot]
91a331ea4e
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10158 to 0.5.10160.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 18:02:59 +00:00
Rylan Polster
0c785673d9
Merge pull request #13558 from Homebrew/dependabot/bundler/Library/Homebrew/i18n-1.12.0
build(deps): bump i18n from 1.11.0 to 1.12.0 in /Library/Homebrew
2022-07-15 09:20:05 +02:00
Rylan Polster
1fa7420c4a
Merge pull request #13557 from Homebrew/dependabot/bundler/Library/Homebrew/warning-1.3.0
build(deps): bump warning from 1.2.1 to 1.3.0 in /Library/Homebrew
2022-07-15 09:18:51 +02:00
apainintheneck
fe83500617 Moved autoremove logic into cleanup.rb and formula.rb
Cleanup.rb:
- Added #autoremove method
- #autoremove is called in clean when HOMEBREW_AUTOREMOVE is set

Formula.rb:
- Added #unused_formulae_with_no_dependents and helpers

Removed old autoremove.rb module.
2022-07-14 13:16:26 -07:00
BrewTestBot
95f4eb0482
Update RBI files for i18n. 2022-07-14 18:10:59 +00:00
BrewTestBot
963aeff2b7
Update RBI files for warning. 2022-07-14 18:10:45 +00:00
BrewTestBot
74eefe2b38
brew vendor-gems: commit updates. 2022-07-14 18:06:29 +00:00
BrewTestBot
6fd1469287
brew vendor-gems: commit updates. 2022-07-14 18:06:07 +00:00
BrewTestBot
b9c5df13c0
brew vendor-gems: commit updates. 2022-07-14 18:05:43 +00:00
dependabot[bot]
7506cc8966
build(deps): bump i18n from 1.11.0 to 1.12.0 in /Library/Homebrew
Bumps [i18n](https://github.com/ruby-i18n/i18n) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/ruby-i18n/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-i18n/i18n/compare/v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: i18n
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 18:03:38 +00:00
dependabot[bot]
ac5127db74
build(deps): bump warning from 1.2.1 to 1.3.0 in /Library/Homebrew
Bumps [warning](https://github.com/jeremyevans/ruby-warning) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/jeremyevans/ruby-warning/releases)
- [Changelog](https://github.com/jeremyevans/ruby-warning/blob/master/CHANGELOG)
- [Commits](https://github.com/jeremyevans/ruby-warning/compare/1.2.1...1.3.0)

---
updated-dependencies:
- dependency-name: warning
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 18:03:28 +00:00
dependabot[bot]
688f284e02
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10154 to 0.5.10158.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-14 18:03:02 +00:00
Michka Popoff
8dc46a7c47
Merge pull request #13533 from carlocab/python-install-lib
language/python: add `--install-lib` to `setup_install_args`
2022-07-14 11:34:45 +02:00
Daniel Nachun
9e25cd9505
Merge pull request #13537 from danielnachun/fix_gcc_relocation
bottle.rb: make GCC relocatable again
2022-07-14 01:03:31 -07:00
apainintheneck
fa43418bfb Moved autoremove logic into autoremove.rb
This allows us to call that logic internally in other brew
commands instead of having to shell out.
2022-07-13 16:31:41 -07:00
apainintheneck
74f7b604cd Changed env variable to HOMEBREW_AUTOREMOVE 2022-07-13 16:28:49 -07:00
apainintheneck
74f1eca14c autoremove.rb: moved logic out into formula.rb, and uninstall.rb
This allows us to autoremove formulae in the autoremove and
uninstall commands without having to shell out to brew.
2022-07-13 16:28:49 -07:00
apainintheneck
f8ae5f3bc4 cmd/uninstall: Add env variable that runs autoremove after uninstalls
When HOMEBREW_UNINSTALL_AUTOREMOVE is set, `brew autoremove` is run
after every successful call to `brew uninstall`.
2022-07-13 16:28:49 -07:00
BrewTestBot
672668f6c1
Update RBI files for sorbet-static-and-runtime. 2022-07-13 18:13:05 +00:00
BrewTestBot
fc5eec0849
brew vendor-gems: commit updates. 2022-07-13 18:08:38 +00:00
dependabot[bot]
4d7a644cca
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10152 to 0.5.10154.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 18:05:46 +00:00
Rylan Polster
3d45c10f44
Merge pull request #13529 from Rylan12/on-linux-and-macos-version
Add `on_system :linux, macos:` wrapper to `OnSystem`
2022-07-13 13:36:24 -04:00
Max Eisner
32b68838f9
switch to more flexible shell_prefix arg 2022-07-13 14:47:45 +02:00
fn ⌃ ⌥
49867da232 rubocops: allow uses_from_macos "less" 2022-07-12 13:31:51 -07:00
Mike McQuaid
3689ecd244
Merge pull request #13551 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.6.1
build(deps): bump activesupport from 6.1.6 to 6.1.6.1 in /Library/Homebrew
2022-07-12 19:50:05 +01:00
Mike McQuaid
44ee5d0655
Merge pull request #13549 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.13.7
build(deps): bump nokogiri from 1.13.6 to 1.13.7 in /Library/Homebrew
2022-07-12 19:42:56 +01:00
BrewTestBot
5056b1ec0a
Update RBI files for activesupport. 2022-07-12 18:16:04 +00:00
BrewTestBot
6ce478778b
Update RBI files for nokogiri. 2022-07-12 18:12:47 +00:00
BrewTestBot
019bad9168
brew vendor-gems: commit updates. 2022-07-12 18:10:59 +00:00
BrewTestBot
a321e1a102
brew vendor-gems: commit updates. 2022-07-12 18:07:23 +00:00
BrewTestBot
05e02ba6db
brew vendor-gems: commit updates. 2022-07-12 18:07:11 +00:00
dependabot[bot]
e33ed965a4
build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.1.6 to 6.1.6.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.3.1/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.1.6...v6.1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-12 18:04:53 +00:00
dependabot[bot]
de0b2ee6fe
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10151 to 0.5.10152.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-12 18:04:21 +00:00
dependabot[bot]
772e14f579
build(deps): bump nokogiri from 1.13.6 to 1.13.7 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.6 to 1.13.7.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.6...v1.13.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-12 18:03:32 +00:00
Mike McQuaid
007059160f
Merge pull request #13541 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10151
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10148 to 0.5.10151 in /Library/Homebrew
2022-07-12 09:56:18 +01:00
Mike McQuaid
f77aaaba9a
Merge pull request #13542 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.19.1
build(deps): bump rubocop-ast from 1.18.0 to 1.19.1 in /Library/Homebrew
2022-07-12 09:56:06 +01:00