Invalidate tasks based on BinaryUtil.version.
Review Request #2516 - Created July 22, 2015 and submitted
The assumption is that binaries are uniquely identified by their version and name. This is at least true of pants-supported bintray binaries for protoc and ragel. Additionally invalidation is arranged for protoc plugins based on name. This is not ideal - it allows for changing a plugin without chaging its name - but its strictly better than not invalidating at all for changing plugin lists. src/python/pants/backend/codegen/tasks/BUILD | 1 + src/python/pants/backend/codegen/tasks/protobuf_gen.py | 24 +++++++++++++++--------- src/python/pants/backend/codegen/tasks/ragel_gen.py | 8 ++++---- tests/python/pants_test/backend/codegen/tasks/test_ragel_gen.py | 1 - 4 files changed, 20 insertions(+), 14 deletions(-)
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/72238973