33347 Commits

Author SHA1 Message Date
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
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
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
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
3.6.15
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
Mike McQuaid
19daf9f91c
Merge pull request #14142 from cho-m/venv-link-manpages
language/python: optionally link manpages
2022-12-09 08:58:49 +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
dependabot[bot]
97f0fc17fa
build(deps): bump json_schemer in /Library/Homebrew
Bumps [json_schemer](https://github.com/davishmcclurg/json_schemer) from 0.2.23 to 0.2.24.
- [Release notes](https://github.com/davishmcclurg/json_schemer/releases)
- [Commits](https://github.com/davishmcclurg/json_schemer/compare/v0.2.23...v0.2.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 18:03:12 +00:00
Michael Cho
5c7d53476e
formula: add support for generating click shell completions 2022-12-08 09:31:04 -08:00
Mike McQuaid
b93a90f5af
Merge pull request #14227 from Homebrew/dependabot/bundler/Library/Homebrew/public_suffix-5.0.1
build(deps): bump public_suffix from 5.0.0 to 5.0.1 in /Library/Homebrew
2022-12-08 14:31:38 +00:00
Mike McQuaid
2fb9f9ca13
Merge pull request #14232 from MikeMcQuaid/brew_search_args
description*: fix argument handling of eval_all.
2022-12-08 10:29:27 +00:00
Mike McQuaid
69ef011985
Merge pull request #14221 from MikeMcQuaid/api_formula_handle_corruption
api/formula: handle JSON file corruption.
2022-12-08 10:06:50 +00:00
Mike McQuaid
639cb25c60
description*: fix argument handling of eval_all.
Fixes #14231.
2022-12-08 09:57:12 +00:00
Mike McQuaid
129bc46fc3
Merge pull request #14233 from MikeMcQuaid/homebrew_leadership_import
Homebrew-Leadership-Responsibilities: import changes.
2022-12-08 09:57:01 +00:00
Mike McQuaid
aa7e1304fb
Merge pull request #14229 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.13.10
build(deps): bump nokogiri from 1.13.9 to 1.13.10 in /Library/Homebrew
2022-12-08 09:50:43 +00:00
Mike McQuaid
b8c4326aa8
Merge pull request #14223 from MikeMcQuaid/brew_install_output_fetches
formula_installer: output fetching headers.
2022-12-08 09:42:08 +00:00
Mike McQuaid
e67901f236
api/formula: handle JSON file corruption.
If we can't parse the file: it's corrupt. Try again up to 3 times before
bailing.
2022-12-08 09:34:05 +00:00
Mike McQuaid
cc8781e0f8
Homebrew-Leadership-Responsibilities: import changes.
The PLC/TSC agreed this change in the private repository.
2022-12-08 09:30:41 +00:00
BrewTestBot
21500ece76
Update RBI files for nokogiri.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-08 04:31:38 +00:00
BrewTestBot
0de580d9e9
brew vendor-gems: commit updates. 2022-12-08 04:26:55 +00:00
dependabot[bot]
f978056e2c
build(deps): bump nokogiri from 1.13.9 to 1.13.10 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.9...v1.13.10)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 04:23:06 +00:00
BrewTestBot
6989e3681e
Update RBI files for public_suffix.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-07 18:11:01 +00:00
BrewTestBot
67c4992d09
brew vendor-gems: commit updates. 2022-12-07 18:05:16 +00:00
dependabot[bot]
7a582fde6b
build(deps): bump public_suffix from 5.0.0 to 5.0.1 in /Library/Homebrew
Bumps [public_suffix](https://github.com/weppos/publicsuffix-ruby) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/weppos/publicsuffix-ruby/releases)
- [Changelog](https://github.com/weppos/publicsuffix-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/weppos/publicsuffix-ruby/compare/v5.0.0...v5.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 18:01:09 +00:00
Mike McQuaid
781ffdab8e
Merge pull request #14225 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-12-07 15:25:22 +00:00
Kevin
fd8aaa49fd
Merge pull request #14207 from apainintheneck/cleanup-brew-prof
Cleanup `brew prof`
2022-12-06 19:07:17 -08:00
BrewTestBot
04f61a940e
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-12-07 00:27:14 +00:00
Eric Knibbe
4fe0d085bc
Merge pull request #14218 from EricFromCanada/create-prompt-name
dev-cmd/create: also prompt for name when run with `--cask`
2022-12-06 19:06:05 -05:00
Dawid Dziurla
a4d2aa8fa0
Merge pull request #14210 from dawidd6/bump-check-is-a-version
dev-cmd/bump: check if Repology output is a version first
2022-12-06 21:24:56 +01:00
Eric Knibbe
6cf955c830
Merge pull request #14202 from EricFromCanada/docs-maintainers-fixes
docs: update Maintainers section
2022-12-06 13:22:53 -05:00
EricFromCanada
8f445de261
dev-cmd/create: also prompt for name with --cask 2022-12-06 13:04:51 -05:00
EricFromCanada
9cc4766d33
docs: hyperlink updates
plus some reformatting
2022-12-06 12:52:03 -05:00
EricFromCanada
a329003e17
Maintainers docs: content & formatting updates 2022-12-06 12:52:03 -05:00
EricFromCanada
43070d73a1
Maintainers docs: adjust line breaks 2022-12-06 12:52:03 -05:00
Mike McQuaid
7ecc079cc2
Merge pull request #14222 from MikeMcQuaid/brew_desc_eval_all_formula_search_fix
cmd/desc: fix searching.
2022-12-06 14:26:43 +00:00
Mike McQuaid
5e7c19c8cb
formula_installer: output fetching headers.
This outputs headers for fetching to be consistent with those for
installation.
2022-12-06 14:09:49 +00:00
Mike McQuaid
28719f7fdc
cmd/desc: fix searching.
Ensure that the cache store is populated if we pass `--eval-all`.
2022-12-06 13:56:54 +00:00
Sean Molenaar
855a2b8096
Merge pull request #14209 from SMillerDev/feature/caveats/respect_require_root
caveats: print sudo in caveats if service requires it
2022-12-06 13:06:03 +01:00
Mike McQuaid
3070fd7fef
Merge pull request #14206 from apainintheneck/make-formula-default-on-linux
Make :formula? the default on Linux
2022-12-06 11:29:16 +00:00
Mike McQuaid
135725287b
Merge pull request #14220 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2022-12-06 11:21:32 +00:00
BrewTestBot
fbae560fd7
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2022-12-06 10:22:26 +00:00
Mike McQuaid
f656f816bf
Merge pull request #14219 from bevanjkay/cask-audit-enable-signing-flag
dev-cmd/audit: enable --[no-]signing flag for audits
2022-12-06 10:20:48 +00:00
Mike McQuaid
31f1c69865
Merge pull request #14215 from Homebrew/dependabot/bundler/Library/Homebrew/racc-1.6.1
build(deps): bump racc from 1.6.0 to 1.6.1 in /Library/Homebrew
2022-12-06 10:16:47 +00:00
Bevan Kay
74092bc40d
Update Library/Homebrew/dev-cmd/audit.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-06 20:50:00 +11:00
BrewTestBot
674f8dbd56
Update RBI files for racc.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-06 09:46:02 +00:00
BrewTestBot
1d1b325693
brew vendor-gems: commit updates. 2022-12-06 09:40:23 +00:00
dependabot[bot]
65b3ee647f
build(deps): bump racc from 1.6.0 to 1.6.1 in /Library/Homebrew
Bumps [racc](https://github.com/tenderlove/racc) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/tenderlove/racc/releases)
- [Changelog](https://github.com/ruby/racc/blob/master/ChangeLog)
- [Commits](https://github.com/tenderlove/racc/compare/v1.6.0...v1.6.1)

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

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