23990 Commits

Author SHA1 Message Date
danielnachun
35f426e3e2
keg.rb: add generic codesign_patched_binary method 2022-03-12 17:46:09 -08:00
danielnachun
843a189d40
test/keg_relocate/binary_relocation_spec.rb: add new unit test 2022-03-12 17:46:09 -08:00
danielnachun
70bc181029
software_spec.rb: change compatible_location 2022-03-12 17:46:09 -08:00
danielnachun
bff8c9aca8
formula_installer.rb: call relocate_build_prefix 2022-03-12 17:46:08 -08:00
danielnachun
ce2d8adf38
keg_relocate.rb: rebase 2022-03-12 17:46:08 -08:00
Daniel Nachun
f0f1eb6d4a
Merge pull request #12980 from danielnachun/add_tag_to_cellar
Add tag_to_cellar method
2022-03-11 12:59:05 -08:00
Mike McQuaid
c8e4dc3260
Merge pull request #12985 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.5
build(deps): bump activesupport from 6.1.4.7 to 6.1.5 in /Library/Homebrew
2022-03-11 19:19:58 +00:00
BrewTestBot
e8a8fc1e18
Update RBI files for activesupport. 2022-03-11 18:15:47 +00:00
BrewTestBot
e2d449c4bd
brew vendor-gems: commit updates. 2022-03-11 18:09:57 +00:00
BrewTestBot
75ce2463a1
brew vendor-gems: commit updates. 2022-03-11 18:07:35 +00:00
dependabot[bot]
fa9788eb40
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9749 to 0.5.9757.
- [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>
2022-03-11 18:04:37 +00:00
dependabot[bot]
c866677e32
build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.1.4.7 to 6.1.5.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.2.3/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.1.4.7...v6.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 18:04:10 +00:00
danielnachun
2c4ad58d16
test/software_spec/bottle_spec.rb: add unit tests 2022-03-10 11:32:32 -08:00
danielnachun
17005b93ab
software_spec.rb: add tag_to_cellar method 2022-03-10 10:31:33 -08:00
BrewTestBot
786e0457d1
brew vendor-gems: commit updates. 2022-03-10 18:07:33 +00:00
dependabot[bot]
900dc6cb7f
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9742 to 0.5.9749.
- [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>
2022-03-10 18:04:54 +00:00
Mike McQuaid
ff73e880cd
Merge pull request #12969 from hyuraku/remove_useless_attr_writer 2022-03-10 17:36:47 +00:00
Daniel Nachun
d2857e0dd8
Merge pull request #12964 from danielnachun/new_binary_grep
Use simpler method to detect binaries
2022-03-09 16:39:21 -08:00
Carlo Cabrera
39923cdb7f
linkage_checker: restrict RPATH test to --strict
This test is causing some rebuilds due to failed linkage upon upgrade.
That's a problem because rebuilds won't fix the problem that the `RPATH`
check identifies.
2022-03-10 07:09:47 +08:00
danielnachun
1faa4448bd
test/keg_relocate/grep_spec.rb: update unit test 2022-03-09 13:33:50 -08:00
danielnachun
a9dd3a76eb
extend/os/mac/keg_relocate: change egrep_args 2022-03-09 13:33:50 -08:00
danielnachun
3d2d1edaa3
keg_relocate.rb: add binary_file? method 2022-03-09 13:33:49 -08:00
Nanda H Krishna
e62094f52a
Merge pull request #12977 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.26.0
build(deps): bump rubocop from 1.25.1 to 1.26.0 in /Library/Homebrew
2022-03-09 13:53:40 -05:00
BrewTestBot
687fc30d83
brew vendor-gems: commit updates. 2022-03-09 18:19:52 +00:00
BrewTestBot
c9965657df
Update RBI files for rubocop. 2022-03-09 18:12:54 +00:00
BrewTestBot
4e6521f151
brew vendor-gems: commit updates. 2022-03-09 18:08:15 +00:00
dependabot[bot]
be1e7b3bbc
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9741 to 0.5.9742.
- [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>
2022-03-09 18:06:32 +00:00
dependabot[bot]
887db24b14
build(deps): bump rubocop from 1.25.1 to 1.26.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.25.1 to 1.26.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.25.1...v1.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 18:05:38 +00:00
Mike McQuaid
79891a7103
Update uses of Formula.all/Cask::Cask.all
Add some `--all` flags we'll eventually migrate to to ensure that we'll
eventually require their usage to read all formulae. Where we need to
do stuff later, add some comments.
2022-03-08 19:24:56 +00:00
Nanda H Krishna
b4f6683a5e
Merge pull request #12975 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.11.1
build(deps): bump bootsnap from 1.10.3 to 1.11.1 in /Library/Homebrew
2022-03-08 14:05:58 -05:00
Nanda H Krishna
38a5dcbe7f
Merge pull request #12973 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.4.7
build(deps): bump activesupport from 6.1.4.6 to 6.1.4.7 in /Library/Homebrew
2022-03-08 14:05:39 -05:00
BrewTestBot
d97a49b228
Update RBI files for activesupport. 2022-03-08 18:16:57 +00:00
BrewTestBot
f4b70185a5
Update RBI files for bootsnap. 2022-03-08 18:15:57 +00:00
BrewTestBot
d8ef0f6074
brew vendor-gems: commit updates. 2022-03-08 18:10:28 +00:00
BrewTestBot
4dfb354b7d
brew vendor-gems: commit updates. 2022-03-08 18:10:25 +00:00
BrewTestBot
8c1f33301b
brew vendor-gems: commit updates. 2022-03-08 18:06:07 +00:00
dependabot[bot]
798312f727
build(deps): bump bootsnap from 1.10.3 to 1.11.1 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.10.3 to 1.11.1.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.10.3...v1.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 18:03:46 +00:00
dependabot[bot]
997845acf8
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9724 to 0.5.9741.
- [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>
2022-03-08 18:03:32 +00:00
dependabot[bot]
a692930926
build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.1.4.6 to 6.1.4.7.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.2.3/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.1.4.6...v6.1.4.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 18:03:18 +00:00
Carlo Cabrera
1447f0853b
Merge pull request #12584 from chris-araman/chris-araman/missing-rpath
linkage: display executables with missing rpath
2022-03-08 17:33:07 +08:00
Mike McQuaid
5f044f0c53
Merge pull request #12971 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.13.3
build(deps): bump rubocop-performance from 1.13.2 to 1.13.3 in /Library/Homebrew
2022-03-08 08:27:03 +00:00
BrewTestBot
7f1a208a22
Update RBI files for rubocop-performance. 2022-03-07 18:11:18 +00:00
BrewTestBot
c2eed9d58a
brew vendor-gems: commit updates. 2022-03-07 18:06:44 +00:00
dependabot[bot]
7b2badc204
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.13.2 to 1.13.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.13.2...v1.13.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-03-07 18:04:14 +00:00
Émilia Decaudin
6642801b04 Show total disk space freed on cleanup. 2022-03-07 12:25:27 -05:00
hyuraku
ff54a79933 remove useless attr_writer 2022-03-07 21:22:07 +09:00
Issy Long
ea0ddc3297
Merge pull request #12968 from issyl0/dont-check-arch-requirements-for-only-dependencies
formula_installer: Fix `--only-dependencies` formula arch handling
2022-03-07 09:49:34 +00:00
Mike McQuaid
0bd1e6a24d
Merge pull request #12966 from Bo98/svn-test-fix
test/os/mac/dependency_collector_spec: fix svn test on older macOS
2022-03-07 08:54:33 +00:00
Issy Long
8b7a9a2430
formula_installer: Fix --only-dependencies formula arch handling
- For a formula with an architecture requirement and a user requesting
  `--only-dependencices` to be installed, this now proceeds to install the
  formula dependencies regardless of the requested formula architecture because
  the formula itself will never be installed.
- The way dependencies and requirements are computed, the `depends_on :arch` is
  still a dependency, so it's in the list of formula dependencies to check and
  potentially install. Hence, we have to remove from the list the dependent
  from `recursive_requirements` with the same name as the formula so that there
  are no confusing unsatisfied requirements for the named formula when we don't
  need it to be installed.
- I thought about why this might be, maybe it's because we can't guarantee that
  formula dependencies work on different architectures. But in that case they'd
  have their own architecture requirements, so we'd see the failure for them.
  So I don't know of any more reasons.

Before:

```shell
$ brew install --only-dependencies julia
julia: The x86_64 architecture is required for this software.
Error: julia: An unsatisfied requirement failed this build.
```

After:

```shell
❯ brew install --only-dependencies julia
==> Downloading [...]
==> Installing dependencies for julia: libnghttp2, mpfr and suite-sparse
```
2022-03-06 21:33:43 +00:00
Bo Anderson
4db0b9963c
test/spec_helper: prevent stdin trashing 2022-03-06 19:06:28 +00:00