Rylan Polster
cfde9b82ac
Merge pull request #14509 from Rylan12/missing-caskfile
...
Add error message with instructions for the missing cask file
2023-02-05 16:35:10 +01:00
Rylan Polster
dde44ed37c
Clarify cause of the bug in messaging
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-02-05 16:10:22 +01:00
Rylan Polster
672b8c036d
Fix error when showing brew config JSON update time
2023-02-05 16:07:00 +01:00
Rylan Polster
0229196ac5
Merge pull request #14503 from Rylan12/artifact-json-fix
...
Don't convert boolean and blank values to strings in cask artifacts API
2023-02-05 15:40:14 +01:00
Rylan Polster
0fd1be9a8e
Add error message with instructions for the missing cask file
2023-02-05 15:35:11 +01:00
Rylan Polster
7b550ad8c6
Improve style
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-02-05 13:06:05 +01:00
Rylan Polster
7dbc33a0df
Cleanup case handling
...
Co-authored-by: Kevin <apainintheneck@gmail.com>
2023-02-05 12:42:31 +01:00
Rylan Polster
5ab7f14d2b
Fix cask not found error when upgrading certain casks
2023-02-05 12:26:22 +01:00
Mike McQuaid
179974ce26
Merge pull request #14502 from dduugg/active-support-reduce
...
Remove active_support Time extensions
2023-02-05 11:51:48 +01:00
Rylan Polster
a166be9541
Don't convert boolean and blank values to strings in cask artifacts API
2023-02-05 02:58:03 +01:00
Douglas Eichelberger
84ddb8bad3
Revert "Remove active_support Time rbi entries"
...
This reverts commit 3fb9a71114b7b082f15f3f3716b92afc38017aee.
2023-02-04 14:40:11 -08:00
Douglas Eichelberger
3fb9a71114
Remove active_support Time rbi entries
2023-02-04 14:08:45 -08:00
Douglas Eichelberger
24e7c2c5bd
Remove active_support Time extensions
2023-02-04 13:51:35 -08:00
Xuehai Pan
4322e57dd0
utils/curl: make --show-error optional
2023-02-04 13:05:41 +00:00
Xuehai Pan
ba3bccf9ed
api: download from HOMEBREW_API_DOMAIN
2023-02-04 13:05:20 +00:00
Mike McQuaid
082e75e692
Merge pull request #14500 from MikeMcQuaid/remove_api_versions
...
api/versions: remove.
2023-02-04 13:59:43 +01:00
Mike McQuaid
7b3756a29f
Merge pull request #14497 from Rylan12/fix-api-fallback
...
Fix JSON file download failure fallback
2023-02-04 13:47:09 +01:00
Mike McQuaid
9ba6aef820
api: improve exception handling.
2023-02-04 13:22:15 +01:00
Mike McQuaid
2a01529cad
api/versions: remove.
...
We no longer (never?) need/use these APIs so can remove them from here
and from Homebrew/formulae.brew.sh.
2023-02-04 13:09:59 +01:00
Mike McQuaid
e8cd518b7e
Merge pull request #14485 from asutoshpalai/linux-arm-coretap
...
Making core tap install an in-process call
2023-02-04 12:48:10 +01:00
Rylan Polster
cbda171c2b
Fix JSON file download failure fallback
2023-02-04 01:46:50 +01:00
Rylan Polster
791022dc21
Merge pull request #14495 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-core-3.12.1
...
build(deps): bump rspec-core from 3.12.0 to 3.12.1 in /Library/Homebrew
2023-02-03 19:07:35 -05:00
Rylan Polster
9e280f2c44
update: increase max time for API JSON updates
2023-02-03 19:16:30 +01:00
BrewTestBot
046dcfed15
Update RBI files for rspec-core.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-02-03 18:14:47 +00:00
BrewTestBot
0001b0447d
brew vendor-gems: commit updates.
2023-02-03 18:07:32 +00:00
dependabot[bot]
71e4ecb494
build(deps): bump rspec-core from 3.12.0 to 3.12.1 in /Library/Homebrew
...
Bumps [rspec-core](https://github.com/rspec/rspec-core ) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/rspec/rspec-core/releases )
- [Changelog](https://github.com/rspec/rspec-core/blob/main/Changelog.md )
- [Commits](https://github.com/rspec/rspec-core/compare/v3.12.0...v3.12.1 )
---
updated-dependencies:
- dependency-name: rspec-core
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 18:03:20 +00:00
Asutosh Palai
0227ff0e31
Apply suggestions from code review
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-02-03 09:30:20 -08:00
Mike McQuaid
9a13f53cbb
Merge branch 'master' into remove-fetch-print
2023-02-03 13:10:19 +00:00
Mike McQuaid
a086fcd293
Merge branch 'chore/formula/deprecate_plist_options' into deprecate-disable-remove
2023-02-03 10:51:06 +00:00
Rylan Polster
051895850c
Merge pull request #14491 from MikeMcQuaid/api_non_fatal_errors
...
api: warn rather than fail if we've got a cached version.
2023-02-03 05:50:58 -05:00
Mike McQuaid
3c7adc91ac
Merge branch 'deprecate-ignore_missing_libraries' into deprecate-disable-remove
2023-02-03 10:49:54 +00:00
Mike McQuaid
59c03cb2a6
Add deprecations and disables
...
Do the usual dance:
- commented `odeprecated` to `odeprecated`
- `odeprecated` to `odisabled`
- `odisabled` removed
2023-02-03 10:48:43 +00:00
Rylan Polster
c30b489525
Homebrew::API::fetch_file_source: remove debug line
2023-02-03 11:48:02 +01:00
Mike McQuaid
b009077c14
Merge pull request #14490 from MikeMcQuaid/fix_dev_install_from_api
...
brew.sh: fix HOMEBREW_INSTALL_FROM_API logic.
2023-02-03 10:30:50 +00:00
Rylan Polster
af9ba41cb0
Merge pull request #14456 from Rylan12/api-language-support
...
Support `languages` when installing from the API
2023-02-03 05:23:55 -05:00
Mike McQuaid
561e520467
api: warn rather than fail if we've got a cached version.
...
Rather than failing every time we fail to update (breaking most usage
while offline) instead only fail if we cannot obtain the JSON and we
don't have a valid local file we can use.
Also tweak the timeout and retry logic and values to make a bit more
sense in this context and not be so noisy when offline.
2023-02-03 10:22:50 +00:00
Mike McQuaid
bdbcf094fa
brew.sh: fix HOMEBREW_INSTALL_FROM_API logic.
...
Ensure that we handle this a bit more correctly so it's unset more often.
2023-02-03 09:59:06 +00:00
Mike McQuaid
820ec5411f
Merge pull request #14472 from apainintheneck/cask-loader-improvements
...
Cask loader improvements
2023-02-03 08:37:07 +00:00
Mike McQuaid
9d6713d023
Merge branch 'master' into api-language-support
2023-02-03 08:36:23 +00:00
Mike McQuaid
14eb3536ce
Merge pull request #14484 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-02-03 08:31:59 +00:00
apainintheneck
8060360333
Fix supported version check
...
HOMEBREW_PREFIX is a Pathname; HOMEBREW_DEFAULT_PREFIX
and HOMEBREW_MACOS_ARM_DEFAULT_PREFIX are strings.
2023-02-02 19:58:03 -08:00
apainintheneck
15c1930804
Remove redundant FromAPILoader attempt
...
After 32a0877 this logic has been changed so it's now
always covered by `FromAPILoader.can_load?`.
2023-02-02 18:43:53 -08:00
apainintheneck
2d93cbe13f
Handle merge conflict
2023-02-02 18:40:13 -08:00
Asutosh Palai
a3765d0a80
making core tap install an in-process call
...
This helps fixes problems with fresh install on ARM Linux.
When brew is relaunched with filtered PATH, it is not able to
find user installed Ruby.
2023-02-03 00:36:39 +00:00
BrewTestBot
0ed2ef92cc
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2023-02-03 00:28:00 +00:00
Mike McQuaid
41ad2eba15
update-maintainers/manpages: not all PLC are maintainers.
...
So list all maintainers separately.
2023-02-02 17:09:25 +00:00
Mike McQuaid
46fc4f9f1b
Don't allow HOMEBREW_INSTALL_FROM_API when building from source
...
When either being in a non-default prefix or being on an unsupported
macOS version we expect most things to be built from source. In that
environment, do not allow HOMEBREW_INSTALL_FROM_API to be set.
Fixes #14475
2023-02-02 14:49:34 +00:00
Mike McQuaid
cdf58fe392
Merge pull request #14439 from MikeMcQuaid/cask_source_tweaks
...
Tweak cask-source API handling
2023-02-02 12:50:27 +00:00
Mike McQuaid
1c1c1623e2
test/cask/cmd/list: add tap_git_head.
2023-02-02 12:19:44 +00:00
Mike McQuaid
28e1135c92
Merge pull request #14437 from hyuraku/apply-extend/os-to-migrate_gcc_dependents_if_needed
...
apply extend/os to `migrate_gcc_dependents_if_needed`
2023-02-02 10:45:09 +00:00