Mike McQuaid
60046ac41c
Merge pull request #8893 from whoiswillma/william/integrate-brew-info
...
cmd/info: Add support for casks in brew info
2020-10-26 11:59:53 +00:00
William Ma
e9e63db825
search: Raise exception when no formulae/casks are found; Add --pull-request switch
2020-10-14 14:40:24 -04:00
William Ma
9e9e2e63e8
search: Print error message to stderr when not using a tty
2020-10-14 13:32:09 -04:00
Mike McQuaid
a0a9fa241f
Merge pull request #8851 from Akylzhan/patch
...
cmd/list.rb: --formula and --cask as default option on TTY
2020-10-13 11:52:19 +01:00
William Ma
a463348631
cli/named_args: Rename method to be more consistent
2020-10-12 09:22:29 -04:00
Akylzhan Sauranbay
c8809ce730
cmd/list.rb: --formula, --cask as default on TTY outputs
...
cmd/list.rb: --formula, --cask as default TTY:
cmd/list.rb: proper deprecated message on non TTY outputs
update manpage
update zsh completion
updated manpages/brew.1
update tests
return list_casks
list_spec.rb: not output to stderr
2020-10-12 14:52:03 +06:00
William Ma
4c36cf2e8e
cmd/info: Add --json=v2 for outputing formula and cask json
2020-10-10 16:34:01 -04:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
William Ma
9a8f4c7c96
cmd/info: Add support for casks
2020-10-09 19:57:48 -04:00
Mike McQuaid
2bdf3deb6f
Reduce shallow clone usage
...
GitHub has requested we request our usage of shallow clones. As a
result:
- do default to shallow clones on CI
- do not do --shallow-since when setting up new repositories in
`brew update`
- do not support shallow clones of homebrew-core at all
We may consider in future unshallowing all clones unconditionally.
2020-10-09 09:57:04 +01:00
Markus Reiter
e117a68f42
Force brew upgrade
to treat arguments as casks if --cask
is passed.
2020-10-08 13:43:15 +02:00
Markus Reiter
10e3b63b7b
Inline install
, reinstall
and upgrade
options.
2020-10-08 11:33:38 +02:00
Markus Reiter
d6b563e752
Support min_named :formula_or_cask
.
2020-10-08 11:12:17 +02:00
Markus Reiter
7743fed77b
Add “GLOBAL CASK OPTIONS” section to man page.
2020-10-08 11:07:35 +02:00
Markus Reiter
7f14e55f99
Add missing cask options to brew upgrade
.
2020-10-08 11:07:35 +02:00
Markus Reiter
e40eece17b
Add cask options to brew reinstall
.
2020-10-08 11:06:04 +02:00
Markus Reiter
16d5596fbd
Fix code style.
2020-10-08 11:06:04 +02:00
Markus Reiter
d443d9ab75
Include cask
in brew reinstall
help text.
2020-10-08 11:06:04 +02:00
Markus Reiter
67519d487a
Include cask
in brew install
help text.
2020-10-08 11:06:04 +02:00
Markus Reiter
9f40945c87
Fix installing taps in brew install
.
...
Partially reverts f54b458cdaec5091cf7abfa3e09e9050a94a4a26.
2020-10-07 12:12:10 +02:00
Jonathan Chang
6fb72f4d71
Deprecate GitHub basic authentication.
...
This API authentication path will be disabled on Nov 13 2020.
2020-10-01 17:18:11 +10:00
Markus Reiter
90f145114c
Pass Cask::Config
to Caskroom.casks
.
2020-10-01 01:03:13 +02:00
Markus Reiter
5f005f67cf
Refactor global Cask::Config
.
2020-10-01 00:57:10 +02:00
Mike McQuaid
86f4362d26
Merge pull request #8805 from hyuraku/cask_github_info
...
show cask info on browser
2020-09-30 09:26:09 +01:00
hyuraku
137d33290f
show cask info on browser
2020-09-28 13:10:06 +09:00
Markus Reiter
08be729af0
Support all cask options in brew install
.
2020-09-27 22:54:57 +02:00
Markus Reiter
f54b458cda
Allow installing casks with brew install
.
2020-09-27 22:53:32 +02:00
Mike McQuaid
9df637ffd1
Add HOMEBREW_UPDATE_REPORT_ONLY_INSTALLED
...
This allows reducing the volume of `brew update` output by only
outputting the changes to formulae that you have installed.
2020-09-11 11:59:47 +01:00
Misty De Meo
c06848c487
Fix printing MultipleVersionsInstalledError details
...
The refactor in 6e8f5d0958247e4b4d629866099ed2836a0e0863 means that the
exception no longer exposes the name of the package with multiple versions,
and as a result the rescuer is unable to print this information.
Because we now have a path in which MultipleVersionsInstalledError doesn't
have the name at all, we can't reasonably restore the old behaviour.
And since rack resolution happens purely internal to the function that
raises the exception, the caller has no way to know what name to use.
However, since the exception text gets printed anyway, we can just move
this text into the exception itself.
Fixes the following error:
```
Error: mpd has multiple installed versions
Error: undefined method `name' for #<MultipleVersionsInstalledError:0x00007fc6009d8870>
/usr/local/Homebrew/Library/Homebrew/cmd/uninstall.rb:137:in `rescue in uninstall'
/usr/local/Homebrew/Library/Homebrew/cmd/uninstall.rb:135:in `uninstall'
/usr/local/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'
```
2020-09-09 11:56:53 -07:00
Mike McQuaid
959d2b7fbb
Merge pull request #8644 from shcai97/update_latest_tag_fix
...
update: fix latest_tag in homebrew/brew update
2020-09-09 08:48:14 +01:00
shcai97
1789c27b32
use --key and --numeric-sort
...
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
2020-09-09 10:21:46 +08:00
shcai97
77f2a24a6b
use sort to fix latest_tag
2020-09-09 01:12:58 +08:00
shcai97
249e8e29f9
fix latest_tag in homebrew/brew update
2020-09-08 10:41:45 +08:00
Rylan Polster
a8bcd92628
deprecate_disable: refactor and add to info
2020-09-07 13:00:02 -04:00
Dustin Rodrigues
b3c991a674
search: use https for fink query url
2020-09-04 00:06:43 -04:00
Mike McQuaid
2e5272d04c
Deprecate/disable code for Homebrew 2.5.0.
...
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Dustin Rodrigues
d400b151e7
minor typo fixes
2020-09-02 12:23:14 -04:00
Seeker
f366280e18
formula: add any_installed_version
2020-09-01 09:45:54 -07:00
Seeker
5def0701ba
formula: rename opt_or_installed_prefix_keg
to any_installed_keg
2020-09-01 09:39:20 -07:00
Seeker
5acdcd26d0
formula: rename installed_prefix
to latest_installed_prefix
2020-09-01 09:32:32 -07:00
Mike McQuaid
8b97c27c21
brew style manual fixes
2020-09-01 14:26:45 +01:00
Mike McQuaid
e09147fe75
brew style --fix
2020-09-01 14:26:45 +01:00
Seeker
ce90a534da
install, livecheck: use opt_or_installed_prefix_keg
2020-08-31 10:34:56 -07:00
Mike McQuaid
dbe427073d
Merge pull request #8399 from MLH-Fellowship/migrate-to-args-named
...
args: Migrate usage of args loading methods to args.named
2020-08-25 10:07:27 +01:00
Markus Reiter
4937e4bbc3
Refactor and document Upgrade
.
2020-08-24 19:42:24 +02:00
William Ma
fa7bd3bff6
args: Migrate usage of args loading methods to args.named
2020-08-23 09:02:20 -04:00
miccal
2ed4196d73
cmd/update-report: fix output of new casks
2020-08-20 20:39:52 +08:00
Mike McQuaid
8041649cac
Merge pull request #8395 from miccal/cask_new
...
cmd/update-report: consistency across formulae and casks
2020-08-20 08:28:48 +01:00
Markus Reiter
338fe0b6e0
Merge pull request #8397 from reitermarkus/document-options
...
Refactor and document `Options`.
2020-08-20 05:00:12 +02:00
Dawid Dziurla
dd8e6f42a2
Merge pull request #8401 from cstyles/fix-outdated-command
...
Switch `greedy` argument to a keyword
2020-08-19 19:41:30 +02:00