Refactor WhatChanged into base class, use LazySoruceMapper

Review Request #1534 - Created Dec. 20, 2014 and submitted

Information
David Taylor
pants
884
1535
80ab6c1...
Reviewers
pants-reviews
benjyw, dturner-tw, jsirois, patricklaw

Switch to using LazySourceMapper to map changed files to targets.
LazySourceMapper is designed to map sources to targets without
loading any more of the BUILD graph than is required, which is
ideal for a what-changed use-case.

Refactoring the what-changed calculation into base class should make
it easier to support other tasks that require the set of changed
targets (or files). The WhatChanged task itself is now just a small
stub on top of it.

https://travis-ci.org/pantsbuild/pants/builds/44683965

./pants goal test tests/python/pants_test/tasks:what_changed

Issues

  • 0
  • 5
  • 0
  • 5
Description From Last Updated
Patrick Lawson
David Taylor
David Taylor
John Sirois
David Turner
David Taylor
Patrick Lawson
David Taylor
Review request changed

Status: Closed (submitted)

Change Summary:

991b6233b442369be2310ca58fbd7c4b93f72c89
Loading...