42330 Commits

Author SHA1 Message Date
Issy Long
a6596c969f
Test the shell_output single string edge case 2024-07-25 10:41:13 +01:00
Bo Anderson
5edcaf3f06
Merge pull request #17774 from branchvincent/std_npm_args
formula: add `std_npm_args`
2024-07-25 05:41:19 +01:00
Bo Anderson
eda3039b2d
Merge pull request #17852 from Homebrew/software-spec-error-clarify
software_spec: remove confusing missing version error
2024-07-25 04:47:54 +01:00
Bo Anderson
e6348b186f
Merge pull request #17851 from Homebrew/misconfigured-nss-fix
utils/github/api: handle systems with misconfigured NSS
2024-07-25 04:47:43 +01:00
Bo Anderson
a4b65647ae
Merge pull request #17844 from samford/version-loosen-debian-regex
version: loosen Debian orig tarball regex
2024-07-25 04:47:32 +01:00
Ruoyu Zhong
fa63211acf
Merge pull request #17850 from Homebrew/repository-prefix-fix
cmd/--repository: fix homebrew- prefix handling
2024-07-25 09:54:37 +08:00
Bo Anderson
d39a3a3030
Merge pull request #17788 from Homebrew/more-sorbet-strict
sorbet: Bump more files to `typed: strict`
2024-07-25 02:23:23 +01:00
Bo Anderson
bbdf52cdc6
software_spec: remove confusing missing version error 2024-07-25 02:17:27 +01:00
Bo Anderson
40ca1de617
utils/github/api: handle systems with misconfigured NSS 2024-07-25 01:57:06 +01:00
Bo Anderson
38987be01f
cmd/--repository: fix homebrew- prefix handling 2024-07-25 01:42:53 +01:00
Patrick Linnane
e44adc2c50
Merge pull request #17849 from bevanjkay/rosetta-regression 2024-07-24 17:09:28 -07:00
Bevan Kay
b633dfd5a5
cask/dsl/caveats: fix conditional 2024-07-25 09:40:29 +10:00
Issy Long
6ad0ebd5b4
env_config: Tighten hash types some more
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-07-24 23:16:58 +01:00
Issy Long
ace23ce735
Make the bin starts_with method its own thing as it needs more args
- I couldn't get
  https://docs.rubocop.org/rubocop-ast/node_pattern.html#param_name-for-named-parameters
  to work like it said it should (bad syntax in the node_matcher, apart
  from with `bin = false` which RuboCop complained about boolean args not
  being named), so here's a workaround.
2024-07-24 22:41:26 +01:00
Issy Long
3713939e0d
rubocops/text: Include dashed binaries in bin/ interpolation check
- Previously this only included the formula name.
- But, for example in tests, we have "#{bin}/ansible-test",
  not just "#{bin}/ansible". So handle that too.
- I decided to make the error message better by extracting the
  binary name from the interpolation, but I'm not sure it was worth it.

```
$ brew audit --strict ansible
ansible
  * line 580, col 29: Use `bin/"ansible-test"` instead of `"#{bin}/ansible-test"`
Error: 1 problem in 1 formula detected.
```
2024-07-24 22:19:38 +01:00
Patrick Linnane
cc32d08c41
Merge pull request #17846 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11493 2024-07-24 10:55:34 -07:00
BrewTestBot
446d0f7b44
brew vendor-gems: commit updates. 2024-07-24 17:44:01 +00:00
dependabot[bot]
054101529e
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11492 to 0.5.11493.
- [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-07-24 17:42:25 +00:00
Sam Ford
2cd95d482d
version: loosen Debian orig tarball regex
The regex to match Debian `orig` tarballs uses the standard regex for
versions like `1.2.3` but it won't match versions without a dot. The
`lcrack` formula uses a date-based version in the filename
(`lcrack_20040914.orig.tar.gz`) and `mkcue` uses a single number
(`mkcue_1.orig.tar.gz`), so we have to use a manual `version` in
these formulae.

This updates the regex to use the looser `NUMERIC_WITH_OPTIONAL_DOTS`
pattern, which will also match the aforementioned versions. I tested
this by checking versions of formulae before/after this change and
confirming that they remain the same after removing the `version`
calls from related formulae.
2024-07-24 11:39:09 -04:00
Carlo Cabrera
cfb4bf7670
Merge pull request #17841 from Homebrew/debrew-disable 2024-07-24 12:45:15 +02:00
Bo Anderson
93dbb9593d
Add env to disable Debrew 2024-07-24 06:16:18 +01:00
Bo Anderson
8e8ce4a2f7
Merge pull request #17835 from Homebrew/system_command-ebadf
system_command: fix EBADF on Ctrl+C
2024-07-23 20:32:35 +01:00
Carlo Cabrera
a0bd54c9a6
Merge pull request #17836 from Homebrew/git-advice 2024-07-23 20:45:11 +02:00
Bo Anderson
1ce88d4992
cmd/update: silence git advice where possible 2024-07-23 18:54:05 +01:00
Bo Anderson
5ab907f2fa
system_command: fix EBADF on Ctrl+C 2024-07-23 18:48:42 +01:00
William Woodruff
7b90452349
Merge pull request #17834 from Homebrew/attestation-backfill-404 2024-07-23 12:41:09 -04:00
Sean Molenaar
37df6fb424
Update docker.yml 2024-07-23 18:30:39 +02:00
Sean Molenaar
a9ca20dff5
Update docker.yml 2024-07-23 18:12:49 +02:00
Sean Molenaar
a7cd227469
fix: add debug info 2024-07-23 18:06:03 +02:00
Bo Anderson
131b930d89
attestation: only fallback to backfill on 404 2024-07-23 16:59:52 +01:00
Sean Molenaar
53fd88966e
Update .github/workflows/docker.yml 2024-07-23 17:59:52 +02:00
Patrick Linnane
f56747b6c4
Merge pull request #17832 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11492 2024-07-23 08:24:06 -07:00
Ruoyu Zhong
4285ca6b9f
Merge pull request #17830 from Homebrew/dependabot/bundler/Library/Homebrew/public_suffix-6.0.1
build(deps): bump public_suffix from 6.0.0 to 6.0.1 in /Library/Homebrew
2024-07-23 23:04:16 +08:00
William Woodruff
501dc787f0
Apply suggestions from code review
Co-authored-by: Patrick Linnane <patrick@linnane.io>
2024-07-23 10:55:56 -04:00
BrewTestBot
688b16ee4c
brew vendor-gems: commit updates. 2024-07-23 14:54:21 +00:00
BrewTestBot
35a5ddb51d
brew vendor-gems: commit updates. 2024-07-23 14:52:58 +00:00
dependabot[bot]
da2045045c
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11491 to 0.5.11492.
- [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-07-23 14:51:36 +00:00
dependabot[bot]
db367007a1
build(deps): bump public_suffix from 6.0.0 to 6.0.1 in /Library/Homebrew
Bumps [public_suffix](https://github.com/weppos/publicsuffix-ruby) from 6.0.0 to 6.0.1.
- [Changelog](https://github.com/weppos/publicsuffix-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/weppos/publicsuffix-ruby/compare/v6.0.0...v6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 14:50:44 +00:00
Bo Anderson
feaa98f0bd
Merge pull request #17829 from Homebrew/apache-attic
download_strategy: fix handling of Apache projects moved to Attic
2024-07-23 15:47:32 +01:00
Bo Anderson
577f99baac
download_strategy: fix handling of Apache projects moved to Attic 2024-07-23 15:27:37 +01:00
Sean Molenaar
467645a511
fix: add permissions for docker attestation 2024-07-23 15:05:59 +02:00
Sean Molenaar
cd7660814d
feat: add docker attestation 2024-07-23 08:59:03 -04:00
Sean Molenaar
d6bcdffe97
feat: add attestation to installer 2024-07-23 14:46:15 +02:00
Issy Long
96400e01e1
rubocops/text: Enforce bin/"formula" instead of "#{bin}/formula" 2024-07-23 12:43:15 +01:00
Issy Long
fdb661e2b9
cask/info: Bump to Sorbet typed: strict 2024-07-22 22:11:17 +01:00
Patrick Linnane
6b4e7bb2d0
Merge pull request #17824 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.188.0 2024-07-22 08:27:08 -07:00
dependabot[bot]
13ea729b87
build(deps): bump ruby/setup-ruby from 1.187.0 to 1.188.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.187.0 to 1.188.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](161cd54b69...50ba3386b0)

---
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-07-22 15:13:07 +00:00
Kevin
62ebd31942
Merge pull request #17822 from chenrui333/resource_auditor-require
resource_auditor: add missing require
2024-07-20 15:10:27 -07:00
Rui Chen
59633979dd
resource_auditor: add missing require
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-07-20 14:48:49 -04:00
Patrick Linnane
3914d29313
Merge pull request #17818 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11491 2024-07-20 09:13:16 -07:00