37356 Commits

Author SHA1 Message Date
Rui Chen
e5c714fa91
chore: update safari UA to the latest
Signed-off-by: Rui Chen <rui@chenrui.dev>
2023-09-06 15:10:05 -04:00
BrewTestBot
e5cbec7f15
Update RBI files for minitest.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-09-06 18:30:59 +00:00
BrewTestBot
c35b049b3c
brew vendor-gems: commit updates. 2023-09-06 18:23:32 +00:00
dependabot[bot]
001a9bb898
build(deps): bump minitest from 5.19.0 to 5.20.0 in /Library/Homebrew
Bumps [minitest](https://github.com/minitest/minitest) from 5.19.0 to 5.20.0.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/minitest/minitest/compare/v5.19.0...v5.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-06 18:20:28 +00:00
Mike McQuaid
d5d74788b2
Merge pull request #15968 from MikeMcQuaid/cask_upgrade_sudo_test_fix
cask/quarantine: don't try to sudo during tests.
2023-09-06 10:17:37 -04:00
Mike McQuaid
4dc550fb2f
Merge pull request #15970 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-09-06 10:10:45 -04:00
Mike McQuaid
8d0f310fa0
Merge pull request #15972 from scpeters/audit_version_core
resource_auditor: relax version audit in taps
2023-09-06 10:10:26 -04:00
Mike McQuaid
58df7885e6
cask/quarantine: sudo correctly during tests.
Use `NeverSudoSystemCommand` and pass it through to
`Quarantine.copy_xattrs` so `brew tests` doesn't try to `sudo`.

Fixes #15958

Co-authored-by: Bo Anderson <mail@boanderson.me>
Co-authored-by: Kevin <apainintheneck@gmail.com>
2023-09-06 10:03:45 -04:00
Mike McQuaid
9ce19fc002
cask/url: full scope curl_output call. 2023-09-06 09:55:17 -04:00
Mike McQuaid
31b94e21ee
resource_auditor: also check versions based on bottle root_url. 2023-09-06 09:51:16 -04:00
Steve Peters
0ae29cc7fa
resource_auditor: relax version audit in taps
Disable the version regex audit for 3rd-party taps,
at least for now to allow time to comply.
2023-09-05 22:51:58 -07:00
Max schwenk
db19e99095 Add a comment to that effect 2023-09-05 22:40:23 -04:00
Mike McQuaid
43295b2637
Merge pull request #15969 from glensc/patch-1
Fix python: detected_python_shebang python pattern
2023-09-05 21:06:45 -04:00
BrewTestBot
bf27d9c44a
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-09-06 00:24:17 +00:00
Elan Ruusamäe
132b763242
Fix python: detected_python_shebang python pattern
"python@" is not a valid dependency, must include something after the "@"
2023-09-06 01:38:58 +03:00
Mike McQuaid
0a72a4148d
Merge pull request #15967 from MikeMcQuaid/even_more_missing_curl
utils/github: fully scope curl usage.
2023-09-05 17:21:53 -04:00
Mike McQuaid
8c1c0c5a22
utils/github: fully scope curl usage.
Fixes #15965
2023-09-05 17:07:59 -04:00
Mike McQuaid
9677a9a8ef
Merge pull request #15936 from MikeMcQuaid/audit_invalid_versions
Audit invalid versions
2023-09-05 16:58:15 -04:00
Mike McQuaid
5ffe524df1
Merge pull request #15960 from EricFromCanada/docs-more-additions
Docs: more additions and improvements
2023-09-05 16:57:44 -04:00
Mike McQuaid
e4397255e2
Merge pull request #15956 from apainintheneck/handle-nil-urls-in-fetch-and-audit-cmds
cmd/fetch & cmd/audit: handle unsupported cask os/arch combos
2023-09-05 16:53:43 -04:00
Mike McQuaid
de4207f6d0
Audit invalid versions
We have a bunch of versions we've been meaning to adjust to not use
invalid GitHub Packages characters for a while. Let's audit for them
and plan for deprecating their use in future.
2023-09-05 16:43:36 -04:00
Max schwenk
f4f18acf88 Fix bad cache setting 2023-09-05 16:30:30 -04:00
Mike McQuaid
e93d56008d
Merge pull request #15964 from ZhongRuoyu/utils-curl-fix
Fix more `Utils::Curl` usage
2023-09-05 12:44:14 -04:00
Ruoyu Zhong
05ffff09ed
cask/audit: fix Utils::Curl usage
Needed after #15940.
2023-09-06 00:12:57 +08:00
Ruoyu Zhong
41a810b2e0
resource_auditor: fix Utils::Curl usage
Needed after #15940.
2023-09-06 00:05:19 +08:00
Mike McQuaid
ce21e47d1f
Merge pull request #15963 from MikeMcQuaid/formula_installer_bottle_fetch
formula_installer: don't ignore deps when fetching and pouring bottles.
2023-09-05 08:41:38 -04:00
Mike McQuaid
54a89cad57
Merge pull request #15962 from MikeMcQuaid/more_missing_curl
Fix more missing `Utils::Curl` references.
2023-09-05 08:40:12 -04:00
Mike McQuaid
1a91157590
Fix more missing Utils::Curl references.
e.g. https://github.com/Homebrew/brew/pull/15940#issuecomment-1706486816
2023-09-05 08:27:02 -04:00
Mike McQuaid
8b6e1f33da
formula_installer: don't ignore deps when fetching and pouring bottles.
Otherwise, we can try to pour bottles that haven't been downloaded yet.

Possible fix for #15957.
2023-09-05 08:24:50 -04:00
Mike McQuaid
e02ec5e07a
Merge pull request #15961 from MikeMcQuaid/fix_missing_curl
utils/github/artifacts: fix missing Utils::Curl reference.
2023-09-05 08:07:09 -04:00
Mike McQuaid
84973da037
utils/github/artifacts: fix missing Utils::Curl reference.
Needed after https://github.com/Homebrew/brew/pull/15940
2023-09-05 07:52:39 -04:00
Mike McQuaid
4db9aa013e
Merge pull request #15940 from MikeMcQuaid/utils_curl_explicit
utils/curl: include or use explicitly.
2023-09-05 07:37:06 -04:00
Mike McQuaid
fbc1e84bdc
Merge pull request #15944 from MikeMcQuaid/more_liberal_formula_upgrade
upgrade: more liberal formula upgrade changes.
2023-09-05 07:28:28 -04:00
Eric Knibbe
484efe2911
docs: various additions & changes 2023-09-05 01:06:31 -04:00
Eric Knibbe
7718c5ad61
docs: improve links & formatting 2023-09-05 00:54:26 -04:00
Eric Knibbe
110e14937b
docs/Tips: add bundle, --adopt, VS Code plugins 2023-09-05 00:46:55 -04:00
Eric Knibbe
a63cee48e3
docs/FAQ: ensure homebrew/core is downloaded 2023-09-05 00:38:31 -04:00
Eric Knibbe
6dfacae5d2
docs/Cask-Cookbook: more on_<system> improvements 2023-09-05 00:37:16 -04:00
Mike McQuaid
72ded32393
upgrade: more liberal formula upgrade changes.
Download the bottle manifests for the potential formulae we are going to
upgrade and, if they are have all their `runtime_dependencies` versions
currently met, don't try to download the bottle or upgrade the formula.
2023-09-04 22:18:55 -04:00
Mike McQuaid
b7114651ac
utils/curl: include or use explicitly.
Include or use `Utils::Curl` explicitly everywhere it is used.
2023-09-04 22:17:57 -04:00
apainintheneck
f4b15e95ac cmd/fetch & cmd/audit: handle unsupported os/arch combos
It's possible for casks to only run on certain os/arch
combinations but we don't check for them in the fetch and
audit commands.

At first, I tried to check if the macos version was satisfied
in a previous PR but that doesn't work correctly because
MacOSRequirement and ArchRequirement don't respect SimulateSystem.

Instead I'm just checking to see if the url stanza is defined
for each os/arch combination and skipping those casks where
it ends up being nil. This is kind of brute forcing it but
should work.
2023-09-04 15:00:31 -07:00
Mike McQuaid
51889e7a08
Merge pull request #15946 from samford/livecheck/preprocess_url-compare-with-uri-host
Livecheck#preprocess_url: compare with URI host
2023-09-04 17:23:22 -04:00
Alexander Bayandin
27902f0284
Merge pull request #15948 from bayandin/shard-audit
audit_file: check formula path
2023-09-04 19:39:55 +01:00
Bo Anderson
5de703e784
Merge pull request #15951 from Homebrew/dependabot/github_actions/actions/checkout-4
build(deps): bump actions/checkout from 3 to 4
2023-09-04 19:36:23 +01:00
Bo Anderson
7f877f1386
Merge pull request #15950 from Bo98/symlink-fix
vendor/gems: remove bad symlink
2023-09-04 19:27:24 +01:00
dependabot[bot]
39d07d2159
build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 18:22:16 +00:00
Bo Anderson
557245015c
vendor/gems: remove bad symlink 2023-09-04 19:04:45 +01:00
Mike McQuaid
bf52ef7099
Merge pull request #15949 from MikeMcQuaid/fetch_bottle_tab_error_handling
formula_installer: handle another exception in fetch_bottle_tab.
2023-09-04 12:49:39 -04:00
Mike McQuaid
3aba32a68b
formula_installer: handle another exception in fetch_bottle_tab.
Fix another way that fetching a bottle tab can fail. This pretty much
only happens in CI.

Addresses https://github.com/Homebrew/homebrew-core/pull/141362#issuecomment-1705327027
2023-09-04 12:33:21 -04:00
Alexander Bayandin
b7cb8356c1
audit_file: fix condition
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-09-04 14:35:59 +01:00