26835 Commits

Author SHA1 Message Date
Carlo Cabrera
c6428d9def
Add tests for cleanup_python_site_packages. 2022-08-31 16:26:54 +08:00
Carlo Cabrera
155f4d7394
Fix collection of unused_pyc_files. 2022-08-31 16:04:21 +08:00
BrewTestBot
91123597ed
brew vendor-gems: commit updates. 2022-08-30 18:08:12 +00:00
dependabot[bot]
e3956fe2fb
build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.11.1 to 3.12.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.11.1...v3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 18:04:56 +00:00
Mike McQuaid
d5b9d0e3f6
Merge pull request #13778 from Homebrew/improve_glibc_gcc_dep_handling
extend/os/linux: improve glibc, gcc dependency handling.
2022-08-30 14:28:54 +01:00
Mike McQuaid
2d79b4b8a4
Merge pull request #13776 from Homebrew/rubocop_fixes
shims/gems/rubocop: handle when `brew` isn't in PATH.
2022-08-30 14:19:10 +01:00
Mike McQuaid
1f709d360d
extend/os/linux: improve glibc, gcc dependency handling.
- Add more early return checks
- Move to a recursive approach for more readability and avoiding a
  counter that we need to bump
- Perform more caching
- Keep class variable usage isolated into specific methods
2022-08-30 12:54:34 +00:00
Mike McQuaid
5b8bc14afd
shims/gems/rubocop: handle when brew isn't in PATH.
Instead, figure out where `$HOMEBREW_PREFIX/bin` should be and use that.
2022-08-30 12:53:42 +00:00
Mike McQuaid
a5f7fc814e
cmd/deps: return failing exit code on circular dependencies.
This makes more sense but will also be useful in `brew test-bot`.
2022-08-30 12:21:02 +00:00
Sean Molenaar
13b060ab86
Merge pull request #13746 from SMillerDev/chore/cask/cleanup_audit
Cask: automatically add cask audits
2022-08-30 09:23:23 +02:00
Mike McQuaid
877fff74e0
Merge pull request #13764 from Homebrew/doctor_tap_core
diagnostic: automatically tap homebrew/core.
2022-08-30 06:54:43 +01:00
Markus Reiter
ac94ca628d
Merge pull request #13769 from reitermarkus/audit-codesign
Improve error message for failed signature check.
2022-08-30 02:07:37 +02:00
Sean Molenaar
86f011cefb
Cask: automatically add cask audits 2022-08-29 11:28:20 +02:00
Markus Reiter
999468e41d
Change codesign error message. 2022-08-28 19:24:32 +02:00
hyuraku
374dd3dea2 repair if syntax and remove useless line 2022-08-27 22:29:07 +09:00
Rylan Polster
98999cc510
Merge pull request #13754 from Rylan12/cask-artifacts-hash
Include dsl key in cask artifact hash
2022-08-26 23:03:25 -04:00
Markus Reiter
5c2dd57794
Fix unreachable code. 2022-08-27 04:00:38 +02:00
Markus Reiter
08642f137f
Ignore failed signature check if no signature is present. 2022-08-27 03:51:44 +02:00
Carlo Cabrera
27093adb09
Merge pull request #13757 from carlocab/gcc-git
formula_auditor: require `--git` only if not `--strict` in `audit_gcc_dependency`
2022-08-27 02:02:25 +08:00
Carlo Cabrera
25910b9c68
Use Array.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-26 22:29:55 +08:00
Carlo Cabrera
ab696cbbb7
linux/diagnostic: fix rpath returning nil.
Fixes #13762.

There's still a bug in the GCC linkage check, but I'll need a bit more
time to work on a fix. This at least makes sure `brew doctor` will not
return the error in the issue linked above.
2022-08-26 22:23:02 +08:00
Mike McQuaid
631db5502d
diagnostic: automatically tap homebrew/core.
Otherwise, this just dies with `Error: No available tap homebrew/core.`.
2022-08-26 12:38:03 +00:00
Mike McQuaid
3c5b55be82
linux/dependency_collector: bump maximum_tree_depth.
Fixes #13760.
2022-08-26 08:39:03 +01:00
Carlo Cabrera
1fae6062e6
Fix check for tap git directory.
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2022-08-25 23:57:04 +08:00
Carlo Cabrera
665b6ca5c5
formula_auditor: require --git only if not --strict
The Git log is required only when `--strict` is not passed. This check
should still run with one of `--strict` or `--git`, but currently
passing `--strict` also requires `--git` in order to run this check.

This will still not be done during `tap_syntax` jobs after this change.
2022-08-25 23:16:26 +08:00
Bo Anderson
768eb1d51a
test/formula_spec: stub Tap#versioned_formulae_names 2022-08-25 16:13:24 +01:00
Rylan Polster
5c7e7eebe4
Condense artifact entries
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-25 10:24:30 -04:00
Bo Anderson
f09be9a5f7
formula: try optimise versioned_formulae_names 2022-08-25 15:05:49 +01:00
Bo Anderson
677bb92ba9
tap: add versioned_formula_files 2022-08-25 15:05:26 +01:00
Carlo Cabrera
fb2b21b298
Merge pull request #13750 from carlocab/gcc-dependency-check
formula_auditor: refactor GCC dependency check into separate method
2022-08-25 21:41:05 +08:00
Carlo Cabrera
84f544f08f
Require git log only when not strict 2022-08-25 20:54:19 +08:00
Carlo Cabrera
6175b3fe4c
Require --git. 2022-08-25 20:48:37 +08:00
Carlo Cabrera
378ff06f53
Speed up #linux_only_gcc_dep?.
`#to_hash_with_variations` is slow, let's avoid doing it unless needed.
2022-08-25 20:44:27 +08:00
Mike McQuaid
61db6207d8
Merge pull request #13577 from iMichka/glibc-install
install glibc/gcc automatically if too old.
2022-08-25 11:54:19 +01:00
Michka Popoff
d271614872
install glibc/gcc automatically if too old.
Right now this is done through the gcc@5 formula.
See 9692318ca6/Formula/gcc%405.rb (L33)

This is fragile because when we will migrate to gcc@11
we have to think about migrating the installation from one gcc formula to another..
Also, not having the right glibc version results in a non-functional brew
installation on an older Linux: the glibc installation needs
to be done by brew, and not by a workaround in a specific formula

Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
Co-Authored-By: Bo Anderson <mail@boanderson.me>
Co-Authored-By: Shaun Jackman <sjackman@gmail.com>
2022-08-25 11:04:37 +01:00
Rylan Polster
90d22bc7b1
Include dsl key in cask artifact hash 2022-08-25 03:04:48 -04:00
Rylan Polster
1c54e915b6
Update cask rubocops to use on_arch blocks and sha256 arm:, intel: 2022-08-25 00:49:28 -04:00
Rylan Polster
4de680688e
Merge pull request #13749 from Rylan12/include-on-system-rubocop
Include `on_{system}` blocks as stanzas in rubocop
2022-08-24 10:30:14 -04:00
Carlo Cabrera
8e09ec4bf4
Handle on_system blocks. 2022-08-24 20:34:43 +08:00
Carlo Cabrera
be4e926b15
Fix "dependencies" being nil. 2022-08-24 18:18:10 +08:00
Carlo Cabrera
69fbaf2dbf
Fix comment; reuse variations. 2022-08-24 15:12:58 +08:00
Carlo Cabrera
e68b1a4a89
Tweak #linux_only_gcc_dep?. 2022-08-24 15:09:53 +08:00
Carlo Cabrera
5f95cc388d
formula_auditor: refactor GCC dependency check into separate method
The GCC dependency check is adding a couple of minutes to our
`tap_syntax` jobs. Let's fix that by moving the check into a separate
method so we can exclude it from `tap_syntax`.
2022-08-24 13:22:00 +08:00
Rylan Polster
cce5de3059
Merge pull request #13747 from Homebrew/dependabot/bundler/Library/Homebrew/msgpack-1.5.6
build(deps): bump msgpack from 1.5.5 to 1.5.6 in /Library/Homebrew
2022-08-24 01:09:31 -04:00
Carlo Cabrera
c42b6e2cad
Revert "formula_auditor: skip rename audit for glib-utils"
The necessary PRs in Homebrew/homebrew-core have been merged. See:
- Homebrew/homebrew-core#108307
- Homebrew/homebrew-core#108497

This reverts commit 6ca02b22bb27a45525fa62c6fba9902039152fcc.
2022-08-24 10:43:57 +08:00
BrewTestBot
515fc9aa40
brew vendor-gems: commit updates. 2022-08-23 18:14:16 +00:00
Rylan Polster
3f00893201
Include on_{system} blocks as stanzas in rubocop 2022-08-23 14:09:29 -04:00
dependabot[bot]
35ad58e347
build(deps): bump msgpack from 1.5.5 to 1.5.6 in /Library/Homebrew
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/msgpack/msgpack-ruby/releases)
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog)
- [Commits](https://github.com/msgpack/msgpack-ruby/compare/v1.5.5...v1.5.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-23 18:08:55 +00:00
Mohammad Zain Abbas
990f71367b Refactoring resource_version to always return hash info 2022-08-23 16:08:18 +02:00
Mohammad Zain Abbas
461ae71229
Merge branch 'Homebrew:master' into mohammad 2022-08-23 14:27:47 +02:00