{"push_id":723037461,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"3af37a184a3915c69f4b7bd9cd09dd79653936db","before":"1abe47b004b60ed9964fce8344910a4d29b02f4e","commits":[{"sha":"b2202480258b6f2f5f4e020e86cde975088c7792","author":{"email":"611c518744362208b53e7b6cfb4f421f57702d14@gmail.com","name":"Cody Gibb"},"message":"Improved artifact cache usability\n\nProvided a simpler interface for caching, which tasks may opt into: each VersionedTarget (VT) is given a directory in which to place its results, so when executing some task on invalid VersionedTargets, the task may place the artifacts of a VT within its corresponding directory. The act of writing the VT / artifact files to the cache is factored out of individual tasks, and is done \"automatically\" by Task->execute.\n\nImplemented the above functionality in various tasks to showcase various use cases (CppBinaryCreate, CppCompile, CppLibraryCreate, Checkstyle, Scalastyle, JarCreate). Note: this interface only works on isolated strategies, not global.\n\nWrote a test utility for verifying arbitrary unit tests are caching results.\n\nTesting Done:\nCI: https://travis-ci.org/pantsbuild/pants/builds/70269784\n\nAdded C++ integration tests for caching, and applied above mentioned test utility to various tests to verify caching.\n\nNote: There was an issue with Antlr unit tests, which began to fail when using the artifact cache. These tests were disabled: see lengthy comment in tests/python/pants_test/backend/codegen/tasks/test_antlr_gen.py for more details.\n\nReviewed at https://rbcommons.com/s/twitter/r/2449/","distinct":true,"url":"https://api.github.com/repos/pantsbuild/pants-for-travis-osx-ci/commits/b2202480258b6f2f5f4e020e86cde975088c7792"},{"sha":"3af37a184a3915c69f4b7bd9cd09dd79653936db","author":{"email":"89eb73fbef71259ee15b5c1414c7a16ad9206fb5@googlegroups.com","name":"Pants CI"},"message":"Sync of https://github.com/pantsbuild/pants/commit/b2202480258b6f2f5f4e020e86cde975088c7792","distinct":true,"url":"https://api.github.com/repos/pantsbuild/pants-for-travis-osx-ci/commits/3af37a184a3915c69f4b7bd9cd09dd79653936db"}]}