41947 Commits

Author SHA1 Message Date
dependabot[bot]
fd3d360e1a
build(deps-dev): bump rspec-core in /Library/Homebrew
Bumps [rspec-core](https://github.com/rspec/rspec-core) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/rspec/rspec-core/releases)
- [Changelog](https://github.com/rspec/rspec-core/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-core/compare/v3.13.0...v3.13.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 18:12:16 +00:00
dependabot[bot]
d374260918
build(deps-dev): bump rubocop-ast in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.32.1 to 1.32.2.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.32.1...v1.32.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 18:12:02 +00:00
Bo Anderson
8f00fefd1c
Merge pull request #18234 from Homebrew/list.sh-args
list.sh: improve arg parsing, support `brew ls`
2024-09-03 17:47:35 +01:00
Bo Anderson
d9a339b231
list.sh: improve arg parsing, support brew ls 2024-09-03 15:13:15 +01:00
Carlo Cabrera
1981abd959
Merge pull request #18225 from Homebrew/revert-18224-revert-18188-better-shellenv 2024-09-03 16:03:22 +08:00
Mike McQuaid
cbcf04d369
Merge pull request #18231 from fxcoudert/pipe 2024-09-03 08:31:16 +01:00
Carlo Cabrera
23a9c7eef9
Merge pull request #18233 from Homebrew/list.sh-columns 2024-09-03 15:18:18 +08:00
Bo Anderson
e4896f3440
list.sh: support column output 2024-09-03 04:11:29 +01:00
Francois-Xavier Coudert
e0b4ec4eed shims/super/cc: do not pass -pipe 2024-09-02 23:17:21 +02:00
Michael Cho
fafa61852d
Merge pull request #18228 from cho-m/docs-no-deprecated-gcc
docs: remove references to deprecated/disabled GCC formulae
2024-09-02 12:38:01 -04:00
Michael Cho
a548a81040
docs: remove references to deprecated/disabled GCC formulae 2024-09-02 12:03:06 -04:00
Mike McQuaid
46ef75bc8d
Merge pull request #18035 from cho-m/license-audit 2024-09-02 16:28:57 +01:00
Mike McQuaid
9665348b63
Merge pull request #18177 from Homebrew/bottle-created 2024-09-02 16:19:31 +01:00
Michael Cho
24a5aed485
formula_auditor: reject more SPDX licenses
Also require licenses on non-disabled formulae
2024-09-02 10:53:25 -04:00
Michael Cho
a07be232df
dev-cmd/bottle: use iso8601 for compliance with spec 2024-09-02 10:26:37 -04:00
Carlo Cabrera
e6dd9fbd9c
Use tap#autobump 2024-09-02 22:10:05 +08:00
Carlo Cabrera
9d60472090
shellenv: retain user PATH
This is filtered in `brew`, so we need to manually set this to
`HOMEBREW_PATH`.
2024-09-02 21:12:36 +08:00
Carlo Cabrera
07d04dd348
dev-cmd/bump: add --auto flag
This will read from the tap's `.github/autobump.txt` when provided.

See discussion at Homebrew/homebrew-core#183126.
2024-09-02 20:01:16 +08:00
Carlo Cabrera
c9ca7e3257
cmd/shellenv: output the result of path_helper instead
This will save the indirection of `eval`.
2024-09-02 17:36:17 +08:00
Carlo Cabrera
43d10940b9
Revert "Revert "cmd/shellenv: improve for newer macOS using /usr/libexec/path_helper"" 2024-09-02 17:32:05 +08:00
Mike McQuaid
1f9bd2de89
Merge pull request #18224 from Homebrew/revert-18188-better-shellenv 4.3.19 2024-09-02 10:13:29 +01:00
Carlo Cabrera
121624e0c2
Revert "cmd/shellenv: improve for newer macOS using /usr/libexec/path_helper" 2024-09-02 17:02:08 +08:00
Carlo Cabrera
cd5cf4e2c8
Merge pull request #18214 from Homebrew/audit-result-keyword 2024-09-02 16:14:30 +08:00
Carlo Cabrera
c73d08c75b
Update comment re #nil? vs #blank? 2024-09-02 16:02:35 +08:00
Mike McQuaid
cbc39e3240
Merge pull request #18223 from Homebrew/list.sh-fix 2024-09-02 08:50:29 +01:00
Mike McQuaid
8533ec9646
Merge pull request #18219 from Homebrew/simplify-ls 2024-09-02 08:47:02 +01:00
Bo Anderson
a101dfc466
list.sh: fix arg parsing always failing 2024-09-02 05:29:08 +01:00
Ruoyu Zhong
33f53ddb36
Merge pull request #18221 from blazczak/master
Fix SyntaxError introduced by a refactor in bc0f5ee
2024-09-02 05:56:17 +08:00
Adam Blazczak
245c93785a Fix SyntaxError introduced by a refactor in bc0f5ee
$ brew update
==> Updating Homebrew...
To restore the stashed changes to /usr/local/Homebrew, run:
  cd /usr/local/Homebrew && git stash pop
  File "<string>", line 1
    import fcntl; fcntl.flock(, fcntl.LOCK_EX | fcntl.LOCK_NB)
                              ^
SyntaxError: invalid syntax

Introduced on May 2, 2024 with bc0f5ee62a
2024-09-01 10:40:23 -07:00
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
654a58237e
formula: make audit_result a kwarg in inreplace
This allows us to get rid of a RuboCop disable, and will make formulae
easier to read.
2024-09-01 05:05:13 +08: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