Commit Graph
31312 Commits
Author SHA1 Message Date
Sam Ford fb8a4e5658 Livecheck: Use Homebrew curl based on root domain
At the moment, `#use_homebrew_curl?` can only be true for a
`homepage` or `stable`/cask `url` with `using: :homebrew_curl`. If
the checked URL differs from these URLs, livecheck won't use brewed
curl. This limitation prevents livecheck from using brewed curl for a
`livecheck` block URL that's a string literal (not a symbol for a
`#checkable_url` like `:stable`, `:head`, `:url`). `libzip` was the
original formula referenced in the related brew issue and it meets
this criterion, so it doesn't appear to be handled by the existing
`#use_homebrew_curl?` implementation.

Additionally, the existing behavior can cause livecheck to
unnecessarily use brewed curl for a completely different website
(e.g., `cubelib`, `otf2`). For example, if the `stable` URL has
`using: :homebrew_curl` and the `livecheck` block has `url
:homepage`, livecheck will use brewed curl when checking the
`homepage`. If these are completely different domains/servers, it's
unlikely that we would need to use brewed curl when checking the
`homepage`, so this particular behavior may not be beneficial.

This commit reimplements `use_homebrew_curl?` to apply brewed curl
when the checked URL's root domain is the same as the root domain of
an aforementioned formula/cask URL with `using: :homebrew_curl`. For
example, this looser approach would allow a `livecheck` block
checking `https://www.example.com/downloads/` to use brewed curl if
the `stable` URL was `https://downloads.example.com/example.zip` with
`using: :homebrew_curl`. These could be different servers but, based
on related formulae, this looseness is necessary for the moment.

This approach aims to resolve both issues, allowing brewed curl to be
applied to a slightly broader range of URLs (i.e., not limited to
just the `#checkable_urls`) while also helping to avoid unnecessarily
applying brewed curl when it's less likely to be useful (completely
different domains). Neither approach is perfect but this one may be
more useful in the interim time.

Depending on how this looser approach works in practice, we may want
to consider returning to a stricter approach once we have something
like `using: :homebrew_curl` in `livecheck` blocks (this is
forthcoming). Being explicit in a `livecheck` block is the most
reliable approach (i.e., only use brewed curl when needed), so we
could favor that and pare down the automated approach to only what's
needed to support implicit checks (i.e., with no `livecheck` block).
Of course, it's also possible to drop the automated approach entirely
and simply require a `livecheck` block in this scenario but we can
decide on how to handle this when the time comes.
2022-05-17 00:34:32 -04:00
Mike McQuaid 8a5f6645b8 Merge pull request #13283 from Bo98/ghp-comment
github_packages: add comment for image-spec pin
2022-05-16 21:26:41 +01:00
Mike McQuaid 0275b32905 Merge pull request #13286 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.10010
build(deps-dev): bump sorbet from 0.5.10004 to 0.5.10010 in /Library/Homebrew
2022-05-16 21:25:45 +01:00
BrewTestBot 70eb55b8d0 brew vendor-gems: commit updates. 2022-05-16 18:12:08 +00:00
dependabot[bot] 9cf25d5ede build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.10004 to 0.5.10010.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 18:05:46 +00:00
Bo Anderson ecc705803f github_packages: add comment for image-spec pin 2022-05-16 16:15:17 +01:00
Nanda H Krishna c20b3ab913 Merge pull request #13276 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.18.0
build(deps): bump rubocop-ast from 1.17.0 to 1.18.0 in /Library/Homebrew
2022-05-13 16:26:25 -04:00
Nanda H Krishna c6ef5e5c52 Merge pull request #13277 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.10004
build(deps-dev): bump sorbet from 0.5.10001 to 0.5.10004 in /Library/Homebrew
2022-05-13 16:25:41 -04:00
BrewTestBot 1fb392ab52 Update RBI files for rubocop-ast. 2022-05-13 18:10:10 +00:00
BrewTestBot 117328a1f7 brew vendor-gems: commit updates. 2022-05-13 18:05:54 +00:00
BrewTestBot 0a045e57b1 brew vendor-gems: commit updates. 2022-05-13 18:05:27 +00:00
dependabot[bot] deda3ed5c2 build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.10001 to 0.5.10004.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 18:03:32 +00:00
dependabot[bot] 6a4866c91d build(deps): bump rubocop-ast from 1.17.0 to 1.18.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.17.0 to 1.18.0.
- [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.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: rubocop-ast
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 18:03:10 +00:00
Carlo Cabrera a939493981 Merge pull request #13273 from carlocab/TERMINFO_DIRS 2022-05-13 17:50:58 +08:00
Bo Anderson 259675b607 Merge pull request #13274 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.10001
build(deps-dev): bump sorbet from 0.5.9995 to 0.5.10001 in /Library/Homebrew
2022-05-13 05:05:22 +01:00
BrewTestBot 6b1b3007e0 brew vendor-gems: commit updates. 2022-05-12 18:08:37 +00:00
dependabot[bot] 093bbf08da build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9995 to 0.5.10001.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 18:06:21 +00:00
Carlo Cabrera f88e376a98 Avoid filtering TERMINFO_DIRS
Closes #13248.
2022-05-12 16:03:35 +08:00
Bo Anderson 9eaeeb97ac Merge pull request #13272 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9995
build(deps-dev): bump sorbet from 0.5.9992 to 0.5.9995 in /Library/Homebrew
2022-05-12 01:43:48 +01:00
BrewTestBot 6eef329718 brew vendor-gems: commit updates. 2022-05-11 18:07:16 +00:00
dependabot[bot] 225d0aab7d build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9992 to 0.5.9995.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 18:04:30 +00:00
Bo Anderson 87bcd19353 Merge pull request #13271 from Bo98/image-spec-pin
github_packages: pin image spec schema
2022-05-11 05:06:13 +01:00
Bo Anderson 4f5f981436 Merge pull request #13266 from xxyzz/quiet-install
Don't print Cask installed error message when `--quiet` is used
2022-05-11 05:05:25 +01:00
Bo Anderson 8c499233a2 Merge pull request #13268 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9992
build(deps-dev): bump sorbet from 0.5.9976 to 0.5.9992 in /Library/Homebrew
2022-05-11 04:29:56 +01:00
Bo Anderson 37b8eccf87 Merge pull request #13270 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2022-05-11 04:29:33 +01:00
Bo Anderson 354e5b60a7 github_packages: pin image spec schema 2022-05-11 04:28:02 +01:00
xxyzz 1b877273d8 Don't print Cask installed error message when --quiet is used 2022-05-11 11:03:20 +08:00
BrewTestBot ba70bc159c Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2022-05-11 02:24:30 +00:00
BrewTestBot 59de1f7e8a brew vendor-gems: commit updates. 2022-05-11 02:23:58 +00:00
Bo Anderson 14870406e0 Merge pull request #13253 from xxyzz/delete-force-update
Add `--no-force-auto-update` option to `brew tap`
2022-05-11 03:23:17 +01:00
Bo Anderson 848ace638a Merge pull request #13269 from Homebrew/dependabot/bundler/Library/Homebrew/regexp_parser-2.4.0
build(deps): bump regexp_parser from 2.3.1 to 2.4.0 in /Library/Homebrew
2022-05-11 03:22:16 +01:00
dependabot[bot] 3e5d005c59 build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9976 to 0.5.9992.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 02:21:26 +00:00
Bo Anderson 6f0f8791cc Merge pull request #13267 from Homebrew/dependabot/bundler/Library/Homebrew/parlour-8.0.0
build(deps-dev): bump parlour from 7.0.0 to 8.0.0 in /Library/Homebrew
2022-05-11 03:20:10 +01:00
xxyzz 2e899da7c7 Add --no-force-auto-update option to brew tap
Enable this option to delete `homebrew.forceautoupdate` git config option
2022-05-11 07:17:17 +08:00
BrewTestBot c66740c5ad Update RBI files for regexp_parser. 2022-05-10 18:12:40 +00:00
BrewTestBot 114a8c7522 Update RBI files for parlour. 2022-05-10 18:11:26 +00:00
BrewTestBot 4fa451a828 brew vendor-gems: commit updates. 2022-05-10 18:08:15 +00:00
BrewTestBot 413257e19b brew vendor-gems: commit updates. 2022-05-10 18:07:05 +00:00
dependabot[bot] 9069b87136 build(deps): bump regexp_parser from 2.3.1 to 2.4.0 in /Library/Homebrew
Bumps [regexp_parser](https://github.com/ammar/regexp_parser) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/ammar/regexp_parser/releases)
- [Changelog](https://github.com/ammar/regexp_parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ammar/regexp_parser/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: regexp_parser
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 18:05:52 +00:00
dependabot[bot] 1ad11b3726 build(deps-dev): bump parlour from 7.0.0 to 8.0.0 in /Library/Homebrew
Bumps [parlour](https://github.com/AaronC81/parlour) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/AaronC81/parlour/releases)
- [Changelog](https://github.com/AaronC81/parlour/blob/master/CHANGELOG.md)
- [Commits](https://github.com/AaronC81/parlour/compare/7.0.0...8.0.0)

---
updated-dependencies:
- dependency-name: parlour
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-10 18:04:39 +00:00
Bo Anderson 30e3d8883c Merge pull request #13264 from Homebrew/spdx-update
spdx: update license data.
3.4.11
2022-05-10 16:35:44 +01:00
Bo Anderson 2d0beda008 Merge pull request #13262 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.13.6
build(deps): bump nokogiri from 1.13.5 to 1.13.6 in /Library/Homebrew
2022-05-10 15:50:50 +01:00
Bo Anderson 110c7ee904 Merge pull request #13263 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.6
build(deps): bump activesupport from 6.1.5.1 to 6.1.6 in /Library/Homebrew
2022-05-10 15:50:34 +01:00
Bo Anderson 3bac311dd7 Merge pull request #13256 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9976
build(deps-dev): bump sorbet from 0.5.9967 to 0.5.9976 in /Library/Homebrew
2022-05-10 15:48:23 +01:00
BrewTestBot f4140febc2 spdx: update license data.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml).
2022-05-10 00:12:06 +00:00
BrewTestBot 96785e1386 Update RBI files for activesupport. 2022-05-09 18:12:40 +00:00
BrewTestBot 6324d97b26 Update RBI files for nokogiri. 2022-05-09 18:12:10 +00:00
BrewTestBot 5ee58c0bc1 brew vendor-gems: commit updates. 2022-05-09 18:07:49 +00:00
BrewTestBot 9af1315c02 brew vendor-gems: commit updates. 2022-05-09 18:06:58 +00:00
dependabot[bot] aec2305a52 build(deps): bump activesupport in /Library/Homebrew
Bumps [activesupport](https://github.com/rails/rails) from 6.1.5.1 to 6.1.6.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.3/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v6.1.5.1...v6.1.6)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 18:05:22 +00:00