31889 Commits

Author SHA1 Message Date
Bo Anderson
829aacedb9
Merge pull request #13319 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.14.0
build(deps): bump rubocop-performance from 1.13.3 to 1.14.0 in /Library/Homebrew
2022-05-25 16:18:17 +01:00
Bo Anderson
e457f762a8
Merge pull request #13318 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-3.10.1
build(deps): bump parallel_tests from 3.10.0 to 3.10.1 in /Library/Homebrew
2022-05-25 16:18:03 +01:00
BrewTestBot
deec796294
Update RBI files for rubocop-performance. 2022-05-25 14:27:36 +00:00
BrewTestBot
53912e729a
brew vendor-gems: commit updates. 2022-05-25 14:24:35 +00:00
BrewTestBot
554eaa27da
brew vendor-gems: commit updates. 2022-05-25 14:23:59 +00:00
dependabot[bot]
9cb7975b18
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.13.3 to 1.14.0.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.13.3...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 14:17:53 +00:00
dependabot[bot]
210b18e064
build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.10.0 to 3.10.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.10.0...v3.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 14:17:50 +00:00
Bo Anderson
73ee7f6772
Merge pull request #13323 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-05-25 02:14:05 +01:00
BrewTestBot
cf3742fd47
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-05-25 00:28:11 +00:00
Bo Anderson
bc4776defd
Merge pull request #13321 from Bo98/last-artifact
utils/github: take last artifact rather than first
2022-05-24 23:56:42 +01:00
Bo Anderson
580fb58f62
utils/github: take last artifact rather than first 2022-05-24 23:31:29 +01:00
Bo Anderson
371f1810da
Merge pull request #13322 from Bo98/test-const-fix
test/download_strategies/curl_github_packages: fix bad const override
2022-05-24 23:30:17 +01:00
Bo Anderson
5e6d5f68ca
test/download_strategies/curl_github_packages: fix bad const override 2022-05-24 22:50:22 +01:00
Bevan Kay
ac2f52cef3
cask: fix greedy outdated command 2022-05-24 22:38:30 +10:00
Mike McQuaid
ef0d5fc978
Merge pull request #13316 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-3.10.0
build(deps): bump parallel_tests from 3.8.1 to 3.10.0 in /Library/Homebrew
2022-05-24 13:22:49 +01:00
Mike McQuaid
8aad59274e
Merge pull request #13315 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10028
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10027 to 0.5.10028 in /Library/Homebrew
2022-05-24 13:22:30 +01:00
Mike McQuaid
00c5960a6a
Merge pull request #13299 from MikeMcQuaid/update_improvements
Improve updating behaviour
2022-05-24 13:05:24 +01:00
BrewTestBot
93f922df39
brew vendor-gems: commit updates. 2022-05-23 18:06:52 +00:00
BrewTestBot
7c7ed9c352
brew vendor-gems: commit updates. 2022-05-23 18:04:57 +00:00
dependabot[bot]
681cbf06fa
build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.8.1 to 3.10.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.8.1...v3.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 18:03:33 +00:00
dependabot[bot]
1739db915b
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10027 to 0.5.10028.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 18:02:34 +00:00
Mike McQuaid
10458698fc
Merge pull request #13314 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2022-05-23 08:15:41 -04:00
BrewTestBot
bab30c0eb9
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-23 11:49:18 +00:00
Mike McQuaid
7a79da2668
Merge pull request #13227 from UiP9AV6Y/bugfix_artifact_domain_manpage
docs: clarify application of HOMEBREW_ARTIFACT_DOMAIN
2022-05-23 07:47:41 -04:00
Mike McQuaid
0667aa6aa6
Merge pull request #13313 from UiP9AV6Y/feature_decouply_auth_info
decouple authentication information from HOMEBREW_ARTIFACT_DOMAIN
2022-05-23 07:26:12 -04:00
Mike McQuaid
6a1d899dbe
env_config: tweak wording. 2022-05-23 12:22:56 +01:00
Gordon Bleux
9cbaf97069 decouple authentication information from HOMEBREW_ARTIFACT_DOMAIN
add support for credentials usage in combination with other mirroring
features. previously `HOMEBREW_DOCKER_REGISTRY_TOKEN` and
`HOMEBREW_DOCKER_REGISTRY_BASIC_AUTH_TOKEN` where only used in combination
with `HOMEBREW_ARTIFACT_DOMAIN` which affects *all* curl download strategies.
`HOMEBREW_BOTTLE_DOMAIN` is only used for bottle artifacts, whose mirror might
also require credentials.
this change removes the requirement of using `HOMEBREW_ARTIFACT_DOMAIN`.

related to #13226
2022-05-23 10:38:52 +02:00
Gordon Bleux
b2796ec7fb docs: clarify application of HOMEBREW_ARTIFACT_DOMAIN
bottle URLs are treated differently than any other URL.
this change clarifies the resulting URLs in the manpage.

closes #13222
2022-05-23 09:20:16 +02:00
Bo Anderson
555cf335ab
Merge pull request #13308 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10027
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10020 to 0.5.10027 in /Library/Homebrew
2022-05-21 02:20:32 +01:00
BrewTestBot
fbc736243f
brew vendor-gems: commit updates. 2022-05-20 23:56:31 +00:00
dependabot[bot]
2c0e3a008d
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10020 to 0.5.10027.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 23:54:03 +00:00
Bo Anderson
cea550b1a1
Merge pull request #13307 from Bo98/patches_spec-codeql
test/rubocops/patches: silence CodeQL alerts
2022-05-20 19:14:44 +01:00
Bo Anderson
701ea88df5
Merge pull request #13306 from Bo98/livecheck-domain-check
livecheck: improve host checks to instead check domains
2022-05-20 19:14:22 +01:00
Bo Anderson
c4ec5f13d7
Merge pull request #13305 from Bo98/exceptions-backslash
exceptions: handle backslash in args for BuildError
2022-05-20 19:10:30 +01:00
Bo Anderson
d0e4af8fb5
test/rubocops/patches: silence CodeQL alert 2022-05-20 01:44:05 +01:00
Bo Anderson
38ae98cbcd
livecheck: improve host checks to instead check domains 2022-05-20 01:43:00 +01:00
Bo Anderson
d47517f635
exceptions: handle backslash in args for BuildError 2022-05-20 01:41:26 +01:00
Bo Anderson
54b45c2c8b
Merge pull request #13304 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.11.1
build(deps): bump rubocop-rspec from 2.11.0 to 2.11.1 in /Library/Homebrew
2022-05-20 01:24:41 +01:00
Bo Anderson
186efb0a8b
Merge pull request #13303 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10020
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10016 to 0.5.10020 in /Library/Homebrew
2022-05-19 22:46:50 +01:00
BrewTestBot
adb6ce0aab
brew vendor-gems: commit updates. 2022-05-19 18:10:25 +00:00
BrewTestBot
6ba3358b64
brew vendor-gems: commit updates. 2022-05-19 18:06:57 +00:00
dependabot[bot]
e5176b4e68
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.11.0 to 2.11.1.
- [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.11.0...v2.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 18:04:55 +00:00
dependabot[bot]
d1a8687c55
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10016 to 0.5.10020.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 18:04:24 +00:00
Mike McQuaid
fb4c9353bb
Improve updating behaviour
- Rename use of "preinstall" to "auto update". The original "preinstall"
  naming came from the fact that we used to only auto-update before
  `brew install` but now that it's many commands: this is more confusing
  than useful.
- Add `HOMEBREW_NO_UPDATE_REPORT_ONLY_INSTALLED` and remove
  `HOMEBREW_UPDATE_REPORT_ONLY_INSTALLED`; the latter is now the default
  and the prior provides an opt-out for better output, performance and
  avoiding reading potentially untrusted formulae.
- Add `HOMEBREW_UPDATE_FORMULA_VERSION_CHECKS` and don't check formula
  versions by default for better performance by default.

Co-authored-by: Eric Knibbe <3324775+EricFromCanada@users.noreply.github.com>
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-05-19 11:04:20 -04:00
Sam Ford
5d4353f617
Merge pull request #13301 from samford/add-public_suffix-data-dir
Vendor public_suffix data dir
2022-05-18 21:10:49 -04:00
Sam Ford
e34cb92d13
Vendor public_suffix data dir
The `addressable` gem depends on the `public_suffix` gem but we also
need to vendor the `data` dir from `public_suffix` for `addressable`
to function correctly.
2022-05-18 20:40:42 -04:00
Sam Ford
de1c5e2ba8
Merge pull request #13300 from samford/livecheck/rework-use_homebrew_curl-2
Livecheck: Use Homebrew curl based on root domain
2022-05-18 20:14:32 -04:00
Sam Ford
2f0a53c0da
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-18 18:48:17 -04:00
Sam Ford
d0961a4e3e
Add addressable to vendored gems 2022-05-18 18:48:16 -04:00
Mike McQuaid
f56cd09c91
Merge pull request #13295 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.11.0
build(deps): bump rubocop-rspec from 2.10.0 to 2.11.0 in /Library/Homebrew
2022-05-18 15:58:05 -04:00