• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 6135 / 2
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: add/port-target-adaptor-and-source-block
DEFAULT BRANCH: main
Ran 13 Aug 2015 01:46PM UTC
Files 347
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Aug 2015 01:38PM UTC coverage: 68.418% (-0.06%) from 68.476%
CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'"

push

travis-ci

Benjy
Improve cmd-line help output. #docfixit

- Only print help for the scopes the user asked for (and anything
  under them).  Previously we printed help for all tasks under any
  goals the user specified. E.g., `./pants help compile.java` would
  print all compile help, including those for other tasks.
- Print help for subsystems, if asked. E.g., ./pants help cache
  now shows help for global cache options. This falls nicely out of the
  implementation of the point above.
- Be smarter about detecting whether a cmd-line token is a target spec
  or an unrecognized scope, so we can issue an appropriate error in
  the second case.
- Print the first line of an optionable's docstring in the help.

TODO: The subsytem help printing still needs some work. For example
      you can do 'pants help jvm' and get help for the global jvm
      subsystem, even though nothing uses it.  John's pending change
      to have subsystems know what scope they're embedded in should
      help here.

TODO: This no longer prints the goal description before the help for all
      options for tasks under the goal. But that can easily be restored
      by making Goal an Optionable with a description (but, presumably,
      no registered options). Will follow up with this soon.

Testing Done:
CI passes: https://travis-ci.org/pantsbuild/pants/builds/75165925

Reviewed at https://rbcommons.com/s/twitter/r/2599/

14235 of 20806 relevant lines covered (68.42%)

0.68 hits per line

Source Files on job 6135.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'")
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6135
  • Travis Job 6135.2
  • ef7c8b9c on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#6131.2)
  • Next Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#6136.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc