41367 Commits

Author SHA1 Message Date
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
Mike McQuaid
7be26329c5
Apply suggestions from code review 2024-05-26 15:28:53 +01:00
Sean Molenaar
fdb347c35f
Update Library/Homebrew/sbom.rb
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-05-26 13:20:04 +02:00
Sean Molenaar
9d75d09a82
fix: allow not validating SBOM 2024-05-26 13:16:43 +02:00
Aaron Ruan
7da9ea07d0
fix style 2024-05-26 17:00:42 +08:00
Aaron Ruan
2fcbff8ee2
disable osdn.jp URL 2024-05-26 16:51:44 +08:00
Patrick Linnane
9e2ff327eb
Merge pull request #17365 from Homebrew/sorbet-files-update 2024-05-25 19:11:15 -07:00
BrewTestBot
40b7ed93ff
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2024-05-26 00:22:41 +00:00
Patrick Linnane
f26fa34232
Merge pull request #17364 from Homebrew/revert-autoremove 2024-05-25 10:11:07 -07:00
Carlo Cabrera
ffd6c1f5c3
Revert "Enable HOMEBREW_AUTOREMOVE by autoremove_default"
`autoremove` is destructive, and it can be difficult for users to
recover from it occuring when they weren't expecting it.

Fixes #17363
Fixes Homebrew/discussions#5395

This reverts commit 3d114161b3c3f1a95b94e8530f5bc45bb44bbbd9.
This reverts commit efb14a0ec264c4ef408dbbd5330905dd230e979c.
2024-05-25 23:19:42 +08:00
Mike McQuaid
f1a7d971f2
Merge pull request #17359 from Homebrew/update_dependabot
dependabot.yml: consistency updates.
2024-05-24 20:34:46 +01:00
Mike McQuaid
5b6d47f2ea
dependabot.yml: consistency updates.
Let's update this to be more consistent with the other `dependabot.yml`
files in the Homebrew organization.
2024-05-24 20:24:15 +01:00
Mike McQuaid
545f17e3b6
Merge pull request #17361 from Homebrew/dependabot/bundler/Library/Homebrew/warning-1.4.0
build(deps): bump warning from 1.3.0 to 1.4.0 in /Library/Homebrew
2024-05-24 19:26:08 +01:00
Mike McQuaid
64dda2f7a8
Merge pull request #17360 from Homebrew/dependabot/bundler/Library/Homebrew/multi-52781a4512
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-05-24 19:25:34 +01:00
BrewTestBot
d60b14d1a3
Update RBI files for warning.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-05-24 18:15:19 +00:00