3989 Commits

Author SHA1 Message Date
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
Mike McQuaid
e3a178add2
info: make --json a valid argument.
This is already accepted so let's handle this in the logic instead.
2019-01-04 13:26:16 +00:00
Mike McQuaid
8144667a71
Cleanup periodically if HOMEBREW_INSTALL_CLEANUP is set.
This will become the default in a later version of Homebrew but has an
opt-out through HOMEBREW_NO_INSTALL_CLEANUP.

Also, always cleanup files older than 120 days and set the general
default value for "old" logs, casks etc. to 30 days.
2019-01-03 16:23:44 +00:00
Mike McQuaid
8cfcc7fcf0
cleanup: run and replace brew prune.
It's always seemed a bit pointless to me that we have both of these
commands. Given we're doing more and more to recommend (and eventually,
safely, automatically run (see #4760) `brew cleanup` let's roll their
functionality into a single command.
2019-01-02 13:21:34 +00:00
Gautham Goli
cffa796634
cleanup: Use CLI::Parser to parse args 2018-12-12 02:02:19 +05:30
Mike McQuaid
dbc43a7a2b
Merge pull request #5300 from GauthamGoli/uninstall-args
uninstall: Use CLI::Parser to parse args
2018-12-11 08:49:22 +00:00
Gautham Goli
f82a202995
uninstall: Use CLI::Parser to parse args 2018-12-10 23:49:19 +05:30
Gautham Goli
3b808c43cc
info: Use CLI::Parser to parse args 2018-12-10 23:22:13 +05:30
Mike McQuaid
38493a35a2
Merge pull request #5373 from EricFromCanada/man-page-text
docs: update other man page sections
2018-12-07 15:00:49 +00:00
Mike McQuaid
2a346241c2
link: prevent :provided_by_macos links everywhere.
We've not seen complaints about these and they are the default behaviour
on High Sierra and Mojave so it's easier to apply them consistently
everywhere.
2018-12-06 13:59:28 +00:00
EricFromCanada
799086f548 docs: update man page text 2018-12-04 10:47:38 -05:00
Mike McQuaid
9aee39825d
update: also update master when updating stable branch. 2018-11-25 20:16:13 +00:00
Mike McQuaid
069b7e89a9
reinstall: add build-from-source switch.
Fixes #5431.
2018-11-24 15:36:59 +00:00
Mike McQuaid
e0c4fca756
Merge pull request #5307 from GauthamGoli/list-args
list: Add help text
2018-11-24 11:46:04 +00:00
Mike McQuaid
5203756803
Merge pull request #5309 from GauthamGoli/postinstall-args
postinstall: Use CLI::Parser to parse args
2018-11-24 11:42:57 +00:00
Mike McQuaid
1177f04094
cmd/list: improve passed through option descriptions. 2018-11-24 11:23:14 +00:00
Markus Reiter
158a34bdad
Merge pull request #5316 from reitermarkus/rubocop
Deduplicate RuboCop config.
2018-11-23 00:20:19 +01:00
Mike McQuaid
7241156080
Merge pull request #5308 from GauthamGoli/pin-args
pin: Use CLI::Parser to parse args
2018-11-19 14:03:27 +00:00
EricFromCanada
e20ccfdb53 update: change repo remotes to HTTPS if possible
Older systems will install Homebrew via git://, but can switch to https:// if a newer curl is installed.
2018-11-14 16:44:35 -05:00
Gautham Goli
8180cc4ed4
Merge pull request #5306 from GauthamGoli/leaves-args
leaves: Use CLI::Parser to parse args
2018-11-14 13:51:36 +05:30
Gautham Goli
ec1c95f973
uses: Use CLI::Parser to parse args 2018-11-14 13:11:54 +05:30
Gautham Goli
8118cd4a38
Merge pull request #5304 from GauthamGoli/untap-args
untap: Use CLI::Parser to parse args
2018-11-14 12:48:40 +05:30
Gautham Goli
297df4f497
Merge pull request #5303 from GauthamGoli/unpin-args
unpin: Use CLI::Parser to parse args
2018-11-14 12:33:33 +05:30
Gautham Goli
f11891b317
Merge pull request #5302 from GauthamGoli/unpack-args
unpack: Use CLI::Parser to parse args
2018-11-14 12:32:28 +05:30
Gautham Goli
4abb5754d7
Merge pull request #5301 from GauthamGoli/unlink-args
unlink: Use CLI::Parser to parse args
2018-11-14 12:31:15 +05:30
Gautham Goli
75aae9c8a8
reinstall: Add verbose flag 2018-11-13 17:28:22 +05:30
Markus Reiter
cea9942a1d Fix code style. 2018-11-13 05:04:35 +01:00
Bryce Glover
fc40e2fa40 brew deps: Fix typo in --include-optional output.
This was missing its closing square bracket.
2018-11-12 17:56:06 -05:00