Page MenuHomePhabricator

arc unit output in arcanist repo with no installed linters is not as helpful as it could be
Closed, DuplicatePublic

Description

When invoking arc unit in the arcanist repo without having any linters installed, the output is almost super-helpful: P2042

It would be nice to aggregate this output, maybe by install command? Something like this:

SKIP ArcanistPuppetLintLinterTestCase::testVersion, ArcanistPuppetLintLinterTestCase::testLinter, <etc etc>
Unable to locate the following lint binaries:

  * pyflakes
  * pylint
  * <etc>

You may need to install these binaries, or adjust your linter configuration.
TO INSTALL: 
  `pip install pyflakes pylint <etc>`
  `npm install -g jsonlint jscs <etc>`
   <etc>

Alternately, leave the missing binary output as-is, and provide an arc bootstrap command that attempts to install as many of the relevant packages as possible.

Or to really go for the gold, we should get with the times and provide a curl http://phabricator.com/bootstrap.sh | sudo bash mechanism for installation of arc and libphutil. I predict that most engineers who sees "clone a git repo and adjust your $PATH" as an insurmountable barrier to adoption would happily execute arbitrary bash commands fetched via a non-TLS URL.