27012 Commits

Author SHA1 Message Date
Nanda H Krishna
768ebe5750
Fix access to livecheck constants in formulae 2022-12-21 05:27:23 -05:00
Kevin
740f9ddcc6
Merge pull request #14260 from apainintheneck/cleanup-search-module
Cleanup search module
2022-12-20 18:09:34 -08:00
Branch Vincent
db6d3156f2
python: reinstate pip's --no-binary 2022-12-19 23:25:53 -08:00
Nanda H Krishna
30c3fc546f
Merge pull request #14262 from nandahkrishna/resource-livecheck-formula-latest
Enable use of latest formula version in resource `livecheck` URLs
2022-12-20 01:02:37 -05:00
Carlo Cabrera
4bcd166956
Merge pull request #14239 from orf/enable-wheel-cache
Allow pip to use the local wheel cache while installing dependencies
2022-12-20 13:15:43 +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
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
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
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
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
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
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
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
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
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
apainintheneck
daa87fa10f Add specific examples to install cmd
- provide specific install instructions
  when a cask/formula doesn't exist
  and we search for similar ones
- print and exit early if a named formula that
  was removed recently has the same name
- exit early if the tap is specified because
  we don't get good search results
2022-12-12 21:04:59 -08:00
BrewTestBot
96a93b342e
Update RBI files for rspec-mocks.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-12 18:12:31 +00:00
BrewTestBot
7b1ba5d4e4
brew vendor-gems: commit updates. 2022-12-12 18:06:48 +00:00
dependabot[bot]
d5ee175057
build(deps): bump rspec-mocks from 3.12.0 to 3.12.1 in /Library/Homebrew
Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/rspec/rspec-mocks/releases)
- [Changelog](https://github.com/rspec/rspec-mocks/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-mocks/compare/v3.12.0...v3.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 18:02:59 +00:00
Mike McQuaid
c1d7b10045
Merge pull request #14236 from apainintheneck/add-ignores-for-os-cop
Only use OS cop internally
2022-12-12 17:44:40 +00:00
Mike McQuaid
4a0e16fbd9
dev-cmd/bottle: use gnu-tar's --mtime.
This allows us to remove all the manual timestamp fiddling and lets
`gnu-tar` handle it for us instead (as-per the most recent
recommendations on https://reproducible-builds.org/docs/archives/).
2022-12-12 16:47:56 +00:00
apainintheneck
a481729ade Show casks in install not found output
- Move `search_names` and `print_missing_formula_help` out of `cmd/search.rb` to `search.rb`
- Change to using those functions in `cmd/install.rb` when a formula or cask doesn't exist
2022-12-10 13:02:38 -08:00
Tom Forbes
173e6bf1d3 Fix tests 2022-12-10 15:02:18 +00:00
Tom Forbes
2c378249aa Allow pip to use the local wheel cache while installing dependencies 2022-12-10 15:00:42 +00:00
apainintheneck
07ff122c8d Ignore os cop in tap Formula/Cask folders 2022-12-09 18:07:13 -08:00
Mike McQuaid
11cdffb4fe
Merge pull request #14235 from Homebrew/dependabot/bundler/Library/Homebrew/json_schemer-0.2.24
build(deps): bump json_schemer from 0.2.23 to 0.2.24 in /Library/Homebrew
2022-12-09 08:59:24 +00:00
Mike McQuaid
d90196b470
Merge pull request #14150 from cho-m/click-shell-completions
formula: add support for generating click shell completions
2022-12-09 08:59:08 +00:00
Michael Cho
776d6b934d
language/python: optionally link manpages 2022-12-08 17:03:59 -08:00
BrewTestBot
f623a44061
Update RBI files for json_schemer.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-08 18:13:09 +00:00
BrewTestBot
74568c77f4
brew vendor-gems: commit updates. 2022-12-08 18:07:02 +00:00