35608 Commits

Author SHA1 Message Date
dependabot[bot]
3c6c52e16b
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.18.0...v2.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 19:00:59 +00:00
Issy Long
abbb0fbd76
Fix old_opt_record.blank? check for Migrator#unlink_oldname_opt
- This was determinig `blank?` on a `Pathname` object, which returned
  `true` always, making the test fail. Instead, check the string value.
2023-04-07 19:30:34 +01:00
Issy Long
da734a30c2
Say yes to RuboCop's DisplayCopNames; fix test expectations
- Fixing the test expected output was unbelievably tedious.
- There's been debate about this setting being `false` but in
  https://github.com/Homebrew/brew/pull/15136#issuecomment-1500063225
  we decided that it was worth using the default since RuboCop behaviour changed
  so we'd have had to do some horrible things to keep it as `false` -
  https://github.com/Homebrew/brew/pull/15136#issuecomment-1500037278 -
  and multiple maintainers specify the `--display-cop-names` option to
  `brew style` themselves since it's clearer what's gone wrong.
2023-04-07 19:14:07 +01:00
Mike McQuaid
63d8de3600
brew style --fix 2023-04-07 19:10:22 +01:00
BrewTestBot
992025dc1a
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-07 19:10:21 +01:00
BrewTestBot
0c608b8b7b
brew vendor-gems: commit updates. 2023-04-07 19:10:20 +01:00
dependabot[bot]
50fa02cbdd
build(deps): bump rubocop from 1.48.1 to 1.49.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.48.1 to 1.49.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.48.1...v1.49.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 19:10:19 +01:00
Carlo Cabrera
8963335eea
determine-test-runners: remove fake runner
Based on discussion from Homebrew/homebrew-core#127236.
2023-04-08 01:33:53 +08:00
Carlo Cabrera
959e2432a9
Update completions.
Generated with `brew generate-man-completions`
2023-04-07 22:27:08 +08:00
Carlo Cabrera
a754b6d343
Merge remote-tracking branch 'origin/master' into test-runners 2023-04-07 22:26:05 +08:00
Carlo Cabrera
5b8ead7bc8
Add more tests
Also, remove most integration tests, because they're slow.
2023-04-07 22:21:46 +08:00
Carlo Cabrera
fdc113d85c
os/mac/version: add unsupported_release? helper 2023-04-07 22:21:08 +08:00
Issy Long
dcc44f164d
Merge pull request #15105 from issyl0/cask-audit-only-failures-default
audit: Make `--display-failures-only` the default for Casks
2023-04-07 14:43:51 +01:00
Issy Long
8319c8f9b9
Make audit_casks return [path, { errors:, warnings:}] for CI
- This was failing but only in CI because the annotations require
  "errors" and "warnings" hash elements. Since formulae have this
  despite formulae not having warnings (probably for compatibility with
  casks), I decided to reinstate `errors` and `warnings` hash for Casks
  _right at the end_ and we can clean this up another time (famous last
  words).
2023-04-07 14:31:12 +01:00
Markus Reiter
844db75361
Add source paths to API. 2023-04-07 15:20:01 +02:00
Carlo Cabrera
4c33d85172
test_runner_formula: update tests
- also test `#compatible_with?`
- check that we're not simulating a system after `#dependents` is called
2023-04-07 19:31:24 +08:00
Carlo Cabrera
3d5218892d
github_runner_matrix: split into separate files 2023-04-07 19:10:28 +08:00
Carlo Cabrera
5ecd24ba20
Prefer public_send to send 2023-04-07 01:47:11 +08:00
Carlo Cabrera
f9cc563e91
test_runner_formula: add tests 2023-04-06 21:03:58 +08:00
Markus Reiter
d15f571eb6
Merge pull request #15117 from reitermarkus/curl-head-get
Add `curl_head` method.
2023-04-06 11:51:49 +02:00
Issy Long
a1d4a46f06
Update Library/Homebrew/cask/audit.rb
Co-authored-by: Markus Reiter <me@reitermark.us>
2023-04-06 10:13:02 +01:00
Issy Long
93de196a34
Update Library/Homebrew/cask/audit.rb 2023-04-06 09:49:20 +01:00
Markus Reiter
fbf474a3fd
Add curl_head method. 2023-04-06 10:22:24 +02:00
Mike McQuaid
367fe5373b
Merge pull request #15161 from dduugg/yard-cleanup
Minor YARD improvements
2023-04-06 08:51:20 +01:00
Mike McQuaid
461fc3ec81
Merge pull request #15160 from razvanazamfirei/greedy
Add HOMEBREW_GREEDY option
2023-04-06 08:43:20 +01:00
Mike McQuaid
d2c8b11eb5
Merge pull request #15163 from issyl0/2023-agm-minutes
docs/governance/2023-agm-minutes: Add brief summary of talking points
2023-04-06 08:42:26 +01:00
Mike McQuaid
b9fb7c5dbf
Merge pull request #15162 from Homebrew/dependabot/bundler/Library/Homebrew/addressable-2.8.3
build(deps): bump addressable from 2.8.2 to 2.8.3 in /Library/Homebrew
2023-04-06 08:42:08 +01:00
Mike McQuaid
53f6ffc920
Merge pull request #15155 from colindean/patch-1
Import doc "How To Organize AGM" from homebrew-governance-private
2023-04-06 08:40:19 +01:00
Mike McQuaid
104434c1d9
Merge pull request #15150 from muzimuzhi/tap-formula-file
Tighten `tap.formula_file?(file)` and `tap.formula_files` to not detect cask file as formula
2023-04-06 08:37:50 +01:00
Razvan Azamfirei
22eb43ca37
syntax fix 2023-04-05 20:07:58 -04:00
Razvan Azamfirei
acc598fdc9
Update env_config.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-04-05 19:29:57 -04:00
Razvan Azamfirei
87b4f1f396
Update env_config.rb 2023-04-05 19:26:20 -04:00
Issy Long
d636d2de37
Apply suggestions from review comments
- Rename `strictish` to `strict_only` in `add_error` method.
- Return just `errors`, a Set, not `{ errors: errors }`, a Hash,
  from `Auditor.audit`.
2023-04-06 00:10:28 +01:00
Yukai Chou
0cfc4ab1e8 fixup! avoid duplicating logic 2023-04-06 05:03:56 +08:00
Yukai Chou
16c81d7a55 tighten tap.formula_files similarly 2023-04-06 05:00:21 +08:00
Yukai Chou
1098cb6a7d avoid duplicating logic 2023-04-06 04:59:55 +08:00
Issy Long
785991773f
docs/governance/2023-agm-minutes: Add brief summary of talking points 2023-04-05 21:33:15 +01:00
Carlo Cabrera
d1b782fd68
github_runner_matrix: simplify 2023-04-06 03:33:34 +08:00
BrewTestBot
e7e80ad8af
Update RBI files for addressable.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-05 19:10:42 +00:00
BrewTestBot
60ae89c245
brew vendor-gems: commit updates. 2023-04-05 19:04:35 +00:00
dependabot[bot]
bd94eab349
build(deps): bump addressable from 2.8.2 to 2.8.3 in /Library/Homebrew
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.8.2 to 2.8.3.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.8.2...addressable-2.8.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 18:58:03 +00:00
Colin Dean
c6fdfa3258 Import doc "How To Organize AGM" from homebrew-governance-private
The PLC and members workshopped and reviewed this based on past AGMs,
especially the 2023 meeting.

This has some small formatting-only changes compared ot the H-G-P version due
to Markdownlint rules on this public repository. I'll port these changes
to the private repo after merging.
2023-04-05 14:17:57 -04:00
Carlo Cabrera
87373ff12a
Move more code out of dev-cmd 2023-04-06 02:13:15 +08:00
Douglas Eichelberger
200b5cad6a Minor YARD improvements 2023-04-05 10:06:45 -07:00
Carlo Cabrera
fc0c375cff
Update completions.
Generated with `brew generate-man-completions`
2023-04-05 23:58:19 +08:00
Carlo Cabrera
ffcc4cd75f
Merge remote-tracking branch 'origin/master' into test-runners 2023-04-05 23:55:01 +08:00
Mike McQuaid
61efc7076d
Merge pull request #15156 from dduugg/enable-types 2023-04-05 15:43:53 +01:00
Razvan Azamfirei
28490626fd
style fixes 2023-04-05 09:44:32 -04:00
Razvan Azamfirei
183fad82a6
add greedy option 2023-04-05 09:28:15 -04:00
Mike McQuaid
79edc3b5da
Merge pull request #15158 from MikeMcQuaid/coretap_installed 2023-04-05 11:41:11 +01:00