40981 Commits

Author SHA1 Message Date
Mike McQuaid
712ca361d7
dev-cmd/bump*: improve autobump messaging.
Let's make it clearer _why_ autobumped PRs cannot be submitted by humans
and, while we're here, similarly for disabled/head-only packages.
2024-05-31 10:23:13 +01:00
Mike McQuaid
fbe4704144
Merge pull request #17397 from Homebrew/github_annotations_stderr
Output GitHub warning/error annotations to stderr
2024-05-31 09:45:49 +01:00
Mike McQuaid
61e398cd05
Merge pull request #17396 from Homebrew/fetch_linux_bottles_macos
os/mac: fix fetching Linux bottles on macOS
2024-05-31 09:44:14 +01:00
Mike McQuaid
01152a266c
Merge pull request #17388 from krehel/audit-nested-containers-fix
cask/audit: fix nested container extraction
2024-05-31 09:34:26 +01:00
Mike McQuaid
e573a53868
Output GitHub warning/error annotations to stderr
This will mean e.g. `opoo` etc. will output to stdout and not end up
being in the stdout of `brew deps` etc.

While we're here, remove a duplicate annotation output I noticed in
`extend/kernel.rb`.

Inspired by conversation in:
https://github.com/Homebrew/homebrew-test-bot/issues/1082
2024-05-31 09:31:44 +01:00
Mike McQuaid
4215603daf
os/mac: fix fetching Linux bottles on macOS
Closes #17375.
Closes #17376 (as it replaces it).
2024-05-31 09:25:42 +01:00
Carlo Cabrera
968d56cb7a
Merge pull request #17394 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.14.3 2024-05-31 05:47:47 +08:00
BrewTestBot
e32b98c7b4
Update RBI files for tapioca.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-05-30 18:32:25 +00:00
BrewTestBot
b391fe7b1d
brew vendor-gems: commit updates. 2024-05-30 18:32:09 +00:00
dependabot[bot]
f8800a5735
build(deps-dev): bump tapioca from 0.14.2 to 0.14.3 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.14.2 to 0.14.3.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.14.2...v0.14.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 18:31:15 +00:00
Patrick Linnane
cb3101c8b7
Merge pull request #17393 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.178.0 2024-05-30 09:25:59 -07:00
Patrick Linnane
def2f92b41
Merge pull request #17392 from Homebrew/dependabot/bundler/Library/Homebrew/json_schemer-2.3.0 2024-05-30 09:24:44 -07:00
BrewTestBot
e7eb32caf6
Update RBI files for json_schemer.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-05-30 16:13:39 +00:00
BrewTestBot
bca1bd4216
brew vendor-gems: commit updates. 2024-05-30 16:13:24 +00:00
dependabot[bot]
336abf239a
build(deps): bump ruby/setup-ruby from 1.177.1 to 1.178.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.177.1 to 1.178.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](943103cae7...0cde4689ba)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 16:12:36 +00:00
dependabot[bot]
9ff907587a
build(deps-dev): bump json_schemer in /Library/Homebrew
Bumps [json_schemer](https://github.com/davishmcclurg/json_schemer) from 2.2.1 to 2.3.0.
- [Changelog](https://github.com/davishmcclurg/json_schemer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: json_schemer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 16:12:31 +00:00
Mike McQuaid
443e4e5dac
Merge pull request #17387 from Homebrew/dependabot/bundler/Library/Homebrew/multi-8dc932cc2b
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-05-29 17:17:47 +01:00
Justin Krehel
700cbd893b
cask/audit: fix nested container extraction
Fixes edge cases where nested containers are used. Extraction for auditing artifacts did not pull the secondary container, which tried to audit the container instead of the contents.
2024-05-29 11:38:25 -04:00
BrewTestBot
076639c590
brew vendor-gems: commit updates. 2024-05-29 15:05:23 +00:00
dependabot[bot]
b3e9d58f1f
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.11391 to 0.5.11394
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11391 to 0.5.11394
- [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-05-29 15:04:22 +00:00
Mike McQuaid
d1daf1f7e3
Merge pull request #17384 from Homebrew/gcc-dep-nghttp2
formula_auditor: add exemption for `nghttp2`
2024-05-29 12:50:44 +01:00
Carlo Cabrera
4be3f8e467
formula_auditor: add exemption for nghttp2
Needed for Homebrew/homebrew-core#171634 due to nghttp2/nghttp2#2194.
2024-05-29 16:31:59 +08:00
Carlo Cabrera
cd65109487
Merge pull request #17383 from Homebrew/fix-contributions-date-limiting 2024-05-28 21:21:03 +08:00
Issy Long
1f9c764a69
dev-cmd/contributions: Pass from correctly through count_reviews too 2024-05-28 14:10:25 +01:00
Issy Long
808cfda92d
dev-cmd/contributions: Fix the date range behaviour
- This was broken (I did have a commit SHA for the breakage but I can't find it now) since `from` and `args.from` are different variables (one can be nil, the other has a default value).
- So it was reporting very high counts because, despite the message, the `from` restriction was not being passed to `count_repo_commits`.
2024-05-28 13:58:41 +01:00
Daiki Mizukami
b4dcb94ad6
Utils::Cp: Drop special case for coreutils cp
As per review feedback:

https://github.com/Homebrew/brew/pull/17373#issuecomment-2132673915
2024-05-28 12:34:30 +09:00
Mike McQuaid
92adf6a0b7
Merge pull request #17377 from samford/cask-audit-rework-tmpdir-removal
cask/audit: Rework tmpdir removal
2024-05-27 19:11:36 +01:00
Sam Ford
e2220ecc42
cask/audit: Rework tmpdir removal
I previously introduced a finalizer method in `Cask::Audit` to remove
the created `@tmpdir` once it's no longer needed but the existing
approach produces a `finalizer references object to be finalized`
warning when `brew audit` is run. I didn't see this warning when I
was originally testing it but now it reliably appears.

This reworks the finalizer to define it within the
`#extract_artifacts` method and use `@tmpdir` as the target object.
2024-05-27 13:09:46 -04:00
Mike McQuaid
44d0d64e79
Merge pull request #17357 from Homebrew/brew_style_actionlint
style: run actionlint.
2024-05-27 15:41:30 +01:00
Mike McQuaid
7d0ac4dd4b
style: run actionlint.
It feels nice to also be running this as part of `brew style` checks
and, indirectly, `brew test-bot` tap syntax checks.

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-05-27 15:30:04 +01:00
Carlo Cabrera
ff83a4fd7f
Merge pull request #17280 from Homebrew/timeout-values 2024-05-27 21:38:07 +08:00
Daiki Mizukami
942906b74a
Utils::Cp: Use cp from macOS 2024-05-27 18:10:46 +09:00
Daiki Mizukami
b8af1c546e
Utils::Cp: Fix tests 2024-05-27 17:48:32 +09:00
Mike McQuaid
91affd113e
Merge pull request #17366 from Aaron-212/disable-osdn-url
Audit: disable OSDN urls
2024-05-27 08:19:57 +01:00
Mike McQuaid
ed73551cc7
cask/audit: remove debug message. 2024-05-27 08:10:20 +01:00
Aaron Ruan
10987270fa
remove unnecessary cask osdn-incorrect-url-format 2024-05-27 12:33:23 +08:00
Aaron Ruan
ae851a7aa4
seperate audit for osdn url 2024-05-27 12:22:48 +08:00
Daiki Mizukami
deaac7ce47
Use Utils::Cp to copy files
This replaces `FileUtils.cp` and `system_command! "cp"` with the new
`Utils::Cp` utility where it is expected that the performance
improvement outweighs the cost of the system command invocation.
2024-05-27 12:11:41 +09:00
Daiki Mizukami
b905959a99
Add Utils::Cp for interacting with cp command
This module determines the `cp` command to use based on availability of
the `coreutils` formula and optimizes the command invocation to prefer a
lightweight copy-on-write clone, which is significantly faster than a
full file copy and helps to reduce the risk of exhausting the storage
during the operation.
2024-05-27 12:11:38 +09:00
Aaron Ruan
7b21cc1856
fix typecheck 2024-05-27 09:32:54 +08:00
Ruoyu Zhong
9fdb0d5399
Merge pull request #17372 from Homebrew/sorbet-files-update 4.3.2 2024-05-27 09:24:25 +08:00
BrewTestBot
3cb7cecc39
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-05-27 00:21:11 +00:00
Patrick Linnane
7aa10a13a4
brew style --fix
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-05-26 16:03:03 -07:00
Aaron Ruan
0778379501
change tests for auditing OSDN download urls 2024-05-27 00:34:08 +08:00
Aaron Ruan
73ead3e5f5
match with url host instead of string 2024-05-27 00:26:35 +08:00
Carlo Cabrera
a91c758086
Merge pull request #17370 from Homebrew/sbom_all_bottles_fix 2024-05-27 00:00:14 +08:00
Mike McQuaid
6bd0823f7e
sbom: fix dependency bottle information in SBOM.
This breaks the possibility for some `:all` bottle creation if they
reference a non-`:all` bottle as a dependency.

Instead, omit this information in the bottle and generate it only at
install time.
2024-05-26 16:48:48 +01:00
Mike McQuaid
cb168dfe6d
Merge pull request #17369 from Homebrew/revert-17364-revert-autoremove
Revert "Revert "Enable HOMEBREW_AUTOREMOVE by autoremove_default""
2024-05-26 15:52:32 +01:00
Mike McQuaid
ba6ec7066b
Revert "Revert "Enable HOMEBREW_AUTOREMOVE by autoremove_default"" 2024-05-26 15:39:45 +01:00
Mike McQuaid
610b80e637
Merge pull request #17368 from Homebrew/fix/sbom/no_error_missing_validation
fix: allow not validating SBOM
2024-05-26 15:39:05 +01:00