33639 Commits

Author SHA1 Message Date
Sam Ford
c2f0bacec8
Curl#curl_headers: Work with 56 exit_status
I previously added the 8 curl exit code (weird server reply) to the
list of non-success exit codes that `#curl_headers` will handle.
We're now seeing failures with a 56 exit code (failure in receiving
network data), where the server returns a 4xx response for a `HEAD`
request but the same request using `GET` works as expected (e.g.,
casks like `beeper`, `get-api`, `odrive`, `ui`, etc.).

This adds 56 to the list of exit codes in `#curl_headers`, so a
response with a 4xx HTTP status will be automatically retried using
`GET`.
2024-09-07 10:25:47 -04:00
Markus Reiter
b68ee4142f
Ensure thread-pool shutdown. 2024-09-07 14:45:30 +02:00
Douglas Eichelberger
fedb868a8b Remove failing tests due to lack of needs_generic 2024-09-06 14:16:40 -07:00
Douglas Eichelberger
5d5daaa09f Use FormulaInstaller OS extensions 2024-09-06 13:58:32 -07:00
Mike McQuaid
9978c3d11a
Merge pull request #18274 from Homebrew/improve_brew_doctor_prerelease
Improve `brew doctor` output on prerelease macOS
2024-09-06 17:51:16 +01:00
Mike McQuaid
dc9618457d
Improve brew doctor output on prerelease macOS
- Avoid near duplicate messages
- Provide correct CLT download instructions

Before:
```
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Your Command Line Tools are too outdated.
Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 16.0.

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Settings.

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 16.0.

Warning: Your Xcode (15.4) at /Applications/Xcode.app is too outdated.
Please update to Xcode 16.0 (or delete it).
Xcode can be updated from:
  https://developer.apple.com/download/all/

Warning: Your Xcode (15.4) is outdated.
Please update to Xcode 16.0 (or delete it).
Xcode can be updated from:
  https://developer.apple.com/download/all/

If 16.0 is installed, you may need to:
  sudo xcode-select --switch /Applications/Xcode.app
Current developer directory is:
  /Applications/Xcode.app/Contents/Developer

```

After:
```console
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Your Command Line Tools are too outdated.
Install the Command Line Tools for Xcode 16 from:
  https://developer.apple.com/download/all/

Warning: Your Xcode (15.4) at /Applications/Xcode.app is too outdated.
Please update to Xcode 16.0 (or delete it).
Xcode can be updated from:
  https://developer.apple.com/download/all/

```
2024-09-06 17:38:25 +01:00
BrewTestBot
2f80d039be
brew vendor-gems: commit updates. 2024-09-06 14:31:30 +00:00
dependabot[bot]
f13cdac899
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11554 to 0.5.11557.
- [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-09-06 14:29:06 +00:00
Michael Cho
fcf05d1b21
rubocops/uses_from_macos: remove gnu-getopt and rpcgen
Also add `bc-gh` which is the version of bc provided by Ventura and
newer macOS. Other `bc` (GNU bc) was provided until Monterey
2024-09-06 09:14:22 -04:00
Carlo Cabrera
9127bf2c71
Merge remote-tracking branch 'origin/master' into auto-bump 2024-09-06 20:04:45 +08:00
Ruoyu Zhong
b03e0e4696
formula: update URL to SPDX license expr docs 2024-09-06 19:44:58 +08:00
Carlo Cabrera
800df2a284
Improve error message
Co-authored-by: Markus Reiter <me@reitermark.us>
2024-09-06 16:39:55 +08:00
Michael Cho
39ab6d70db
keg: avoid attempting rmdir on must exist subdirs 2024-09-05 13:37:25 -04:00
Markus Reiter
69a04bd249
Fix code style. 2024-09-05 18:11:49 +02:00
Markus Reiter
60cb8101f5
Readd Pourable to LocalBottleDownloadStrategy. 2024-09-05 17:21:41 +02:00
Markus Reiter
a970065657
Fix wrong argument passing. 2024-09-05 17:20:20 +02:00
Markus Reiter
846cf25043
Fix wrong argument passing. 2024-09-05 17:19:07 +02:00
BrewTestBot
72b3aa0e8b
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-09-05 15:18:06 +00:00
Markus Reiter
123a2ac84c
Comment deprecations.
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-09-05 17:18:00 +02:00
BrewTestBot
cacb76673a
brew vendor-gems: commit updates. 2024-09-05 15:17:51 +00:00
dependabot[bot]
da9932d7e9
build(deps-dev): bump rubocop-ast in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.32.2 to 1.32.3.
- [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.32.2...v1.32.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 15:16:09 +00:00
Markus Reiter
c61713b8e0
Fix handling for --retry flag. 2024-09-05 17:14:40 +02:00
Mike McQuaid
019b0f50fb
Merge pull request #18260 from tshu-w/master 2024-09-05 10:12:04 +01:00
Mike McQuaid
dfe28d8944
Merge pull request #18259 from Homebrew/silence-default-gems-warnings 2024-09-05 09:59:32 +01:00
Mike McQuaid
2e18b02bc2
Merge pull request #18249 from Homebrew/no-deprecate-licenses 2024-09-05 09:48:11 +01:00
Tianshu Wang
4f62fd0789
Revert $TMPDIR for emacsclient 2024-09-05 15:49:11 +08:00
Bo Anderson
eb5f47637f
Globally silence default gem warnings 2024-09-05 03:37:25 +01:00
Markus Reiter
fb0bf3b7a2
Fix wrong stage method being called. 2024-09-05 00:21:33 +02:00
Markus Reiter
231ac720d2
Add FIXME comment. 2024-09-04 22:54:30 +02:00
Markus Reiter
9fd4c97fac
Add method for moving cursor up and to the beginning. 2024-09-04 22:54:29 +02:00
Markus Reiter
984cde114a
Move escape codes to Tty. 2024-09-04 22:54:28 +02:00
Markus Reiter
404176af1d
Implement Downloadable for more types. 2024-09-04 22:54:28 +02:00
Markus Reiter
e7c9049a3c
Use futures instead of promises. 2024-09-04 22:54:27 +02:00
Markus Reiter
d6ebb04ff5
Improve output. 2024-09-04 22:54:27 +02:00
Markus Reiter
0b50f0651e
Fix code style. 2024-09-04 22:54:26 +02:00
Markus Reiter
0cafa83f8a
Simplify Tty methods. 2024-09-04 22:54:26 +02:00
Markus Reiter
786f5d359f
Remove unneeded method. 2024-09-04 22:54:25 +02:00
Markus Reiter
a114575663
Fix wrong terminal size. 2024-09-04 22:54:25 +02:00
Markus Reiter
3b5b669b61
Improve output. 2024-09-04 22:54:24 +02:00
Markus Reiter
6434533ff5
Remove Whirly and show concurrent downloads. 2024-09-04 22:54:24 +02:00
Markus Reiter
3a51f55572
Move require. 2024-09-04 22:54:23 +02:00
Markus Reiter
b353e9cbf2
Don't require everything. 2024-09-04 22:54:22 +02:00
Markus Reiter
601134b047
Fix --force flag. 2024-09-04 22:54:22 +02:00
Markus Reiter
b55528b825
Color status. 2024-09-04 22:54:21 +02:00
Markus Reiter
f41d2516ce
Fix type signatures. 2024-09-04 22:54:21 +02:00
Markus Reiter
b6d529dab3
Convert Downloadable to a module. 2024-09-04 22:54:21 +02:00
Markus Reiter
b297be77a1
Implement concurrent downloads. 2024-09-04 22:54:20 +02:00
Markus Reiter
4c29d4c74b
Vendor Gems.
# Conflicts:
#	Library/Homebrew/Gemfile.lock
2024-09-04 22:54:20 +02:00
BrewTestBot
78f4fa46f2
Update RBI files for rexml.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-09-04 18:50:08 +00:00
BrewTestBot
5c33090f50
brew vendor-gems: commit updates. 2024-09-04 18:49:57 +00:00