41717 Commits

Author SHA1 Message Date
Carlo Cabrera
eca9a0d201
list.sh: simplify
We don't need to output an intermediate `LS_ERRORED` string to exit in
case that `ls` errors out.
2024-09-01 10:36:22 +08:00
Carlo Cabrera
21443e60e4
Merge pull request #18218 from Homebrew/sponsors-maintainers-man-completions 2024-09-01 08:30:15 +08:00
BrewTestBot
50847617b7
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-09-01 00:08:40 +00:00
Carlo Cabrera
64e0c58c5c
Merge pull request #18217 from samford/adjust-typing-around-check_pull_requests 2024-09-01 04:57:39 +08:00
Sam Ford
24ac6967ba
Adjust typing around #check_pull_requests
`brew bump-formula-pr` is encountering a type error, as the inferred
return type of `GitHub#check_for_duplicate_pull_requests` doesn't
align with the explicit return type of `#check_pull_requests`:

```
Error: Return value: Expected type T.nilable(T::Array[String]), got
  type Module with value T::Private::Types::Void::VOID
Caller: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/
  bump-formula-pr.rb:137
Definition: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/
  dev-cmd/bump-formula-pr.rb:472 (Homebrew::DevCmd::BumpFormulaPr
  #check_pull_requests)
```

This addresses the issue by adding a type signature with a `void`
return type to `#check_for_duplicate_pull_requests` and setting the
return type of `#check_pull_requests` to `void` as well. The return
type from `#check_pull_requests` isn't used, so a `void` return type
is arguably a better reflection of the method's behavior. The
`#check_pull_requests` method in `BumpCaskPr` has a `void` return
type, so this change brings the `BumpFormulaPr` method in line.
2024-08-31 16:42:43 -04:00
Carlo Cabrera
7b067dca52
Merge pull request #18215 from Homebrew/dependabot/github_actions/artifacts-8a3b30e1aa 2024-08-31 23:34:03 +08:00
dependabot[bot]
521953835b
build(deps): bump actions/upload-artifact in the artifacts group
Bumps the artifacts group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 4.3.6 to 4.4.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](834a144ee9...50769540e7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: artifacts
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 15:16:59 +00:00
Patrick Linnane
0ac568bb97
Merge pull request #18212 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11553 2024-08-30 13:16:15 -07:00
Issy Long
b168d918eb
Merge pull request #18211 from Homebrew/devcontainer-fix-codespaces-permissions 2024-08-30 21:13:45 +01:00
BrewTestBot
b812954d16
brew vendor-gems: commit updates. 2024-08-30 20:04:05 +00:00
dependabot[bot]
c32e93bbdf
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11551 to 0.5.11553.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 20:02:31 +00:00
Patrick Linnane
ee41b68aa9
Merge pull request #18208 from Homebrew/dependabot/bundler/Library/Homebrew/prism-1.0.0 2024-08-30 13:00:12 -07:00
Issy Long
1d22b83363
devcontainer: Fix Codespace repository permissions
As pointed out in 8b3be30a83 (r146048190) (thank you, @noahsettersten!), this was nested wrong. JSON is hard!
2024-08-30 20:54:48 +01:00
BrewTestBot
558d785e83
Update RBI files for prism.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-08-30 19:48:10 +00:00
BrewTestBot
372f34a8d6
brew vendor-gems: commit updates. 2024-08-30 19:47:36 +00:00
dependabot[bot]
f23476e023
build(deps-dev): bump prism from 0.30.0 to 1.0.0 in /Library/Homebrew
Bumps [prism](https://github.com/ruby/prism) from 0.30.0 to 1.0.0.
- [Release notes](https://github.com/ruby/prism/releases)
- [Changelog](https://github.com/ruby/prism/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ruby/prism/compare/v0.30.0...v1.0.0)

---
updated-dependencies:
- dependency-name: prism
  dependency-type: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 18:04:53 +00:00
Mike McQuaid
76543a99d3
Merge pull request #18206 from Homebrew/improve_github_check_for_duplicate_pull_requests 2024-08-30 16:08:06 +01:00
Mike McQuaid
fe909c41b8
Improve duplicate pull request handling
- change the messaging depending on how confident we are that we're
  actually looking at duplicates i.e. we're not confident without a
  version number supplied
- similarly, just warn instead of failing with an error (and no
  override) if we're not confident that we're looking at duplicates
  because a version wasn't supplied
- change `bump-cask-pr` and `bump-formula-pr` to always check for all
  pull requests with the new version number (to allow failing on this)
  rather than only checking closed pull requests with a version number
- change `bump` to check for definite/maybe duplicate PRs and only
  exit if they are definitely duplicates
- cleanup some variable usage to DRY things up a bit
2024-08-30 14:21:42 +01:00
Mike McQuaid
decc109089
Merge pull request #18188 from Homebrew/better-shellenv 2024-08-30 11:56:07 +01:00
Mike McQuaid
85c9c17ddf
Merge pull request #18197 from xycabcd/patch-2 2024-08-30 07:58:56 +01:00
Ruoyu Zhong
2971755498
Merge pull request #18204 from Homebrew/maintainers.json
workflows: remove references to `maintainers.json`
2024-08-30 11:43:04 +08:00
Carlo Cabrera
e3d295ae12
Merge pull request #18203 from Homebrew/sponsorships-error 2024-08-30 11:13:29 +08:00
Carlo Cabrera
47430fb1cb
workflows: remove references to maintainers.json
This was removed in 7193dc09449f95a538f289807247e0c13d4c7474.
2024-08-30 11:06:23 +08:00
Carlo Cabrera
ed589c0a19
Merge pull request #18202 from Homebrew/fix-sponsorships-query 2024-08-30 11:02:28 +08:00
Carlo Cabrera
c740bef176
utils/github: improve sponsorships error handling
Let's make sure we get the opportunity to print the errors if the query
response doesn't have the form we expected it to take.
2024-08-30 11:00:53 +08:00
Carlo Cabrera
6b8a28bb05
Merge pull request #18201 from Homebrew/rm-graphql-debug 2024-08-30 10:56:39 +08:00
Carlo Cabrera
5897ed80d9
utils/github: fix sponsorships GraphQL query
This fixes the failure in our sponsorships workflow.
2024-08-30 10:50:59 +08:00
Carlo Cabrera
cabbb0b8e3
Remove GraphQL debug output
Let's get this ready to go since we don't want to accidentally leak
private information.
2024-08-30 10:45:19 +08:00
Patrick Linnane
1d71ee8f16
Merge pull request #18199 from Homebrew/remove-miccal-maintainer 2024-08-29 19:33:38 -07:00
Carlo Cabrera
ade587b455
Merge pull request #18200 from Homebrew/graphql-debug
utils/github/api: add debug output for `open_graphql`
2024-08-30 10:31:50 +08:00
Carlo Cabrera
7645484ac3
utils/github/api: add debug output for open_graphql
Our updating sponsors/maintainers/etc workflow is broken.

Let's add some debug output to help me fix it.
2024-08-30 10:15:56 +08:00
Ruoyu Zhong
67398c7728
Merge pull request #18189 from jrschumacher/patch-1
Add note about auditor to How-To-Open-a-Homebrew-Pull-Request.md
2024-08-30 08:45:42 +08:00
miccal
b8ec1bfd5b
Update README.md and manpage 2024-08-30 08:44:31 +08:00
Ryan Schumacher
ff6df8ee56
Update How-To-Open-a-Homebrew-Pull-Request.md
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-08-29 18:45:10 -05:00
Patrick Linnane
46ec1aa4d9
Merge pull request #18193 from Homebrew/dependabot/bundler/Library/Homebrew/thor-1.3.2 2024-08-29 16:14:47 -07:00
BrewTestBot
6031ce22ff
Update RBI files for thor.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-08-29 23:03:10 +00:00
BrewTestBot
f6af1e9d9b
brew vendor-gems: commit updates. 2024-08-29 23:02:56 +00:00
dependabot[bot]
abf98a4743
build(deps-dev): bump thor from 1.3.1 to 1.3.2 in /Library/Homebrew
Bumps [thor](https://github.com/rails/thor) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/rails/thor/releases)
- [Commits](https://github.com/rails/thor/compare/v1.3.1...v1.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 23:00:53 +00:00
Patrick Linnane
2d247f4642
Merge pull request #18192 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11551 2024-08-29 15:54:35 -07:00
BrewTestBot
16b9b75c6a
brew vendor-gems: commit updates. 2024-08-29 22:42:33 +00:00
Ryan Schumacher
b31a9b922e
Apply suggestions from code review
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-08-29 15:55:12 -05:00
Ryan Schumacher
e5a3f0e583
Update docs/How-To-Open-a-Homebrew-Pull-Request.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-08-29 15:54:32 -05:00
Eric Knibbe
1bf48e25e8
Merge pull request #18191 from Homebrew/dependabot/github_actions/github/codeql-action-3.26.6
build(deps): bump github/codeql-action from 3.26.5 to 3.26.6
2024-08-29 15:09:54 -04:00
xycabcd
147cfa46e4
Deleted the duplicated "PWD check" 2024-08-29 14:45:27 -04:00
dependabot[bot]
61c291fa5e
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11549 to 0.5.11551.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 18:30:38 +00:00
dependabot[bot]
c66e5023d3
build(deps): bump github/codeql-action from 3.26.5 to 3.26.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.5 to 3.26.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2c779ab0d0...4dd16135b6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 18:11:07 +00:00
Ryan Schumacher
72f995599d
Update docs/How-To-Open-a-Homebrew-Pull-Request.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-08-29 08:48:45 -05:00
Ryan Schumacher
010304a9a1
Update docs/How-To-Open-a-Homebrew-Pull-Request.md
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-08-29 08:48:39 -05:00
Ryan Schumacher
f119b4a6d0
Added the block for casks 2024-08-29 08:28:18 -05:00
Ryan Schumacher
ff8b3f21f9
Move to appropriate section and resolve lint error 2024-08-29 08:19:34 -05:00