Introduce Subsystem dependencies.

Review Request #2509 - Created July 21, 2015 and submitted

Information
John Sirois
pants
jsirois/issues/1805/subsystem_dependencies
1805, 1845
2511
0b7232e...
Reviewers
pants-reviews
benjyw, stuhood
This adds the ability for Subsystems to express dependencies on other
susbsystems they depend on for their operation. The notion of per-task
subsystems is correspondingly broadened to include per-Optionable
subsystems, which includes both tasks and subsystems themselves.

New test coverage is added for the new `Subsystem.closure` gathering
method.

 src/python/pants/backend/jvm/tasks/jvm_task.py      |  2 +-
 src/python/pants/cache/cache_setup.py               |  2 +-
 src/python/pants/subsystem/subsystem.py             | 88 ++++++++++++++++++++++++++++++++++++++++----------
 tests/python/pants_test/subsystem/BUILD             |  1 +
 tests/python/pants_test/subsystem/test_subsystem.py | 80 ++++++++++++++++++++++++++++++++++++++++++---
 5 files changed, 149 insertions(+), 24 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/72037975
John Sirois
John Sirois
Stu Hood
Benjy Weinberger
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...