Make option registration recursion optional.

Review Request #1870 - Created March 5, 2015 and submitted

Information
Benjy Weinberger
pants
40e601a...
Reviewers
pants-reviews
ity, jsirois, patricklaw, zundel
Previously every option registered on a scope was also implicitly
registered on all enclosed scopes, and those scopes could have
their own value for that option. Sometimes this makes sense,
e.g., --level, but often it doesn't.

This change adds a recursive= registration option, which is
False by default.

It also sets recursive=True on some global options where that
makes sense.

It fixes various tests and scripts as needed.

CI passes: https://travis-ci.org/pantsbuild/pants/builds/53271612

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Patrick Lawson
Benjy Weinberger
Eric Ayers
Eric Ayers
Benjy Weinberger
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as 435e04932fb44c9f53c6e8de69e1b63e3392c52c.

Loading...