Mike McQuaid
515d4c023d
--env: use CLI::Parser.
2019-01-30 21:38:44 +00:00
Mike McQuaid
93799ba71a
--cellar: use CLI::Parser.
2019-01-30 21:38:44 +00:00
Mike McQuaid
8fca70e76b
--cache: use CLI::Parser.
2019-01-30 21:38:44 +00:00
Mike McQuaid
51a260cf1c
deps: accept formula options.
...
Also, cleanup usage of `<formula>`.
As requested in comments of #5587 .
2019-01-30 13:18:02 +00:00
Mike McQuaid
867b155479
Add missing conflicts to command options.
2019-01-29 19:39:41 +00:00
Mike McQuaid
9eabcdad7d
Make install/reinstall/upgrade options more consistent.
2019-01-29 19:25:59 +00:00
Gautham Goli
22c2b06fa5
cmd/upgrade: Use CLI::Parser to parse args
2019-01-29 16:58:44 +00:00
Mike McQuaid
3bdc4c294d
Merge pull request #5201 from GauthamGoli/fetch-args
...
fetch: Use CLI::Parser to parse args
2019-01-29 14:11:36 +00:00
Mike McQuaid
618f75c071
Merge pull request #5619 from GauthamGoli/install-args
...
install: Use CLI::Parser to parse args
2019-01-29 14:11:22 +00:00
Gautham Goli
c3ba863a30
cmd/install: Add description for --fetch-HEAD
option
2019-01-29 18:35:22 +05:30
Mike McQuaid
fe8f3218d3
cmd/fetch: add missing --build-bottle
argument.
2019-01-29 11:35:41 +00:00
Gautham Goli
a6a3ed1cee
fetch: Use CLI::Parser to parse args
2019-01-29 11:35:40 +00:00
Mike McQuaid
36016f18a8
cmd/install: fix style.
2019-01-29 09:38:20 +00:00
Mike McQuaid
24eb8e8e54
Remove (now) unused invalid_option_names.
...
This is handled by `OptionParser` now instead in `cmd/install`.
2019-01-29 08:31:45 +00:00
Mike McQuaid
fd74ce2de6
cmd: remove misrendered markdown link.
2019-01-29 08:31:10 +00:00
Mike McQuaid
9126a5cf8d
cmd/install: fix missing formula handling.
2019-01-29 08:30:22 +00:00
Mike McQuaid
1226470b07
cmd/install: tweak formula option code/output.
2019-01-29 08:30:07 +00:00
Mike McQuaid
5a95d80b5e
cmd/install: fix --keep-tmp description.
2019-01-29 08:29:39 +00:00
Mike McQuaid
5084831a2b
vendor-install: use Mavericks portable Ruby.
...
This is not universal so is smaller (8MB vs 12MB). It also performs
5-10% faster at:
https://rubybench.org/ruby/ruby/releases?result_type=array_sample_100k___50k
2019-01-27 13:24:40 +00:00
Gautham Goli
b40579f69a
install: Use CLI::Parser to parse args
2019-01-27 18:24:33 +05:30
Mike McQuaid
9b5ab7fbb7
Merge pull request #5598 from MikeMcQuaid/odeprecated-odisabled
...
Update deprecations and cleanup
2019-01-27 12:13:26 +00:00
Mike McQuaid
2dce15e9e2
Merge pull request #5590 from GauthamGoli/search-args-docs
...
search: Add descriptions to option declarations
2019-01-24 12:44:37 +00:00
Mike McQuaid
51f3dd315b
Merge pull request #5589 from GauthamGoli/gist-logs-args
...
gits-logs: Use CLI::Parser to parse args
2019-01-24 12:44:28 +00:00
Mike McQuaid
b4d02d0e2b
Merge pull request #5587 from GauthamGoli/deps-args
...
deps: Use CLI::Parser to parse args
2019-01-24 12:44:14 +00:00
Mike McQuaid
eed1444d61
Update deprecations and cleanup
...
- Move `odeprecated` to `odisabled`
- Remove `odisabled`
- Enable automatic cleanup on install/reinstall/upgrade.
2019-01-23 21:57:40 +00:00
Mike McQuaid
e43d400fd2
gist-logs: add missing install require.
...
Fixes #5586
2019-01-23 08:37:28 +00:00
Gautham Goli
e2e4f93f06
search: Add descriptions to option declarations
2019-01-23 10:14:31 +05:30
Gautham Goli
382b5447d8
gits-logs: Use CLI::Parser to parse args
2019-01-23 09:20:49 +05:30
Gautham Goli
7b6d1f774d
deps: Use CLI::Parser to parse args
2019-01-23 08:34:24 +05:30
Mike McQuaid
6899478901
Merge pull request #5567 from GauthamGoli/command-args
...
command: Use CLI::Parser to parse args
2019-01-22 14:02:57 +00:00
Gautham Goli
66ed68f4eb
Merge pull request #5576 from GauthamGoli/sh-args
...
sh: Use CLI::Parser to parse args
2019-01-22 19:00:03 +05:30
Gautham Goli
aea6bb78f2
Merge pull request #5569 from GauthamGoli/config-args
...
config: Use CLI::Parser to parse args
2019-01-22 18:59:38 +05:30
Gautham Goli
4cf2bd2269
Merge pull request #5568 from GauthamGoli/commands-args
...
commands: Use CLI::Parser to parse args
2019-01-22 18:59:01 +05:30
Gautham Goli
8c8eec1b1e
Merge pull request #5566 from GauthamGoli/analytics-args
...
analytics: Use CLI::Parser to parse args
2019-01-22 18:57:35 +05:30
Gautham Goli
114d5b091b
sh: Use CLI::Parser to parse args
2019-01-22 01:41:45 +05:30
Mike McQuaid
589ed8e17c
Tweak diagnostic checks
...
- Make `gist-logs` perform more checks
- Don't complain about a non-/usr/local install at install time unless
actually building from source.
- Show more checks output on a build error
- Improve naming of checks methods
2019-01-21 19:23:31 +00:00
Mike McQuaid
4ff0ecd443
gist-logs: don’t upload on unsupported configurations.
2019-01-21 13:58:04 +00:00
Gautham Goli
0eecbb21fa
config: Use CLI::Parser to parse args
2019-01-20 21:29:19 +05:30
Gautham Goli
c5f01f203a
commands: Use CLI::Parser to parse args
2019-01-20 20:42:15 +05:30
Gautham Goli
b1a36a13e2
command: Use CLI::Parser to parse args
2019-01-20 20:08:14 +05:30
Gautham Goli
fb31ff8942
analytics: Use CLI::Parser to parse args
2019-01-20 20:04:19 +05:30
Gautham Goli
70c5b6f804
Merge pull request #5560 from GauthamGoli/cat-args
...
cat: Use CLI::Parser to parse args
2019-01-20 19:50:56 +05:30
Gautham Goli
9d287483b7
cat: Use CLI::Parser to parse args
2019-01-19 19:36:55 +05:30
Gautham Goli
f7689b381e
switch: Use CLI::Parser to parse args
2019-01-18 22:03:30 +05:30
Mike McQuaid
a24197bcc9
Fix some bottling logic
...
- We've never supported `devel` bottles so don't bother outputting their
status to `brew info`
- Don't `brew upgrade` or `brew reinstall` bottles if they were
previously built as a bottle unless there's no bottles defined at all
(rather than there was no compatible bottles). Fixes #5532 .
2019-01-14 16:47:07 +00:00
Mike McQuaid
3771d2d447
Merge pull request #5527 from MikeMcQuaid/fix-search-regex-warning
...
cmd/search: fix truncated regex warning.
2019-01-12 12:23:25 +00:00
Mike McQuaid
9135d16d54
cmd/search: fix truncated regex warning.
...
`ohai` doesn't really work for this case.
Fixes #5520 .
2019-01-12 11:57:37 +00:00
Mike McQuaid
b2614ddcb6
update: make git rebase be quiet.
...
`--quiet` doesn't seem to be working as expected.
2019-01-12 11:55:06 +00:00
Mike McQuaid
170c5493a4
Update deprecations
...
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Shaun Jackman
d5b2415c87
info: Fix style: Use a guard clause
...
Fix the style error:
Library/Homebrew/cmd/info.rb:88:7: C:
Use a guard clause instead of wrapping the code inside a conditional expression.
2019-01-04 09:43:51 -08:00