41947 Commits

Author SHA1 Message Date
Mike McQuaid
3d31594e39
Merge pull request #17220 from woodruffw-forks/ww/refine-gh-auth
attestations: improve authentication techniques
2024-05-06 08:38:07 +01:00
Carlo Cabrera
34387bfc8a
cask/installer: update to match formula_installer 2024-05-05 14:00:02 +01:00
Carlo Cabrera
3555d09c1d
formula_installer: fix failing test 2024-05-05 13:59:36 +01:00
Issy Long
9f915a6a62
Replace FormulaTextAuditor usage
- Only two audits were using this: `audit_keg_only_reason` and `audit_text`,
  and they weren't using any of its text processing methods, so there's little
  reason to keep it around.
- The "`keg_only_reason` shouldn't contain 'HOMEBREW_PREFIX'" audit can easily
  be replaced with a RuboCop since that's "just" text parsing.
- The "tests should invoke binaries with `bin/<command>`" audit had to stay as
  a FormulaAudit because it requires accessing attributes about the Formula
  like its name, aliases, which RuboCop can't get to, but it was easy to move the
  singular "read the text in the file" line from `FormulaTextAuditor`.
2024-05-04 22:14:55 +01:00
Kevin
7e0c137955
Merge pull request #17227 from Homebrew/tweak-core-tap-warning
tap: tweak core tap warning
2024-05-04 10:37:18 -07:00
apainintheneck
373b7d1dbb tap: tweak core tap warning
Most users don't need the core taps to be installed locally but the
current message doesn't communicate that they're sometimes necessary
for local development. This just tweaks the message to be more
informative.

```console
$ brew tap homebrew/cask
Error: Tapping homebrew/cask is no longer typically necessary.
Add --force if you are sure you need it for local development.
```
2024-05-04 09:59:47 -07:00
Eric Knibbe
3cea82ce1e
Merge pull request #17225 from Homebrew/generate-cask-renames
cmd/generate-cask-api: include cask renames
2024-05-03 22:24:24 -04:00
Eric Knibbe
3d985d082e
cmd/generate-cask-api: include cask renames 2024-05-03 19:16:32 -04:00
Markus Reiter
e39a421bb0
Add resource signature. 2024-05-03 22:29:50 +02:00
Carlo Cabrera
f92b2f21c0
github_runner_matrix: add -x86_64 to Intel runner names
See Homebrew/ci-orchestrator#15.

Needs Homebrew/ci-orchestrator#15.
2024-05-03 20:22:07 +01:00
William Woodruff
7e43e5aafe
attestation_spec: another auth case
Signed-off-by: William Woodruff <william@yossarian.net>
2024-05-03 13:17:31 -04:00
William Woodruff
2aa3d77f72
attestation_spec: fixup
Signed-off-by: William Woodruff <william@yossarian.net>
2024-05-03 13:01:02 -04:00
William Woodruff
18a8b12f7a
attestations: improve authentication techniques
Signed-off-by: William Woodruff <william@yossarian.net>
2024-05-03 12:37:01 -04:00
Carlo Cabrera
1084485c3a
github_runner_matrix: support orchestrator long build queues
This is needed after Homebrew/ci-orchestrator#13.
2024-05-03 16:29:22 +01:00
Carlo Cabrera
5222c9e32d
Improve error message for allowed and forbidden taps 2024-05-03 16:15:37 +01:00
Carlo Cabrera
7c9e8927e9
tap: memoize allowed and forbidden taps 2024-05-03 16:08:22 +01:00
Mike McQuaid
dfbf26910d
Merge pull request #17218 from samford/livecheck/pypi-update-strategy-regex
Pypi: Update strategy regex
2024-05-03 15:41:22 +01:00
Patrick Linnane
afe9ec9d6a
Merge pull request #17216 from Homebrew/dependabot/bundler/Library/Homebrew/multi-5c08dc554c 2024-05-03 07:23:29 -07:00
Patrick Linnane
8abb3e62dc
Merge pull request #17217 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.29.2 2024-05-03 07:22:26 -07:00
Sam Ford
78c7ad747a
Pypi: Update strategy regex
livecheck is returning an `Unable to get versions` error for the
`ansible-lint`, `aws-sam-cli`, and `pyqt-builder` formulae. These use
the `Pypi` strategy without a `livecheck` block, so they use the
generated regex from the strategy. The `Pypi` strategy matches the
version from the tarball link on the pypi.org package page but this
fails for these packages because the formula's `stable` tarball uses
hyphens in the filename (e.g., `ansible-lint-...`) but the current
tarball filename uses underscores (e.g., `ansible_lint-...`).

This addresses the issue by updating the strategy regex to replace
[escaped] `-` or `_` characters in the package name with `[_-]`, so
the regex will match regardless of the delimiter used in the formula
filename.
2024-05-03 10:21:03 -04:00
Patrick Linnane
b65b881219
Merge pull request #17215 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.176.0 2024-05-03 07:18:07 -07:00
BrewTestBot
5229499cca
Update RBI files for rubocop-rspec.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-05-03 14:10:32 +00:00
BrewTestBot
a32b817321
brew vendor-gems: commit updates. 2024-05-03 14:10:20 +00:00
BrewTestBot
330637af45
Update RBI files for multi.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-05-03 14:09:58 +00:00
BrewTestBot
b6484d6cd2
brew vendor-gems: commit updates. 2024-05-03 14:09:48 +00:00
dependabot[bot]
20839f1155
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.29.1...v2.29.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 14:09:13 +00:00
dependabot[bot]
31cb6c7d10
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11367 to 0.5.11368
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11367 to 0.5.11368
- [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
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 14:08:51 +00:00
dependabot[bot]
d4a387a374
build(deps): bump ruby/setup-ruby from 1.175.1 to 1.176.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.175.1 to 1.176.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](1198b07430...cacc9f1c0b)

---
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-03 14:08:31 +00:00
Carlo Cabrera
34e2c4ee97
cask/installer: support HOMEBREW_ALLOWED_TAPS 2024-05-03 14:50:49 +01:00
Carlo Cabrera
6663516e79
tap: define #allowed_by_env? 2024-05-03 14:50:47 +01:00
Carlo Cabrera
071dd93ef2
env_config: add HOMEBREW_ALLOWED_TAPS
This is the inverse of `HOMEBREW_FORBIDDEN_TAPS`.
2024-05-03 14:44:05 +01:00
Mike McQuaid
b4f214f325
Merge pull request #17214 from bevanjkay/patch-2
docs/cask-cookbook: token examples for versioned/development casks
2024-05-03 14:13:26 +01:00
Bevan Kay
a52b179164
docs linting 2024-05-03 23:02:37 +10:00
Bevan Kay
7239bcc04b
docs/cask-cookbook: provide token examples for versioned/development casks 2024-05-03 22:54:07 +10:00
Mike McQuaid
e944830b1f
Merge pull request #17212 from Homebrew/skip-tests-that-require-core-if-not-tapped
dev-cmd/tests: skip tests that require core if it's not tapped
2024-05-03 09:20:23 +01:00
Mike McQuaid
a9cdb335b5
Merge pull request #17211 from Homebrew/fix_missing_test_resource
formula: fix missing test resources.
2024-05-03 08:42:22 +01:00
apainintheneck
56ecd42ebd dev-cmd/tests: skip tests that require core if it's not tapped
There were a few tests which require core to be tapped and fail
if it isn't. This is annoying if someone is trying to contribute
to the project and they're using the JSON API instead of having
the core repo tapped locally.

I'm just skipping these because it's the simplest thing to do.
The tests that failed are mostly rubocop tests so it's fine
if they only run on CI.
2024-05-03 00:32:50 -07:00
Mike McQuaid
9da18b634c
formula: fix missing test resources.
Revert one change from https://github.com/Homebrew/brew/pull/17165.

It's unclear to me why this fixes the problem, but it does.

Fixes https://github.com/Homebrew/brew/issues/17203
2024-05-03 08:29:10 +01:00
Kevin
777135a401
Merge pull request #17209 from Homebrew/hcv-references
various: remove remaining Homebrew/cask-versions references
2024-05-02 22:33:58 -07:00
Patrick Linnane
c09ef9a125
Merge pull request #17210 from Homebrew/hcv-link-fix 2024-05-02 17:33:27 -07:00
Patrick Linnane
92a43a6465
Cask-Cookbook: remove outdated URL
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-05-02 17:13:20 -07:00
Patrick Linnane
94578753e0
Merge pull request #17208 from Homebrew/hcv-doc-updates 2024-05-02 16:35:43 -07:00
Patrick Linnane
7fe4d2e42f
various: remove remaining Homebrew/cask-versions references
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-05-02 15:29:21 -07:00
Patrick Linnane
e4f7618545
docs: update for Homebrew/cask-versions deprecation
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-05-02 14:40:07 -07:00
Miccal Matthews
6768b64751
Merge pull request #17207 from razvanazamfirei/remove-cask-versions
homebrew/cask-versions: remove
2024-05-03 05:24:41 +08:00
Razvan Azamfirei
4f6f6cea52
documentation: remove homebrew/cask-versions 2024-05-02 17:07:55 -04:00
Razvan Azamfirei
79e75a4770
tests: remove homebrew/cask-versions 2024-05-02 17:04:46 -04:00
Razvan Azamfirei
0b0fcdcdd2
homebrew/cask-versions: remove 2024-05-02 16:59:33 -04:00
Patrick Linnane
4c12dc2218
Merge pull request #17205 from Homebrew/dependabot/bundler/Library/Homebrew/multi-4dbabd913b 2024-05-02 10:34:19 -07:00
BrewTestBot
cc38593b8a
brew vendor-gems: commit updates. 2024-05-02 17:23:39 +00:00