Mike McQuaid
9216d8abe6
rubocop-rails: make fixes.
2020-12-02 10:43:04 +00:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
William Ma
447ea12d38
doctor: Move cask doctor checks to brew diagnostics
2020-07-10 10:36:59 -04:00
Mike McQuaid
a7fe0ed847
cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
EricFromCanada
c246207ba0
cmd: updates for command descriptions
2019-12-13 15:24:00 -05:00
EricFromCanada
9bfd597991
Format debug messages with odebug
2019-12-02 11:33:19 -05:00
EricFromCanada
8a8359cdd4
manpages: sentence rewording for readability
...
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
ae7492f3b5
Remove "undocumented options" that are documented options.
2019-02-16 20:07:28 +00:00
Mike McQuaid
6cb7a00f2d
cmd: remove --help headers and tweak docs.
2019-01-30 21:39:28 +00:00
Gautham Goli
172aba4508
doctor: Use CLI::Parser to parse args
2018-10-24 16:51:23 +05:30
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Mike McQuaid
7095738d1d
Remove config/doctor checks we no longer need
...
A bunch of these were needed before superenv, environment filtering or
on now long-unsupported versions of macOS.
2018-04-02 09:40:39 +01:00
EricFromCanada
1d2b4ed321
docs: add more missing option descriptions
...
and improve wording or formatting where necessary.
2018-02-01 16:06:17 -05:00
Mike McQuaid
5f471ee289
doctor: tell people not to file issues.
...
This stuff doesn't matter.
2017-12-11 15:27:18 +00:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Markus Reiter
cafe149780
Merge pull request #1145 from reitermarkus/module-function
...
Use `module_function` for `Homebrew` module.
2016-10-04 10:31:49 +02:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Markus Reiter
75e8b59aad
Add Formatter
module.
2016-10-01 20:00:49 +02:00
Markus Reiter
6d8ee395fa
Refactor Tty.
2016-10-01 20:00:49 +02:00
Mike McQuaid
2405c3e205
doctor: remove outdated Homebrew check.
...
This is no longer relevant in the bright, new tagged future.
Fixes #1151 .
2016-09-26 12:13:18 +01:00
Mike McQuaid
c45e36ffde
cmd/doctor: fix Rubocop warnings.
2016-09-11 17:58:59 +01:00
Mike McQuaid
984ed836bd
doctor: print check on --debug.
2016-08-16 11:16:37 +01:00
Andrew Janke
a3b70d38a7
brew-audit: pull style checks in to main audit output
...
This collects all violations for each formula in a single place, instead
of doing `brew style` outputs for all formulae first, and then the other
audit checks.
Closes #112 .
Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-21 14:45:33 -04:00
Max Nordlund
fa1fd70a37
Add all the top level comments
2016-04-10 22:59:25 +02:00
Martin Afanasjew
bcedfe64e8
doctor: simplify handling of slow checks
...
Some (rather slow) checks should run after all other checks. Make that
more obvious by removing them from the sorted list of all checks and
then re-appending them to the resulting list. (Should be slightly more
efficient than the `<array>.reverse.uniq.reverse` incantation, though
that hardly matters given the cumulated run time of all the checks.)
Slightly extend the list after verifying what the slowest checks are for
various Homebrew installations (slowest check last).
Closes Homebrew/homebrew#47753 .
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-09 18:52:41 +01:00
Baptiste Fontaine
0472b3f340
doctor: use respond_to? instead of NoMethodError
...
Closes Homebrew/homebrew#47715 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-05 17:51:54 +01:00
Baptiste Fontaine
9f1442db14
doctor: move code away from cmd/
...
Closes Homebrew/homebrew#47665 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-05 14:33:06 +01:00
Dominyk Tiller
dafa11af9a
doctor: add explicit anaconda warning
...
Closes Homebrew/homebrew#47540 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-04 17:22:53 +00:00
Dominyk Tiller
821dbab5f8
doctor: extend curl warning
2016-01-04 03:10:10 +00:00
Baptiste Fontaine
169b8fc039
Revert "minor perf improvements"
...
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
2015-12-26 23:00:38 +01:00
Baptiste Fontaine
48681c3f3a
minor perf improvements
...
Closes Homebrew/homebrew#47224 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-26 22:58:26 +01:00
Joao Antunes
61a47a4c0f
doctor: check_access_usr_local mention Cocktail.
...
Added mention to Cocktail app cleanup/repair/optimizations, that has
some features that when run they restore the /usr/local directory to
the original 'not writable' state in OS X 10.11 .
Closes Homebrew/homebrew#47379 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-26 07:37:44 +00:00
Misty De Meo
a8476c0dbe
doctor: remove Xcode 7 on 10.10 warning
2015-12-07 13:17:43 -08:00
Xu Cheng
2f50d3a279
doctor: use installed_prefixes
2015-11-29 20:24:30 +08:00
Dominyk Tiller
c7b0173688
doctor: tweak tmp sticky bit check
2015-11-04 12:53:31 +00:00
Dominyk Tiller
85469b99b1
doctor: fix typo
...
Fixes Homebrew/homebrew#45623 .
2015-11-02 21:04:03 +00:00
Dominyk Tiller
7d0c57cc9e
doctor: whitelist Paragon ExtFS dylib
2015-11-02 18:27:13 +00:00
Dominyk Tiller
8acac5aa71
doctor: unify chown messages
...
Closes Homebrew/homebrew#45398 .
2015-10-30 18:42:19 +00:00
Ben White
f7e649831d
doctor: Fix typo in uncommitted modifications warning message
...
Closes Homebrew/homebrew#45443 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-29 13:34:36 +01:00
Martin Afanasjew
30cad0608f
os: centralize check for pre-release OS X versions
...
Provide `OS::Mac.prerelease?` for pre-release checks and use it where
appropriate. This should simplify updating the test once a new OS X
release lands.
This also fixes a bug in `BuildError#dump`, where an empty warning
message was printed on El Capitan after a failed from-source build,
because the check there and the one in `check_for_unsupported_osx` were
out of sync.
Closes Homebrew/homebrew#45257 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-23 12:34:44 +01:00
Xu Cheng
ee332c4550
handle TapFormulaWithOldnameAmbiguityError
...
Closes Homebrew/homebrew#44705 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-08 16:02:33 +08:00
Dominyk Tiller
bdd27d7cc0
doctor: whitelist Paragon NTFS dylib
...
Closes Homebrew/homebrew#44542 .
2015-10-02 23:43:14 +01:00
Charlie Egan
a90363b605
doctor: minor grammar correction: 'pluralize' breakage
...
Closes Homebrew/homebrew#44497 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-02 19:06:05 +02:00
Xu Cheng
6b3704162f
doctor: point Xcode download to App Store for El Capitan
2015-10-01 14:39:25 +08:00