39924 Commits

Author SHA1 Message Date
dependabot[bot]
711a5b3e5d
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.11336 to 0.5.11338
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11336 to 0.5.11338
- [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-04-10 16:36:12 +00:00
Mike McQuaid
fdcc2c7296
docs: clarify pull request review guidelines.
- Move the guidelines from Homebrew/brew Maintainer Guide to
  Maintainer Guidelines as they apply to all repositories.
- Clarify the guidelines to make it clear that the default option
  should be to approve a PR, with or without comments.
- Note in the New Maintainer Checklist that the most important task for
  maintainers is reviewing pull requests.

Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2024-04-10 13:52:18 +01:00
Mike McQuaid
ef1c54eff9
Merge pull request #16662 from iMichka/python-acceptable
docs: improve, define Python library exception list
2024-04-10 08:49:53 +01:00
Mike McQuaid
be5a7de54a
docs/Python-for-Formula-Authors: fix mdlint
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2024-04-10 08:38:47 +01:00
Carlo Cabrera
7c759d3ead
Merge pull request #17062 from toobuntu/new-cask-message 2024-04-10 13:35:30 +08:00
Bo Anderson
756fc151bf
Merge pull request #17063 from Bo98/api-title-string
dev-cmd/generate-*-api: ensure title is a string
2024-04-10 05:12:38 +01:00
Bo Anderson
073e35d4ba
dev-cmd/generate-*-api: ensure title is a string 2024-04-10 04:51:23 +01:00
Todd Schulman
2b342ed795 docs: update examples of good commit summaries
Aligns examples with preferences observed by current maintainers.
2024-04-09 22:10:15 -04:00
Michka Popoff
ecc181ccb3
docs: improve, define Python library exception list 2024-04-09 23:14:52 +04:00
Patrick Linnane
1bbfe76b2b
Merge pull request #17060 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.3.0 2024-04-09 11:30:43 -07:00
dependabot[bot]
34ac300aa4
build(deps): bump codecov/codecov-action from 4.2.0 to 4.3.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](7afa10ed9b...84508663e9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 18:17:58 +00:00
Patrick Linnane
ad9a4cf124
Merge pull request #17058 from Homebrew/dependabot/bundler/Library/Homebrew/multi-47a2f46e49 2024-04-09 10:00:37 -07:00
Patrick Linnane
9b3909c06f
Merge pull request #17059 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.8.1 2024-04-09 09:58:59 -07:00
BrewTestBot
3474e8b216
brew vendor-gems: commit updates. 2024-04-09 16:42:03 +00:00
BrewTestBot
b1d11528d5
brew vendor-gems: commit updates. 2024-04-09 16:41:24 +00:00
dependabot[bot]
49e34af423
build(deps-dev): bump rubocop-sorbet in /Library/Homebrew
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases)
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: rubocop-sorbet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 16:41:13 +00:00
dependabot[bot]
579efb0ea7
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [sorbet-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 16:40:34 +00:00
William Woodruff
6e10001d49
attestation: strict typechecking
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-09 11:03:41 -04:00
William Woodruff
2efef36313
move InvalidAttestationError into Attestation mod
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-09 10:52:48 -04:00
William Woodruff
5ec3dab141
attestation: document BACKFILL_CUTOFF better
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-09 10:50:49 -04:00
William Woodruff
a3a5f78de3
attestation: document gh_executable bootstrap cycle
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-09 10:48:17 -04:00
William Woodruff
e52c253832
attestation: simplify gh bootstrapping
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-09 10:45:44 -04:00
William Woodruff
ca6db49859
Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-04-09 10:18:08 -04:00
Mike McQuaid
a21c71fa97
Merge pull request #17056 from Homebrew/fix_brew_log
cmd/log: various fixes.
2024-04-09 10:55:52 +01:00
Mike McQuaid
7bfe859473
cmd/log: various fixes.
- Don't pass through `args:` when called with no arguments; these don'T
  need to be passed and end up breaking things instead.
- Make `T.must` as early as possible.
- Add a type signature to `git_log` to enable `typed: strict` and catch
  these sorts of bugs earlier next time.
- `--follow` only works with a single file so check if the path is a
  file before adding it to the arguments.
2024-04-09 10:42:08 +01:00
Ruoyu Zhong
3ee7694a7a
Merge pull request #17053 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2024-04-09 16:56:49 +08:00
BrewTestBot
d0477ea679
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-04-09 08:37:19 +00:00
Mike McQuaid
8acb03b0f1
Merge pull request #17052 from toobuntu/relax-display-times
Allow `--display-times` with `--cask`
2024-04-09 09:36:30 +01:00
Todd Schulman
827f475851 fix: dependencies message; empty formulae return
- All dependencies satisfied message applies to both formulae and casks.
- Trigger the empty formulae return condition only if formulae are present.
2024-04-09 01:50:29 -04:00
Todd Schulman
18e2a37d14 cmd: allow --display-times with --cask 2024-04-09 01:50:29 -04:00
William Woodruff
a99100bb6d
typechecking, clearer env usage
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-08 16:27:18 -04:00
William Woodruff
1881a1f4bc
attestation: more docs
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-08 16:22:57 -04:00
William Woodruff
578c2bc9da
rubocop fixes
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-08 16:21:31 -04:00
William Woodruff
48e39bb51d
attestation: add initial attestation helpers
Adds the basic attestation verification APIs, as well
as a pre-pour check against `HOMEBREW_VERIFY_ATTESTATIONS`
that verifies the attestation (or backfill as necessary)
for bottles from homebrew-core.

Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-08 16:18:15 -04:00
Mike McQuaid
cb42d2769c
Merge pull request #17048 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.63.0
build(deps-dev): bump rubocop from 1.62.1 to 1.63.0 in /Library/Homebrew
2024-04-08 20:09:31 +01:00
Douglas Eichelberger
c404dd9a05 Update tapioca config 2024-04-08 11:58:34 -07:00
Mike McQuaid
8baed211a7
brew style --fix 2024-04-08 19:23:33 +01:00
BrewTestBot
4de2b56e72
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-04-08 18:17:05 +00:00
BrewTestBot
4a59c45fa4
brew vendor-gems: commit updates. 2024-04-08 18:16:36 +00:00
dependabot[bot]
f322be0f1a
build(deps-dev): bump rubocop from 1.62.1 to 1.63.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.62.1 to 1.63.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.62.1...v1.63.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 18:15:45 +00:00
Mike McQuaid
56fc9a1fb2
Merge pull request #17047 from Homebrew/block-params
Prefer numbered block params over proc conversion, cont'd
2024-04-08 19:13:01 +01:00
Ruoyu Zhong
a673589389
Merge pull request #17046 from Homebrew/sponsors-maintainers-man-completions
Update maintainers.
2024-04-09 01:06:43 +08:00
Douglas Eichelberger
c59d9fa833 Prefer numbered block params over proc conversion, cont'd 2024-04-08 09:47:27 -07:00
BrewTestBot
39b429aa4b
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-04-08 16:35:04 +00:00
Mike McQuaid
3c910b94c1
Merge pull request #17037 from Homebrew/more_forbidden
Add more `HOMEBREW_FORBIDDEN_*` configuration
2024-04-08 17:33:47 +01:00
Mike McQuaid
1474806527
Add more HOMEBREW_FORBIDDEN_* configuration
We already had `HOMEBREW_FORBIDDEN_LICENSES` but this commit adds
`HOMEBREW_FORBIDDEN_CASKS`, `HOMEBREW_FORBIDDEN_FORMULAE` and
`HOMEBREW_FORBIDDEN_TAPS` for also forbidding those.

Relatedly, add `HOMEBREW_FORBIDDEN_OWNER` and
`HOMEBREW_FORBIDDEN_OWNER_CONTACT` to allow customising these
messages.

There were no existing tests for `HOMEBREW_FORBIDDEN_LICENSES` so have
added more tests for all of these checks.

Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-04-08 16:38:32 +01:00
Mike McQuaid
0e9b2e3da1
Merge pull request #17043 from Homebrew/bump_cask_pr_content_loader
dev-cmd/bump-cask-pr: use FromContentLoader when relevant.
2024-04-08 14:19:53 +01:00
Mike McQuaid
3e7386f8b8
Merge pull request #17045 from Homebrew/help_description
cmd/help: add description and arguments.
2024-04-08 14:19:39 +01:00
Mike McQuaid
5c48226018
cmd/help: add description and arguments.
This allows an accurate manpage description of `brew help`.

Also commit the various other required changes to completions and
manpage.
2024-04-08 13:35:25 +01:00
Mike McQuaid
27f47bafbc
dev-cmd/bump-cask-pr: use FromContentLoader when relevant.
When loading from `tmp_contents` in `bump-cask-pr` we're always loading
from the contents and not from a e.g. filename etc. As a result, skip
the detection of the correct loader (as the regex can be a bit flaky)
and instead use `FromContentLoader` directly.
2024-04-08 13:25:59 +01:00