26455 Commits

Author SHA1 Message Date
Rylan Polster
2c3926ae1e
Check nesting for blocks with one child 2022-07-24 23:37:36 +02:00
Rylan Polster
a4327521d5
Add on_system to and reorder component order cop 2022-07-24 23:37:35 +02:00
Max Eisner
1c059e1da0
extend shell_parameter argument 2022-07-24 23:03:28 +02:00
Rylan Polster
d5d6456b24
Add checks for on_system method 2022-07-24 23:01:56 +02:00
Rylan Polster
7b24ed3b4d
Update OnSystem cop to check other on_{system} methods 2022-07-24 23:01:56 +02:00
Rylan Polster
7392f9811e
Formulary: use variations hash when installing from API 2022-07-24 22:59:42 +02:00
Max Eisner
92bccd2074
apply naming suggestions 2022-07-24 22:54:28 +02:00
Max Eisner
9528c6a8ac
always set SHELL env variable 2022-07-24 22:50:14 +02:00
Alexander Bayandin
4e8cc524c5 Clean up GitHub headers 2022-07-24 11:44:16 +00:00
Rylan Polster
91cf9f2ad8
Use SimulateSystem for uses_from_macos deps 2022-07-23 03:09:29 +02:00
Rylan Polster
34a1bc6618
Use SimulateSystem for ignore_missing_libraries 2022-07-23 03:09:29 +02:00
Rylan Polster
fa384b03fa
Simplify SimulateSystem usage 2022-07-23 03:08:56 +02:00
Rylan Polster
ed97281d20
Allow ignore_missing_libraries when simulating Linux on macOS 2022-07-22 18:44:40 +02:00
Rylan Polster
0e98bdde13
Merge pull request #13589 from Rylan12/formula-to-hash-variations
`Formula#to_hash`: include `variations` key
2022-07-22 18:23:48 +02:00
Mike McQuaid
9044caac95
Merge pull request #13590 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.32.0
build(deps): bump rubocop from 1.31.2 to 1.32.0 in /Library/Homebrew
2022-07-22 14:42:53 +01:00
Alexander Bayandin
4f3a7125ef
bump-formula-pr: even more precise tag replacement 2022-07-22 14:18:33 +01:00
Mike McQuaid
e7c3782d03
Merge pull request #13581 from colindean/error-on-untapped-official-tap
Instruct user to tap untapped official tap when running its commands
2022-07-22 09:57:46 +01:00
Bo Anderson
676ab5181e
Merge pull request #13566 from Bo98/sorbet-runtime
Replace sorbet-runtime-stub with sorbet-runtime
2022-07-21 20:22:46 +01:00
Bo Anderson
bff7081d3b
Merge pull request #13582 from Bo98/gemfile-min-ruby
Gemfile: denote minimum Ruby
2022-07-21 20:21:35 +01:00
BrewTestBot
e1f5fc7e69
Update RBI files for rubocop. 2022-07-21 18:14:48 +00:00
BrewTestBot
e7a8e07161
brew vendor-gems: commit updates. 2022-07-21 18:08:27 +00:00
dependabot[bot]
b07e10a5cb
build(deps): bump rubocop from 1.31.2 to 1.32.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.31.2 to 1.32.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.31.2...v1.32.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-07-21 18:05:06 +00:00
Colin Dean
e7052fad0d Use heredoc for multiline error and store untapped official taps check
Review feedback on https://github.com/Homebrew/brew/pull/13581#pullrequestreview-1046232447
2022-07-21 13:24:23 -04:00
Colin Dean
5e56b9effe
Drops "cannot be retapped" from manual untap warning
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-07-21 11:51:21 -04:00
Rylan Polster
7255df1ec2
Only run to_hash_with_variations test on macOS 2022-07-21 17:33:19 +02:00
Rylan Polster
243ff024e3
Remove debug message 2022-07-21 16:45:41 +02:00
Rylan Polster
6c35317732
Add and update tests 2022-07-21 16:41:23 +02:00
Rylan Polster
f3e34230ad
Add --variations option to brew info 2022-07-21 16:41:15 +02:00
Rylan Polster
eab3d077bc
Improvements 2022-07-21 15:32:51 +02:00
Rylan Polster
d4c4432f2d
Formula#to_hash: include variations key 2022-07-21 13:04:56 +02:00
Rylan Polster
0b030b74e2
Merge pull request #13587 from Homebrew/dependabot/bundler/Library/Homebrew/tzinfo-2.0.5
build(deps): bump tzinfo from 2.0.4 to 2.0.5 in /Library/Homebrew
2022-07-21 10:56:29 +02:00
Carlo Cabrera
e7fc86d80f
Merge pull request #13584 from steveh7812/api-curl-args
use --time-cond when caching the formula api json
2022-07-21 15:30:39 +08:00
Steve Hahn
9f27bd4c67 simplify cached_formula_json_file check 2022-07-20 11:19:24 -07:00
BrewTestBot
db9a878ef0
Update RBI files for tzinfo. 2022-07-20 18:17:10 +00:00
BrewTestBot
20fbc1e9fd
brew vendor-gems: commit updates. 2022-07-20 18:12:43 +00:00
dependabot[bot]
f416e332f4
build(deps): bump tzinfo from 2.0.4 to 2.0.5 in /Library/Homebrew
Bumps [tzinfo](https://github.com/tzinfo/tzinfo) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/tzinfo/tzinfo/releases)
- [Changelog](https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md)
- [Commits](https://github.com/tzinfo/tzinfo/compare/v2.0.4...v2.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 18:10:01 +00:00
danielnachun
7a247fd52d
shims/super/cc: add -nostdinc in cppflags 2022-07-20 11:08:43 -07:00
Bo Anderson
4173228c1b
Gemfile: denote minimum Ruby 2022-07-20 13:47:47 +01:00
Carlo Cabrera
f9e8531924
cmd/update: stop Git's fsmonitor when needed
Git's fsmonitor daemon will prevent our update lock file from being
released if it is running before a `brew update`.

Let's fix that by stopping it whenever necessary so our update lock is
released upon completion.

Fixes #13521.
2022-07-20 18:18:12 +08:00
Daniel Nachun
8a2efb1df6
Merge pull request #13568 from danielnachun/fix_glibc_2_13
Add flags to superenv when building with glibc@2.13
2022-07-19 23:38:54 -07:00
Steve Hahn
8993ebca88 use --time-cond when caching the formula api json 2022-07-19 17:41:27 -07:00
Bo Anderson
b1c1d15e01
brew vendor-gems: commit updates. 2022-07-19 23:43:18 +01:00
Bo Anderson
e4264c9f35
Replace sorbet-runtime-stub with sorbet-runtime 2022-07-19 23:43:14 +01:00
Rylan Polster
19340f9212
Merge pull request #13576 from Rylan12/empty-patch 2022-07-20 00:20:45 +02:00
Colin Dean
ac53a6ae36 Instruct user to tap untapped official tap when running its commands
This came up in https://github.com/Homebrew/homebrew-bundle/issues/1108
wherein a user had unwittingly untapped some official taps that get
automatically tapped on first use and couldn't figure out why they
couldn't use the associated command.
2022-07-19 18:06:42 -04:00
Bo Anderson
30fda551e8
Merge pull request #13578 from gpanders/deprecated
Require deprecate_disable module in formulary
2022-07-19 16:41:41 +01:00
Gregory Anders
f387c7f0b2 Require deprecate_disable module in formulary
This solves a recurrent issue where various brew commands (e.g. doctor,
cleanup) would print the following stack trace:

    Error: uninitialized constant Formulary::DeprecateDisable
    Did you mean?  DeprecatedOption
    /opt/homebrew/Library/Homebrew/formulary.rb:269:in `convert_to_deprecate_disable_reason_string_or_symbol'
    /opt/homebrew/Library/Homebrew/formulary.rb:171:in `block in load_formula_from_api'
    /opt/homebrew/Library/Homebrew/formulary.rb:139:in `initialize'
    /opt/homebrew/Library/Homebrew/formulary.rb:139:in `new'
    /opt/homebrew/Library/Homebrew/formulary.rb:139:in `load_formula_from_api'
    /opt/homebrew/Library/Homebrew/formulary.rb:519:in `load_from_api'
    /opt/homebrew/Library/Homebrew/formulary.rb:510:in `klass'
    /opt/homebrew/Library/Homebrew/formulary.rb:296:in `get_formula'
    /opt/homebrew/Library/Homebrew/formulary.rb:542:in `factory'
    /opt/homebrew/Library/Homebrew/formulary.rb:565:in `from_rack'
    /opt/homebrew/Library/Homebrew/cleanup.rb:85:in `stale_formula?'
    /opt/homebrew/Library/Homebrew/cleanup.rb:58:in `stale?'
    /opt/homebrew/Library/Homebrew/cleanup.rb:356:in `block in cleanup_cache'
    /opt/homebrew/Library/Homebrew/cleanup.rb:339:in `each'
    /opt/homebrew/Library/Homebrew/cleanup.rb:339:in `cleanup_cache'
    /opt/homebrew/Library/Homebrew/cleanup.rb:222:in `clean!'
    /opt/homebrew/Library/Homebrew/cmd/cleanup.rb:58:in `cleanup'
    /opt/homebrew/Library/Homebrew/brew.rb:93:in `<main>'
2022-07-19 06:29:14 -06:00
Mike McQuaid
6615cd9144
Merge pull request #13510 from GottemHams/feat-macos-fully-backgrounded
Added support for running services fully backgrounded on macOS
2022-07-19 09:44:40 +01:00
Carlo Cabrera
020c93ac84
Merge pull request #13570 from carlocab/report-system-framework-linkage
linkage_checker: report linkage with system frameworks
2022-07-19 14:04:31 +08:00
Rylan Polster
94138c0848
Ignore empty patch blocks 2022-07-18 22:51:30 +02:00