33960 Commits

Author SHA1 Message Date
Michael Cho
1209fc046f
formula: show stderr by default when generating completions 2022-12-19 20:09:23 -08:00
Michael Cho
a0e9352ad2
cmd/formulae.sh: read cached JSON when using API 2022-12-19 19:41:48 -08:00
apainintheneck
f41089fff4 Use module_function in search.rb 2022-12-19 19:27:48 -08:00
Sam Ford
f03a400e28
Extract latest_version string to a constant 2022-12-19 18:15:51 -05:00
Sean Molenaar
72b3348fb1
feature: generate macOS pkg files 2022-12-19 21:26:24 +01:00
Nanda H Krishna
0e56c86c89
Merge pull request #14267 from Homebrew/dependabot/bundler/Library/Homebrew/did_you_mean-1.6.3
build(deps): bump did_you_mean from 1.6.2 to 1.6.3 in /Library/Homebrew
2022-12-19 14:48:54 -05:00
BrewTestBot
6ce716e591
brew vendor-gems: commit updates. 2022-12-19 18:06:36 +00:00
dependabot[bot]
419ff5adca
build(deps): bump did_you_mean from 1.6.2 to 1.6.3 in /Library/Homebrew
Bumps [did_you_mean](https://github.com/ruby/did_you_mean) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/ruby/did_you_mean/releases)
- [Changelog](https://github.com/ruby/did_you_mean/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby/did_you_mean/compare/v1.6.2...v1.6.3)

---
updated-dependencies:
- dependency-name: did_you_mean
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 18:01:21 +00:00
Michael Cho
04a61fbca4
items.sh: return early when no Taps directory 2022-12-19 09:28:12 -08:00
Dustin Rodrigues
5e9223d059
add explicit version for GitHub API 2022-12-19 12:00:12 -05:00
Mike McQuaid
7d04dd9d68
Merge pull request #14256 from eugenesvk/patch-2
docs: Fix wrong condition for an app rejection
2022-12-19 13:31:41 +00:00
Mike McQuaid
3a5e115977
Merge pull request #14258 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-expectations-3.12.1
build(deps): bump rspec-expectations from 3.12.0 to 3.12.1 in /Library/Homebrew
2022-12-19 13:31:23 +00:00
Mike McQuaid
fdcdef6fef
Merge pull request #14264 from gromgit/force-tap-as-user
root auto-taps should be done as Homebrew user
2022-12-19 13:26:23 +00:00
Adrian Ho
a76451602d root auto-taps should be done as Homebrew user
Closes https://github.com/Homebrew/brew/issues/14263.
2022-12-19 18:06:09 +08:00
Nanda H Krishna
f2fbbfe70c
Enable use of latest formula version in resource livecheck URLs 2022-12-19 00:12:16 -05:00
Bevan Kay
2614a29419
fix style 2022-12-19 14:43:16 +11:00
Bevan Kay
84f288be79
fix style 2022-12-19 14:39:48 +11:00
Bevan Kay
01f865f93a
update test 2022-12-19 14:35:31 +11:00
Bevan Kay
1ddd130ef9
add comment to .drop(), don't add blank lines to services array 2022-12-19 14:35:20 +11:00
apainintheneck
47b3f6fe6e Stop including/extending search.rb
- Instead use class methods.
- This is better than use it as a mixin
  when only a small number of methods are
  used in each class or module.
- It also allows us to conditionally
  require it in `brew install`.
- Removed unused search require in descriptions.rb.
2022-12-17 11:08:13 -08:00
apainintheneck
0ae416d0ee Refactor Search#search_descriptions
- Move cask logic back into method from extend/os and check
  whether to display it based on args since formula?
  is passed by default on Linux now
- Use #search_descriptions in `brew desc` instead of
  duplicating logic
- Remove need for extend/os/search
2022-12-17 10:03:41 -08:00
apainintheneck
ba664fa1b4 Move Search#search_casks out of extend/os
This doesn't need to be isolated anymore because
there is a check for the formula and cask args
and formula is passed by default on Linux now.
2022-12-17 09:27:33 -08:00
Evgeny
77726d1913
docs: Change comma style in Acceptable-Casks
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-17 14:31:48 +07:00
BrewTestBot
f8797e88b9
Update RBI files for rspec-expectations.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-16 18:12:50 +00:00
BrewTestBot
9609e46d50
brew vendor-gems: commit updates. 2022-12-16 18:05:04 +00:00
dependabot[bot]
840daaa2a3
build(deps): bump rspec-expectations in /Library/Homebrew
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.12.0...v3.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-16 18:01:19 +00:00
Evgeny
45cb6753b5
docs: Fix wrong condition for an app rejection
Swapped logic of rejection from work to failure and added an example
2022-12-16 20:16:09 +07:00
Sean Molenaar
884c4bec14
Merge pull request #14255 from SMillerDev/chore/docs/require_casks_pass_gatekeeper
docs: Document that casks should pass GateKeeper
2022-12-16 11:46:59 +01:00
Sean Molenaar
5724c495f5
docs: Document that casks should pass GateKeeper 2022-12-16 11:07:13 +01:00
Mike McQuaid
82d89bbbcb
Merge pull request #14240 from apainintheneck/add-casks-to-install-search
Show casks in install not found output
2022-12-15 09:07:04 +00:00
apainintheneck
3aac0fef7e Simplify cask search
The cask_tokens and cask_names arrays here
were almost identical so we'll just use
cask_tokens for both.
2022-12-14 19:27:59 -08:00
apainintheneck
0193caac2e Merge branch 'speed-up-cask-full-names' into add-casks-to-install-search 2022-12-14 00:01:57 -08:00
apainintheneck
363df2a648 Speed up cask search
Add new method to get all cask names
without using Cask.all which is slow
in this case.
2022-12-14 00:00:34 -08:00
apainintheneck
cb64bc4df3 Move pkg type logic into search_name
Now the search_name method takes the command line
args and only returns package types that line up
with those args.

That means it will only return casks if casks are valid
and same with formulae.
2022-12-13 22:50:00 -08:00
Kevin
0afc41ceef
Explain edge case in install/cmd
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-13 20:31:33 -08:00
Mike McQuaid
ed3789a0bb
Merge pull request #14249 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.40.0
build(deps): bump rubocop from 1.35.1 to 1.40.0 in /Library/Homebrew
2022-12-13 14:21:27 +00:00
Mike McQuaid
77c0d38c35
brew style --fix 2022-12-13 11:37:06 +00:00
Mike McQuaid
40f85af824
brew.sh: fix shellcheck. 2022-12-13 11:37:05 +00:00
Mike McQuaid
e71d1e2dd4
rubocop/lines: cleanup weird interpolation. 2022-12-13 11:37:05 +00:00
Mike McQuaid
4e03afeeb6
utils/github/api: curl format token, not a ruby one. 2022-12-13 11:37:05 +00:00
Mike McQuaid
08644386e1
Dockerfile: cleanup style, add comments. 2022-12-13 11:37:05 +00:00
Bo Anderson
917a1e7bff
rubocops/shell_commands: fix missing require 2022-12-13 11:37:05 +00:00
BrewTestBot
cd21875929
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-13 11:37:05 +00:00
BrewTestBot
426da6b951
brew vendor-gems: commit updates. 2022-12-13 11:37:05 +00:00
dependabot[bot]
0e03a1b6d9
build(deps): bump rubocop from 1.35.1 to 1.40.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.35.1 to 1.40.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.35.1...v1.40.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 11:37:04 +00:00
Mike McQuaid
85db0abf18
Merge pull request #14248 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.16.0
build(deps): bump rubocop-rspec from 2.15.0 to 2.16.0 in /Library/Homebrew
2022-12-13 10:31:21 +00:00
Mike McQuaid
79267e1e76
rubocop_rspec: fix incorrect failures. 2022-12-13 09:58:58 +00:00
BrewTestBot
77e374b305
Update RBI files for rubocop-rspec.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-13 09:40:27 +00:00
BrewTestBot
00d3fb3276
brew vendor-gems: commit updates. 2022-12-13 09:34:19 +00:00
dependabot[bot]
feabf4977f
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.15.0...v2.16.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 09:30:40 +00:00