Mike McQuaid
206d4c86b3
Merge pull request #14543 from MikeMcQuaid/info-json-api
...
cmd/info: generate `--json=v2` from local taps.
2023-02-07 15:32:49 +01:00
Mike McQuaid
e98aa831d2
Merge pull request #14546 from hyuraku/apply-extend/os-to-cask-cmd-install
...
apply `extend/os` to `Cask::cmd::install#install_casks`
2023-02-07 15:23:10 +01:00
hyuraku
10d4f06a30
remove useless require
2023-02-07 23:22:33 +09:00
hyuraku
ade7118057
add new method: gnutar_args
2023-02-07 23:22:33 +09:00
hyuraku
ec1a1566bc
separate setup_tar_and_args method
2023-02-07 23:22:33 +09:00
hyuraku
fde7ca31b8
add alias generic_formula_ignores formula_ignores
2023-02-07 23:22:33 +09:00
hyuraku
197bdedd35
add new files for dev-cmd/bottle
2023-02-07 23:22:33 +09:00
hyuraku
26a615f009
move dev-cmd/bottle methods to extend/os
2023-02-07 23:22:33 +09:00
Mike McQuaid
0575903868
Revert "HOMEBREW_INSTALL_FROM_API: make the default for everyone."
2023-02-07 15:13:23 +01:00
Mike McQuaid
6882ac17e7
Revert "Add deprecations and disables"
2023-02-07 15:13:19 +01:00
Mike McQuaid
dbf02366b2
cmd/info: generate --json=v2
from local taps.
...
Fixes #14541
Co-authored-by: Issy Long <issyl0@github.com>
2023-02-07 15:03:56 +01:00
Mike McQuaid
ff5e517949
Merge pull request #14540 from maxim-belkin/speedup_tap_completions
...
Bash completions: speed up Tap completions
2023-02-07 14:56:25 +01:00
hyuraku
8daca925f1
remove #TODO
2023-02-07 22:56:04 +09:00
hyuraku
c066e940c4
apply extend/os to Cask::cmd::install#install_casks
2023-02-07 22:54:06 +09:00
Mike McQuaid
66fe57edb9
Merge pull request #14544 from XuehaiPan/api-bottle-domain
...
formulary: respect `HOMEBREW_BOTTLE_DOMAIN` when installing from API
2023-02-07 14:53:17 +01:00
Maxim Belkin
262acf114f
Bash completions: clean up basic functions
2023-02-07 06:17:19 -07:00
Xuehai Pan
176637acd8
formulary: respect HOMEBREW_BOTTLE_DOMAIN
when installing from API
2023-02-07 13:03:25 +00:00
Maxim Belkin
d8e07e2117
Bash completions: speed up Tap completions
2023-02-07 03:50:02 -07:00
Carlo Cabrera
76466f66d2
brew.sh: add bump
to HOMEBREW_NO_INSTALL_FROM_API
commands
...
`brew bump` relies on `livecheck`, which we don't want to query the API
for.
Also, some small refactoring:
1. Declare the list of commands we want to set
`HOMEBREW_NO_INSTALL_FROM_API` for as an array.
2. Only check against this list when the command being run is a
developer command, to avoid checking the list when we know we're not
running a dev command.
2023-02-07 14:37:14 +08:00
Bo Anderson
2bb5cdaaa9
Merge pull request #14523 from issyl0/gist-logs-better-token-permissions-message
...
cmd/gist-logs: On 404, the PAT probably needs more permissions
2023-02-07 01:32:10 +00:00
Issy Long
87348dc179
Apply suggestions from code review
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-02-07 02:05:46 +01:00
Bo Anderson
79f4d5996f
extend/time: restore rfc3339 method
2023-02-07 00:38:46 +00:00
Mike McQuaid
ebed4f564d
Merge pull request #14527 from maxim-belkin/refix-bash-completions-1
...
Refix bash completions 1
2023-02-06 22:17:43 +01:00
Mike McQuaid
6c27021211
Merge pull request #14525 from SMillerDev/master
...
analytics: stop sending analytics in tests
2023-02-06 21:28:29 +01:00
Nanda H Krishna
75045e91f8
brew style --fix
2023-02-06 13:50:39 -05:00
Nanda H Krishna
d9d6a74257
brew style --fix
2023-02-06 13:48:18 -05:00
BrewTestBot
82de05fc82
Update RBI files for rubocop-performance.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-02-06 18:15:29 +00:00
BrewTestBot
86afac3840
Update RBI files for rubocop-sorbet.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-02-06 18:15:06 +00:00
BrewTestBot
0386d0b112
brew vendor-gems: commit updates.
2023-02-06 18:08:06 +00:00
BrewTestBot
f719733e3b
brew vendor-gems: commit updates.
2023-02-06 18:07:37 +00:00
dependabot[bot]
95ef63f269
build(deps): bump rubocop-sorbet in /Library/Homebrew
...
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet ) from 0.6.11 to 0.7.0.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases )
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.6.11...v0.7.0 )
---
updated-dependencies:
- dependency-name: rubocop-sorbet
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 18:04:01 +00:00
dependabot[bot]
e069ed35b2
build(deps): bump rubocop-performance in /Library/Homebrew
...
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance ) from 1.15.2 to 1.16.0.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases )
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.15.2...v1.16.0 )
---
updated-dependencies:
- dependency-name: rubocop-performance
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 18:02:46 +00:00
Maxim Belkin
5f99c1cbda
Bash completions: apply fix from #14467 to the right file
2023-02-06 09:36:19 -07:00
Issy Long
41b143deec
cmd/gist-logs: On 404, the PAT probably needs more permissions
...
- This 404 error is from GitHub, and GitHub doesn't give us any more
informations about scopes for the gist endpoint (for some reason). But we can
safely assume, as it happens a lot, that "Error: Not Found" (404) is because
the user hasn't granted their `HOMEBREW_GITHUB_API_TOKEN` the `gist` scope.
Before:
```shell
$ HOMEBREW_GITHUB_API_TOKEN=<token_without_gist_scope> brew gist-logs -p logrotate
Error: Not Found
```
After:
```shell
❯ HOMEBREW_GITHUB_API_TOKEN=<token_without_gist_scope> brew gist-logs logrotate
Error: Your GitHub API token likely doesn't have the `gist` scope.
Create a GitHub personal access token:
https://github.com/settings/tokens/new?scopes=gist&description=Homebrew
echo 'export HOMEBREW_GITHUB_API_TOKEN=your_token_here' >> ~/.zshrc
```
2023-02-06 17:00:02 +01:00
Sean Molenaar
61e5e19bdb
analytics: fix spelling
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2023-02-06 16:56:25 +01:00
Sean Molenaar
10e3c522f7
analytics: stop sending analytics in tests
2023-02-06 16:28:34 +01:00
Rylan Polster
ce56fc8afd
Remove unecessary message of brew edit
2023-02-06 16:24:34 +01:00
Rylan Polster
39097583b9
Set HOMEBREW_NO_INSTALL_FROM_API
for certain commands
2023-02-06 16:17:04 +01:00
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