26555 Commits

Author SHA1 Message Date
Mike McQuaid
1a0f62c5dc
Merge pull request #14522 from Rylan12/api-load-booleans
Properly load booleans from the API
2023-02-06 16:06:15 +01:00
Mike McQuaid
ca95704c95
Merge pull request #14520 from Bo98/api-source
Better support source builds under API mode
2023-02-06 16:05:14 +01:00
Mike McQuaid
c53f957819
Merge pull request #14515 from branchvincent/quiet-doctor
cmd/doctor: respect `--quiet`
2023-02-06 15:39:21 +01:00
Mike McQuaid
96cf41ed2b
Merge pull request #14518 from Bo98/api-license
Fix license handling for API formulae
2023-02-06 15:31:10 +01:00
Rylan Polster
48f4769155
Properly load booleans from the API 2023-02-06 15:07:28 +01:00
Bo Anderson
2055792791
Better support source builds under API mode 2023-02-06 13:27:36 +00:00
Bo Anderson
33681f90e3
Add HEAD information to JSON API 2023-02-06 13:06:39 +00:00
Bo Anderson
83b23e6d5e
Fix license handling for API formulae 2023-02-06 10:09:40 +00:00
Branch Vincent
8db571e4b0
cmd/doctor: respect --quiet 2023-02-05 15:06:26 -08:00
apainintheneck
36ca7c95e5 Adds logging to cask loader
- extend Context to get `debug?` method
- create FromDefaultTapPathLoader to handle
  expected loading option
- log cask loader used when --debug
2023-02-05 13:36:26 -08:00
Mike McQuaid
5f6c69bca2
HOMEBREW_INSTALL_FROM_API: make the default for everyone.
- remove all places we check the flag so it's a no-op now
- flip the messaging to refer to `HOMEBREW_NO_INSTALL_FROM_API` where
  relevant
- adjust the documentation
2023-02-05 18:13:08 +01:00
Mike McQuaid
c1b96e7199
Merge pull request #14382 from MikeMcQuaid/deprecate-disable-remove
Add deprecations and disables
2023-02-05 17:56:58 +01:00
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