32621 Commits

Author SHA1 Message Date
Caleb Xu
4b0e950736
utils/path: add child_of? method 2024-04-13 19:35:29 -04:00
Ruoyu Zhong
4820c47bf0
github_runner_matrix: simplify
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-04-14 00:02:37 +08:00
Ruoyu Zhong
3c3ee46f08
github_runner_matrix: increase timeout for self-hosted 12-x86_64
It is usually slower than other Intel runners and has timed out more
often recently.
2024-04-13 20:09:40 +08:00
BrewTestBot
c5d55ae0dc
brew vendor-gems: commit updates. 2024-04-12 17:25:39 +00:00
dependabot[bot]
8226c02803
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.11340 to 0.5.11342
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11340 to 0.5.11342
- [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-12 17:24:50 +00:00
Mike McQuaid
4861c6fff0
Merge pull request #17076 from willfaught/master
cmd, cask: info prints whether installed
2024-04-12 18:02:27 +01:00
Will Faught
29c561eb59 Use newlines in package info 2024-04-12 09:52:37 -07:00
Will Faught
661f78e9c1
Update Library/Homebrew/cmd/tap-info.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-04-12 09:49:33 -07:00
Mike McQuaid
c683e011b8
Merge pull request #17049 from trail-of-forks/ww/attestation
attestation: add initial attestation helpers, integrate into `brew install`
2024-04-12 15:52:51 +01:00
William Woodruff
1607d04ad2
test: add Bottle#filename test
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-12 10:41:55 -04:00
Carlo Cabrera
b16112f8b8
Merge pull request #17075 from alebcay/cmake-disable-fetchcontent
formula: add FETCHCONTENT_FULLY_DISCONNECTED to std_cmake_args
2024-04-12 22:37:19 +08:00
William Woodruff
faa00c8c79
handle backfilled attestation subjects correctly
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-11 16:44:57 -04:00
Issy Long
4f85192a6b
Merge pull request #17074 from Homebrew/envconfig-alphabetize
Alphabetize `EnvConfig::ENVS`
2024-04-11 20:33:34 +01:00
William Woodruff
e2b5d93198
more attestation coverage
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-11 13:39:13 -04:00
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