Support Configurations extending one, merging N.

Review Request #3023 - Created Oct. 23, 2015 and submitted

Information
John Sirois
pants
jsirois/issues/2418/flexible_inheritance
2418, 2436
3025
0d48a7b...
Reviewers
pants-reviews
ity, patricklaw, stuhood
Previously a Configuration could only either extend one other or merge
one other, but not both.  This change allows for:
  `X extends A merges B, C, ...`.

A test is added for the new capability an semantics and BUILD files are
adjusted.

 src/python/pants/engine/exp/configuration.py                                     | 85 ++++++++++++++++++++++++++++----------------------
 tests/python/pants_test/engine/exp/examples/graph_test/self_contained.BUILD      |  2 +-
 tests/python/pants_test/engine/exp/examples/graph_test/self_contained.BUILD.json |  2 +-
 tests/python/pants_test/engine/exp/test_configuration.py                         | 38 +++++++++++++---------
 4 files changed, 73 insertions(+), 54 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/86963193
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...