Caleb Xu
60d9e63ae4
formula: add FETCHCONTENT_FULLY_DISCONNECTED to std_cmake_args
2024-04-11 13:03:33 -04:00
Issy Long
dd5ea99f58
Alphabetize EnvConfig::ENVS and regenerate docs
2024-04-11 17:58:08 +01:00
Issy Long
c72598d937
Test that EnvConfig::ENVS hash keys are alphabetical
...
- Spoiler: they aren't.
- As part of Volunteer Month at work I introduced `hharen` to contributing to
Homebrew, `cd $(brew --repo)`, `brew tests`, `brew style`, etc.
- We started to write a RuboCop for this. But my current thinking is that this
test might be sufficient since it might be easier to notice "oop, a test is
failing and I've added a new envvar" and re-alphabetize it than to write a
RuboCop linter for it to do the one-time autofix. Considering how little this
gets changed?
Co-authored-by: Hana <hharen@github.com>
2024-04-11 17:58:08 +01:00
Mike McQuaid
c4f2f06675
dev-cmd/tests: fix when euid != uid.
...
Otherwise you get:
`ruby: no -r allowed while running setuid (SecurityError)`
2024-04-11 17:26:38 +01:00
Michael Cho
514059da4b
keg: mkpath on main postgresql@X directories
...
Fix logic in #16966 as it only matched subdirectories
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-11 10:26:28 -04:00
Ruoyu Zhong
8083e2da00
Merge pull request #17069 from Homebrew/dependabot/bundler/Library/Homebrew/multi-9fd3e7b46a
...
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-04-11 21:12:39 +08:00
BrewTestBot
67dc14e2ce
brew vendor-gems: commit updates.
2024-04-11 12:54:13 +00:00
BrewTestBot
bd4026b6c1
brew vendor-gems: commit updates.
2024-04-11 12:54:02 +00:00
dependabot[bot]
3d49656023
build(deps-dev): bump rubocop-rspec_rails in /Library/Homebrew
...
Bumps [rubocop-rspec_rails](https://github.com/rubocop/rubocop-rspec_rails ) from 2.28.2 to 2.28.3.
- [Release notes](https://github.com/rubocop/rubocop-rspec_rails/releases )
- [Changelog](https://github.com/rubocop/rubocop-rspec_rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-rspec_rails/compare/v2.28.2...v2.28.3 )
---
updated-dependencies:
- dependency-name: rubocop-rspec_rails
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-11 12:53:25 +00:00
dependabot[bot]
baa5e65e1f
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.11338 to 0.5.11340
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11338 to 0.5.11340
- [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-11 12:53:12 +00:00
Will Faught
4e7d128604
cmd, cask: info prints whether installed
2024-04-10 19:02:09 -07:00
William Woodruff
480e48b75d
attestation_spec: simplify gh_executable test
...
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-10 18:02:56 -04:00
William Woodruff
990b7d77d6
attestation: fix a missing arg, add initial specs
...
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-10 17:57:01 -04:00
Patrick Linnane
2f58aaa285
Merge pull request #17066 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.63.1
2024-04-10 09:51:21 -07:00
BrewTestBot
45f7634b69
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-10 16:39:03 +00:00
BrewTestBot
66216afccb
brew vendor-gems: commit updates.
2024-04-10 16:38:35 +00:00
dependabot[bot]
ce84478600
build(deps-dev): bump rubocop from 1.63.0 to 1.63.1 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.63.0 to 1.63.1.
- [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.63.0...v1.63.1 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 16:37:44 +00:00
BrewTestBot
766e5b4f20
brew vendor-gems: commit updates.
2024-04-10 16:37:05 +00:00
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
Bo Anderson
073e35d4ba
dev-cmd/generate-*-api: ensure title is a string
2024-04-10 04:51:23 +01:00
Patrick Linnane
ad9a4cf124
Merge pull request #17058 from Homebrew/dependabot/bundler/Library/Homebrew/multi-47a2f46e49
2024-04-09 10:00:37 -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
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
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
Douglas Eichelberger
c59d9fa833
Prefer numbered block params over proc conversion, cont'd
2024-04-08 09:47:27 -07: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
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