33496 Commits

Author SHA1 Message Date
Mike McQuaid
1bc9726400
Merge pull request #13931 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-09-27 10:37:27 +01:00
BrewTestBot
06feceda67
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2022-09-27 09:31:10 +00:00
Mike McQuaid
4aa765fafe
Cleanup and fix CI jobs
- use macOS 12 or Ubuntu 22.04 wherever appropriate
- don't append `(Linux)` to job names
- use specific Ubuntu 22.04 and Ubuntu 18.04 jobs

We may want to consider more Ubuntu 18.04 jobs in future, too.
2022-09-27 10:30:08 +01:00
BrewTestBot
4b4b446828
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-09-27 08:35:41 +00:00
Mike McQuaid
79a3a82271
Merge pull request #13916 from carlocab/unversioned-gcc-runtime
Use unversioned GCC for runtime libraries when required.
2022-09-27 09:15:33 +01:00
Nanda H Krishna
b5c8841980
Modified text in comments 2022-09-27 00:59:37 -07:00
Carlo Cabrera
a2081b488c
Use unversioned GCC for runtime libraries when required.
See discussion at Homebrew/homebrew-core#110010.
2022-09-27 13:11:04 +08:00
Sam Ford
bd9c436d50
Remove unnecessary parameter from method
A boolean `resource` parameter was added to `#print_latest_version`
but its only purpose is to identify whether `info` corresponds to a
resource. This can be achieved using `info[:resource].present?`, so
this additional parameter isn't necessary and can be removed.
2022-09-27 00:36:33 -04:00
Sam Ford
fb653c00d8
Improve consistency of *_version methods
Minimizing the differences between the `#resource_version` and
`#latest_version` methods will help to ease the process of potentially
merging them into one method in the future.
2022-09-27 00:27:26 -04:00
Sam Ford
7ffeba6380
Convert some multiline code into a single line
Using a multiline format in these areas isn't necessary and we can
clean up these lines by converting them to a single line format.
2022-09-27 00:21:18 -04:00
Sam Ford
40b0070beb
Modify comments and other text
The `check_for_resources` code arguably speaks for itself, so it
doesn't feel like a necessary addition. Besides that, this cleans up
some other comments and text to better align with existing examples.
2022-09-27 00:18:20 -04:00
BrewTestBot
6529937154
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2022-09-27 00:12:24 +00:00
BrewTestBot
964e95593c
Update RBI files for parallel_tests.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-09-26 18:15:31 +00:00
BrewTestBot
b3b5b28c76
brew vendor-gems: commit updates. 2022-09-26 18:09:59 +00:00
dependabot[bot]
037e1b928c
build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.12.1 to 3.13.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/commits)

---
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-09-26 18:05:02 +00:00
Mohammad Zain Abbas
a81ef89883
Merge branch 'Homebrew:master' into mohammad 2022-09-26 19:40:54 +02:00
Mohammad Zain Abbas
e3cab15e93 Set Homebrew.failed = true to get correct status code 2022-09-26 19:37:46 +02:00
Sean Molenaar
520d9c3ab8
Merge pull request #13926 from SMillerDev/feature/audit/complain_no_subjects
Audit: complain if no targets are found
2022-09-26 16:05:56 +02:00
Sean Molenaar
dd46cc40c7
audit: improve error wording 2022-09-26 15:37:12 +02:00
Mike McQuaid
d5b6b068c1
Merge pull request #13921 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.13.2
build(deps): bump rubocop-rspec from 2.13.1 to 2.13.2 in /Library/Homebrew
3.6.3
2022-09-26 13:41:18 +01:00
Sean Molenaar
95777e7cdf Audit: complain if no targets are found 2022-09-26 10:49:12 +02:00
Mohammad Zain Abbas
e26da060f0 Merge branch 'mohammad' of https://github.com/mohammadzainabbas/brew into mohammad 2022-09-25 20:48:45 +02:00
Mohammad Zain Abbas
ae031041a2 Refactored code 2022-09-25 20:48:44 +02:00
Mohammad Zain Abbas
2f74eb5b5b
Update Library/Homebrew/livecheck/livecheck.rb
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-09-25 22:21:04 +05:00
Mohammad Zain Abbas
42d8c852ae
Merge branch 'Homebrew:master' into mohammad 2022-09-25 03:09:36 +02:00
Mohammad Zain Abbas
03c372ef52 Minor fixes 2022-09-25 02:06:23 +02:00
Mohammad Zain Abbas
6d993fa642 Fixed minor issues and applied suggestions 2022-09-25 00:53:44 +02:00
BrewTestBot
d23d2244b8
Update RBI files for rubocop-rspec.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-09-23 18:15:33 +00:00
BrewTestBot
bbd2d50478
brew vendor-gems: commit updates. 2022-09-23 18:09:46 +00:00
dependabot[bot]
c3ff984beb
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.13.1...v2.13.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 18:07:01 +00:00
Carlo Cabrera
4441452f4e
Merge pull request #13918 from carlocab/fix_gcc_dependency
formula_auditor: fix false negatives in `audit_gcc_dependency`
2022-09-23 06:25:37 +08:00
Carlo Cabrera
1d7856c4f1
formula_auditor: fix false negatives in audit_gcc_dependency
This audit is mistakenly passing for formulae where
`variations_dependencies` is an empty array. We can fix that by checking
for `nil` instead.

See Homebrew/homebrew-core#111280.
2022-09-23 06:00:26 +08:00
Rylan Polster
34521764a6
Merge pull request #13917 from Homebrew/sync-triage-config
Synchronize triage configuration
2022-09-22 11:18:07 -04:00
Carlo Cabrera
03b76113e8
Merge pull request #13913 from carlocab/test-compiler
extend/ENV/std: ignore `fails_with` during `brew test`.
2022-09-22 23:02:32 +08:00
BrewTestBot
a3dca99798
triage-issues.yml: update to match main configuration 2022-09-22 14:49:50 +00:00
Carlo Cabrera
cad6f1cdd1
Merge pull request #13914 from carlocab/linux-keg_relocate
linux/keg_relocate: clean up GCC RPATH fix.
2022-09-22 11:29:02 +08:00
Rylan Polster
0b602f689a
Merge pull request #13908 from Rylan12/test-deps-formulary
Include test deps when loading a formula from the API
2022-09-21 13:09:34 -04:00
Carlo Cabrera
8a9ed2c48f
linux/keg_relocate: clean up GCC RPATH fix.
There are no more formulae in Homebrew/core that have a runtime
dependency on GCC (see Homebrew/homebrew-core#110883), so there is no
more need to retain linkage with GCC through a versioned path.
2022-09-22 00:53:56 +08:00
Carlo Cabrera
1d9ee93e6e
Apply suggestions from code review
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-09-21 23:05:00 +08:00
Carlo Cabrera
e9bcab6986
extend/ENV/std: ignore fails_with during brew test.
The compiler used to a build a formula is typically not needed during
the test.

This will allow us to get rid of some `:test` dependencies, which were
added to prevent `brew` from throwing a `CompilerSelectionError` because
the formula declares `fails_with` the default compiler.

This also helps us get more accurate results from `brew linkage` in
cases of unintended linkage with the compiler used to build.

Fixes #11795.
2022-09-21 22:55:42 +08:00
Bo Anderson
5b02645210
Merge pull request #13910 from Homebrew/sync-triage-config
Synchronize triage configuration
2022-09-21 14:31:51 +01:00
Mike McQuaid
fbbcb9700c
Merge pull request #13907 from troymccabe/bugfix/13789-homepage-gh-private-repo-check
Checks github API if homepage 404s
2022-09-21 13:58:11 +01:00
Troy McCabe
359b3c6d36 Addresses PR comments 2022-09-21 07:35:42 -05:00
BrewTestBot
7cc51580ca
triage-issues.yml: update to match main configuration 2022-09-21 09:28:06 +00:00
Rylan Polster
f66b5ff208
Include test deps when loading a formula from the API 2022-09-21 02:53:58 -04:00
Troy McCabe
d490123d74 Second check for github repos as private homepages 2022-09-20 23:06:47 -05:00
Rylan Polster
a6aab4b349
Merge pull request #13895 from Rylan12/test-deps-api
Separate test from runtime dependencies in `Formula#to_hash`
2022-09-20 12:36:36 -04:00
Bo Anderson
2cacd04743
Merge pull request #13899 from Bo98/no-gcc
extend/os/linux/development_tools: handle no /usr/bin/gcc
2022-09-20 14:31:12 +01:00
Bo Anderson
e526c65566
extend/os/linux/development_tools: handle no /usr/bin/gcc
Fixes #13896.
2022-09-20 13:06:56 +01:00
Rylan Polster
f9c8baee02
Separate test from runtime dependencies in Formula#to_hash 2022-09-19 23:32:39 -04:00