33172 Commits

Author SHA1 Message Date
dependabot[bot]
eda76f8bfe
build(deps): bump sorbet-runtime in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.11553 to 0.5.11554.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-04 16:53:21 +00:00
Bo Anderson
558e9bac55
startup/bootsnap: base key on in install state rather than projection 2024-09-04 14:54:15 +01:00
Mike McQuaid
f5c29caeac
Revert "build(deps-dev): bump logger from 1.6.0 to 1.6.1 in /Library/Homebrew" 2024-09-04 09:48:46 +01:00
Mike McQuaid
3dda8771f1
Merge pull request #18230 from Homebrew/dependabot/bundler/Library/Homebrew/logger-1.6.1 2024-09-04 08:53:19 +01:00
Mike McQuaid
628362f41c
Merge pull request #18242 from Homebrew/x-access-token 2024-09-04 08:43:47 +01:00
dependabot[bot]
83d0d959db
build(deps-dev): bump logger from 1.6.0 to 1.6.1 in /Library/Homebrew
Bumps [logger](https://github.com/ruby/logger) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/ruby/logger/releases)
- [Commits](https://github.com/ruby/logger/compare/v1.6.0...v1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-04 07:42:35 +00:00
Mike McQuaid
cbd85d3b05
Merge pull request #18241 from cho-m/licenses-length 2024-09-04 08:42:12 +01:00
Bo Anderson
176ec0c6aa
utils/github: use x-access-token 2024-09-04 06:14:32 +01:00
Bo Anderson
99ce3094e9
Invalidate Bootsnap cache on Gemfile.lock changes 2024-09-04 04:05:10 +01:00
Michael Cho
e7f01653ae
github_packages: use full license only if within limit 2024-09-03 23:03:00 -04:00
Patrick Linnane
0b3d78aa0f
Merge pull request #18237 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.32.2 2024-09-03 11:38:14 -07:00
BrewTestBot
5209898784
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-09-03 18:26:35 +00:00
BrewTestBot
047d1111bd
Update RBI files for rspec-core.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-09-03 18:26:31 +00:00
BrewTestBot
65941ac30b
brew vendor-gems: commit updates. 2024-09-03 18:26:17 +00:00
BrewTestBot
9fa23fe69d
brew vendor-gems: commit updates. 2024-09-03 18:26:11 +00:00
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
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
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
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
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
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
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
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
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
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
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