38785 Commits

Author SHA1 Message Date
dependabot[bot]
ad37cc76a1
build(deps-dev): bump rspec-expectations in /Library/Homebrew
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.12.3...v3.12.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 18:35:11 +00:00
Issy Long
dbb10da4b0
Merge pull request #16585 from issyl0/rm-ancient-flowchart
Delete ancient 'managing PRs' flowchart
2024-02-05 16:05:04 +01:00
Issy Long
a8beb98bad
PRs raised at 2am are only half done, zzzz 2024-02-05 15:49:40 +01:00
Patrick Linnane
6170b6297c
Merge pull request #16588 from Homebrew/sponsors-maintainers-man-completions
Update maintainers.
4.2.7
2024-02-05 13:17:33 +01:00
BrewTestBot
137dc5d2bf
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-02-05 12:07:42 +00:00
Rylan Polster
e6e7383cf4
Merge pull request #16587 from Homebrew/sponsors-maintainers-man-completions
Update maintainers.
2024-02-05 10:41:25 +01:00
BrewTestBot
09582bba6a
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-02-05 09:29:14 +00:00
BrewTestBot
5bea5532f9
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-02-05 09:07:40 +00:00
Mike McQuaid
cda2205fae
Merge pull request #16494 from MikeMcQuaid/import_homebrew_governance_private
Homebrew-Governance: import PLC-approved changes.
2024-02-05 10:00:10 +01:00
Bevan Kay
60914a3f4f
rubocops/cask: fix style 2024-02-05 08:58:03 +01:00
Issy Long
d0795d2b9d
Delete ancient 'managing PRs' flowchart
- This diagram was really old and didn't reflect the current practices
  (a lot more things are automated now, hurray).
- Anything we replace it with will get outdated fast too.
- Also delete the diagramming docs since I don't believe we have made
  another diagram since this one which got out of date and forgotten
  about since it was a DrawIO SVG and not easily editable as code.
- If we want diagrams these days, we can use Mermaid which is
  diagrams-as-code.
2024-02-05 01:47:55 +01:00
Kevin
d94772171f
Merge pull request #16541 from apainintheneck/next-gen-api-formula-json-v3
Next gen api formula json v3
2024-02-04 11:16:01 -08:00
Mike McQuaid
f09ea3a472
Merge pull request #16583 from dnicolson/fix-quick-look-2
Replace “QuickLook” with “Quick Look”
2024-02-04 17:55:54 +01:00
Dave Nicolson
4d9496831d Replace “QuickLook” with “Quick Look” 2024-02-04 16:30:03 +01:00
Mike McQuaid
31db97206b
Merge pull request #16582 from EricFromCanada/text-output-formatting
docs & audits: text output improvements
2024-02-04 16:23:27 +01:00
Eric Knibbe
e63b1f4da5
docs: monospace suggested values 2024-02-04 15:42:26 +01:00
Eric Knibbe
7698cf2098
audit: messaging improvements 2024-02-04 15:10:14 +01:00
Bevan Kay
2b60576165
rubocops/cask: add a cop for specific numbered shared file list files 2024-02-04 14:13:06 +01:00
Douglas Eichelberger
3546e47d6e
Try deleting test/support/lib/default_prefix.rb 2024-02-04 13:53:53 +01:00
Douglas Eichelberger
69cd289938
Remove redirection for default prefixes 2024-02-04 13:53:53 +01:00
Mike McQuaid
683bb6d73a
docs/Homebrew-Governance: fix typo.
Co-authored-by: Steve Peters <computersthatmove@gmail.com>
2024-02-04 13:52:15 +01:00
Mike McQuaid
1cbc5462c7
Homebrew-Governance: import PLC-approved changes.
All the changes here were approved by a majority of the PLC and
offered for review to the TSC and members with no blocking objections.
2024-02-04 13:52:15 +01:00
Paulo Phagula
8ae063acb1
Remove unnecessary pre-setting of PATH 2024-02-04 13:51:45 +01:00
Paulo Phagula
cf4876ac41
Use -P flag to Manipulate $PATH directly.
Based on https://github.com/Homebrew/brew/pull/7215
2024-02-04 13:51:45 +01:00
Paulo Phagula
dc4c827a51
fix: use recommended way of updating Fish shell $PATH
Akin to https://github.com/Homebrew/brew/pull/11349
2024-02-04 13:51:45 +01:00
apainintheneck
54b54b7e93
formula: change how #to_hash is defined for backwards compatibility
Now the output of commands like `brew info --json=` and
`brew generate-formula-api` should be the same as before along with
the additional files for the internal API. Before this commit the
hash key order had changed.
2024-02-04 13:50:57 +01:00
apainintheneck
3c503cdf56
Normalize service serialization method names 2024-02-04 13:50:57 +01:00
apainintheneck
d9a98ac4ec
Address review feedback
- move caveats serialization to a method
- remove unnecessary nesting where the hash would only have one key

Also, removed comment about checking disable and deprecation reasons.
2024-02-04 13:50:57 +01:00
apainintheneck
ba3a0f8c33
dev-cmd/generate-formula-api: generate homebrew-core.json
This adds the code to generate the homebrew-core.json file which
represents the entire tap instead of just the previous array of
formula hashes. Any shared logic has been moved into the top-level
hash scope including aliases, renames, tap_git_head and tap_migrations.

I also added a check to skip adding the variations hash to the api
hash if it is empty.

Now we're down to 10MB from 24MB!!!
2024-02-04 13:50:57 +01:00
apainintheneck
69609731d9
formula: share dependencies serialization logic
Note: This changes where the "head_dependencies" key in the hash
shows up but not the hash's contents.

"head_dependencies" now shows up directly after all of the other
dependency keys. Before it was always at the end of the hash after
variations.
2024-02-04 13:50:57 +01:00
apainintheneck
d2dd80b0d6
formula: share requirements serialization logic 2024-02-04 13:50:57 +01:00
apainintheneck
c1d85bf598
formula: add #to_api_hash
This will be used internally to generate a slimmer api hash representation
of formulas that will require less space and be faster to load.

Changes:
- Added #to_api_hash
- Modified #to_hash_with_variations to work with both #to_hash and #to_api_hash
- Modified #bottle_hash to have compact representation for the api hash
- Added #urls_hash to share url hash generation logic between the hash methods
2024-02-04 13:50:57 +01:00
Mike McQuaid
1745db8000
Merge pull request #16580 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2024-02-04 12:58:04 +01:00
Mike McQuaid
8679eaf8db
Merge pull request #16575 from Homebrew/pkg_installer_14_arm64
workflows/pkg-installer: use macOS 14 ARM64 worker
2024-02-04 12:55:30 +01:00
BrewTestBot
d39268ba84
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-02-04 11:42:32 +00:00
BrewTestBot
17e7006651
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-02-04 11:40:44 +00:00
Mike McQuaid
a2d4aebc61
workflows/pkg-installer: use macOS 14 ARM64 worker
This is both free and lets us test on newer versions of macOS.
2024-02-04 12:39:52 +01:00
Mike McQuaid
3c32efaad9
Merge pull request #16576 from MikeMcQuaid/workflows_macos_14
workflows: use macos-14 runner.
2024-02-04 12:39:28 +01:00
Mike McQuaid
2be2aa0dc8
workflows: use macos-14 runner.
- Use `macos-14` instead of `macos-13` most of the time.
- For `tests` and `test default formula` builds: run on both
  macOS 13 x86_64 and macOS 14 arm64
- Pretend `macos-14` is a self-hosted runner until a new version of
  `actionlint` is released which doesn't error on `macos-14`.
2024-02-04 12:12:12 +01:00
Mike McQuaid
0d02aa3313
Merge pull request #16578 from dnicolson/fix-quick-look
Replace “QuickLook” with “Quick Look”
2024-02-04 12:09:45 +01:00
Kevin
34882f51a8
Merge pull request #16577 from apainintheneck/exclude-more-tap-files-from-top-level-method-cop
rubocop: exclude more tap files from the top-level method cop
2024-02-03 16:59:29 -08:00
apainintheneck
648c50e9a6 rubocop: exclude more tap files from the top-level method cop
Basically, this started failing for me on my personal tap because
there are some methods defined at the top-level in my Rakefile.
That seems acceptable to me and since we're already ignoring all
other Ruby files in the tap I figured we might as well just ignore
all of them.

I ended up changing one other use of `Taps/**/*.rb` to `Taps/**/*.rb`
as well.
2024-02-03 16:44:36 -08:00
Dave Nicolson
31f09f8d30 Replace “QuickLook” with “Quick Look” 2024-02-03 23:54:04 +01:00
Mike McQuaid
df32020fb7
Merge pull request #16574 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2024-02-03 13:13:47 +01:00
BrewTestBot
5e1f7cc033
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-02-03 00:26:42 +00:00
Patrick Linnane
392cc15a7d
Merge pull request #16572 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11226
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-02-02 08:39:36 -08:00
Issy Long
06028c204a
Merge pull request #16518 from issyl0/rubocop-md
rubocop: Try out `rubocop-md` for linting the code in our docs
2024-02-02 15:49:46 +00:00
Issy Long
ca92fca770
Turn off FormulaAudit/{Desc,Homepage} for docs
- We don't need this blanket enabled, we only have a few docs where it actually matters that there's a description, it's just cruft having to invent descriptions.
2024-02-02 15:37:01 +00:00
Issy Long
bcd3a78f6d
Ignore the generated manpage; reinstate its trailing whitespace 2024-02-02 15:24:17 +00:00
BrewTestBot
5a7233bcd6
Update RBI files for sorbet-runtime-and-sorbet-static-and-runtime.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-02-02 11:38:38 +00:00