Disallow Subsystem dependency cycles.

Review Request #2515 - Created July 23, 2015 and submitted

Information
John Sirois
pants
jsirois/subsystems/disallow_dep_cycles
1854
d3b671c...
Reviewers
pants-reviews
benjyw
Detect and raise when a Subsystem dependency cycle is detected.

 src/python/pants/subsystem/BUILD                    |  1 +
 src/python/pants/subsystem/subsystem.py             | 23 ++++++++++++++++++-----
 tests/python/pants_test/subsystem/test_subsystem.py |  6 +++---
 3 files changed, 22 insertions(+), 8 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/72233253
John Sirois
Benjy Weinberger
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...