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
Mike McQuaid
39e158fb93
Merge pull request #14501 from p-linnane/cookbook-update
...
docs: Clarify dependency values
2023-02-04 16:01:29 +01:00
Mike McQuaid
163c5a23b9
Merge pull request #14494 from XuehaiPan/api-domain
...
api: download from `HOMEBREW_API_DOMAIN`
2023-02-04 15:56:39 +01:00
Issy Long
a640c50a04
docs/Formula-Cookbook: Fix markdownlint "multiple blank lines"
2023-02-04 15:38:50 +01:00
Patrick Linnane
8f01281f3d
Update docs/Formula-Cookbook.md
...
Co-authored-by: Issy Long <issyl0@github.com>
2023-02-04 15:21:16 +01:00
Patrick Linnane
05949443eb
Update docs/Formula-Cookbook.md
...
Co-authored-by: Issy Long <issyl0@github.com>
2023-02-04 15:21:09 +01:00
Patrick Linnane
225909bb58
Update docs/Formula-Cookbook.md
...
Co-authored-by: Issy Long <issyl0@github.com>
2023-02-04 15:20:55 +01:00
Patrick Linnane
5ae18ce357
docs: Clarify dependency values
2023-02-04 14:43:32 +01:00
Xuehai Pan
4322e57dd0
utils/curl: make --show-error
optional
2023-02-04 13:05:41 +00:00
Xuehai Pan
17b08f2f01
Update manpage
2023-02-04 13:05:20 +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
6b5b786f20
Merge pull request #14496 from Rylan12/update-max-time
...
`update`: increase max time for API JSON updates
2023-02-03 13:48:27 -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
6a8dd4ff52
Merge pull request #14492 from Rylan12/remove-fetch-print
...
`Homebrew::API::fetch_file_source`: remove debug line
2023-02-03 13:41:28 +00: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
Mike McQuaid
04700cc08f
Merge pull request #14486 from apainintheneck/fix-prefix-check
...
OS: Fix supported prefix check
2023-02-03 08:27:32 +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