38364 Commits

Author SHA1 Message Date
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
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
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
Patrick Linnane
8f89403b23
Merge pull request #16571 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.0.1
build(deps): bump codecov/codecov-action from 4.0.0 to 4.0.1
2024-02-02 03:37:47 -08:00
BrewTestBot
ba72b5732d
brew vendor-gems: commit updates. 2024-02-02 11:32:37 +00:00
dependabot[bot]
19f120e247
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11223 to 0.5.11226
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11223 to 0.5.11226
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 11:29:22 +00:00
dependabot[bot]
a875eb22ed
build(deps): bump codecov/codecov-action from 4.0.0 to 4.0.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](f30e4959ba...e0b68c6749)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 11:28:32 +00:00
Mike McQuaid
926dcda187
Merge pull request #16570 from dduugg/addl-reqs
Add additional `require` support to tapioca
2024-02-02 08:34:34 +00:00
Patrick Linnane
377dbfc117
Merge pull request #16569 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11223
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-02-01 12:32:59 -08:00
BrewTestBot
4a045e9047
brew vendor-gems: commit updates. 2024-02-01 20:19:04 +00:00
Patrick Linnane
3bf9e72c28
Merge pull request #16568 from Homebrew/dependabot/bundler/Library/Homebrew/diff-lcs-1.5.1
build(deps-dev): bump diff-lcs from 1.5.0 to 1.5.1 in /Library/Homebrew
2024-02-01 10:11:23 -08:00
BrewTestBot
799e4fa0a4
Update RBI files for diff-lcs.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-02-01 17:55:50 +00:00
BrewTestBot
b899739402
brew vendor-gems: commit updates. 2024-02-01 17:52:32 +00:00
dependabot[bot]
73d78f21b6
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11222 to 0.5.11223
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11222 to 0.5.11223
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:50:33 +00:00
dependabot[bot]
52a6395a38
build(deps-dev): bump diff-lcs from 1.5.0 to 1.5.1 in /Library/Homebrew
Bumps [diff-lcs](https://github.com/halostatue/diff-lcs) from 1.5.0 to 1.5.1.
- [Changelog](https://github.com/halostatue/diff-lcs/blob/main/History.md)
- [Commits](https://github.com/halostatue/diff-lcs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 17:49:32 +00:00
Douglas Eichelberger
464810884f brew typecheck --update-all 2024-02-01 09:48:30 -08:00
Douglas Eichelberger
15db90effd Add additional requires support to tapioca 2024-02-01 09:48:30 -08:00
Mike McQuaid
0864775a91
Merge pull request #16565 from colindean/patch-3
Point corporate donors toward our OC contact form
2024-02-01 16:12:15 +00:00
Mike McQuaid
de0f69bc02
README: use PLC email for corporate donors. 2024-02-01 16:02:08 +00:00
Douglas Eichelberger
7942f9dacf
Merge pull request #16564 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2024-01-31 22:34:02 -08:00
Douglas Eichelberger
af4f7a60e8
Merge pull request #16563 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2024-01-31 22:27:01 -08:00
BrewTestBot
52a497d52d
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-01 06:24:48 +00:00
Douglas Eichelberger
e235bcf903 Add caveats.rbi 2024-01-31 22:23:40 -08:00
BrewTestBot
b271028c65 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-01-31 22:23:40 -08:00