26458 Commits

Author SHA1 Message Date
Mike McQuaid
342d40e88d
Merge pull request #14510 from reitermarkus/audit-only-except
Pass `only` and `except` to cask audits.
2023-02-08 09:05:00 +01:00
Mike McQuaid
50b720a3fd
Merge pull request #14554 from carlocab/auto-update-command-array
brew.sh: declare commands that call `auto-update` as an array
2023-02-08 08:50:47 +01:00
Markus Reiter
b821a00bc5
Pass only and except to cask audits. 2023-02-08 08:38:32 +01:00
Mike McQuaid
37cc59f206
Merge pull request #14552 from Homebrew/dependabot/bundler/Library/Homebrew/bindata-2.4.15
build(deps): bump bindata from 2.4.14 to 2.4.15 in /Library/Homebrew
2023-02-08 03:21:52 +01:00
BrewTestBot
a7bf304fbc
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-02-08 00:27:36 +00:00
Carlo Cabrera
61e82290d7
brew.sh: declare commands that call auto-update as an array
Follow up to #14536.
2023-02-08 02:41:41 +08:00
Mike McQuaid
b761344428
Merge pull request #14528 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.16.0
build(deps): bump rubocop-performance from 1.15.2 to 1.16.0 in /Library/Homebrew
2023-02-07 19:28:40 +01:00
BrewTestBot
15f7773097
Update RBI files for bindata.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-02-07 18:13:31 +00:00
Mike McQuaid
932d2cf3b7
Merge pull request #14548 from Homebrew/revert-14382-deprecate-disable-remove
Revert "Add deprecations and disables"
2023-02-07 19:11:26 +01:00
Mike McQuaid
f4e6048279
Merge pull request #14547 from Homebrew/revert-14412-homebrew_install_from_api_default
Revert "HOMEBREW_INSTALL_FROM_API: make the default for everyone."
2023-02-07 19:11:14 +01:00
BrewTestBot
52df41a523
brew vendor-gems: commit updates. 2023-02-07 18:07:21 +00:00
dependabot[bot]
f3d96a53ae
build(deps): bump bindata from 2.4.14 to 2.4.15 in /Library/Homebrew
Bumps [bindata](https://github.com/dmendel/bindata) from 2.4.14 to 2.4.15.
- [Release notes](https://github.com/dmendel/bindata/releases)
- [Changelog](https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc)
- [Commits](https://github.com/dmendel/bindata/compare/v2.4.14...v2.4.15)

---
updated-dependencies:
- dependency-name: bindata
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 18:03:19 +00:00
Mike McQuaid
1d0779a397
Revert "Merge pull request #14384 from MikeMcQuaid/homebrew_install_from_api_dev"
This reverts commit b8a9fe4d3311bcef26362cddee8dca043f4087e4, reversing
changes made to daf5b276e24d9d41ed8d03fa900d83438121f0c6.
2023-02-07 16:31:47 +01:00
Mike McQuaid
e26784f424
Merge pull request #14479 from hyuraku/apply-extend/os-to-dev-cmd/bottle
move `dev-cmd/bottle` methods to extend/os
2023-02-07 16:23:03 +01:00
hyuraku
ddf4d6af79 repair style 2023-02-07 23:53:09 +09:00
hyuraku
853421e968 repair setup_tar_and_args! method 2023-02-07 23:45:09 +09:00
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