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
Collin Styles
d45701cf9b
Switch greedy
argument to a keyword
...
The `greedy` parameter was switched to a keyword parameter in
3a91c37e66661781a236422c4ab8fc597e09a7a1 but this call wasn't updated
accordingly.
2020-08-19 10:05:56 -07:00
Rylan Polster
60ec30d41e
formula: update license specification
2020-08-19 12:48:50 -04:00
Mike McQuaid
f6e035ec98
Merge pull request #8297 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.89.1
...
build(deps): bump rubocop from 0.88.0 to 0.89.1 in /Library/Homebrew
2020-08-19 17:40:32 +01:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
Bo Anderson
fc7c3c923a
cmd/update-reset: fix handling of multiple relative directories
2020-08-19 12:32:46 +01:00
Markus Reiter
5540eac625
Refactor and document Options
.
2020-08-19 10:40:33 +02:00
miccal
73b4ad3647
cmd/update-report: consistency for formulae and casks
2020-08-19 14:31:54 +08:00
Mike McQuaid
b932299222
Merge pull request #8376 from MLH-Fellowship/warn-conflicting-cask
...
named args: Warn when user references a formula with the same name as a cask
2020-08-18 09:20:00 +01:00
William Ma
b63b56f4c2
home: Remove warning for cask with same name
2020-08-17 13:08:31 -04:00
Markus Reiter
b5363025a6
Refactor and document BuildEnvironment
.
2020-08-14 18:41:44 +02:00
William Ma
39c2f8582d
home: Add disclaimer for opening formula that shadows cask
2020-08-14 11:02:30 -04:00
Markus Reiter
b48bc316e0
Use CLI::Parser
for cask
commands.
2020-08-13 05:15:15 +02:00
Maxim Belkin
ac6295491c
cmd/cleanup.rb: fix input handling
2020-08-12 08:22:45 -05:00
Mike McQuaid
3eba477b7c
Merge pull request #8286 from MLH-Fellowship/use-cask-args-cache-home
...
--cache, home: Use convenience methods to load formulae and casks
2020-08-11 14:04:28 +01:00
William Ma
b05acaaece
home: Use convenience methods for loading formulae and casks
2020-08-11 08:40:55 -04:00
William Ma
7d8aad4656
list: Replace Cask::Cmd with class method
2020-08-10 20:35:31 -04:00