Configurable Compression Level for Cache Artifacts

Review Request #1194 - Created Oct. 22, 2014 and submitted

Information
David Taylor
pants
fa66f64...
Reviewers
pants-reviews
benjyw, johanoskarsson, patricklaw

Allow changing (or disabling) the compression level of tarball artifacts via pants.ini

Also, require passing compression level in most init/callsites rather than allowing various default args to proliferate.

Default compression level in python gzip appears to be 9, so that is the default on TarballArtifact (replacing True).
The default when reading the config is currently 5, as we suspect that we're CPU rather than IO bound, but this change will also make it easier experiment with different values to find confirm that / find the optimal value.

https://travis-ci.org/pantsbuild/pants/builds/38756549
https://travis-ci.org/pantsbuild/pants/builds/38964649

Issues

  • 0
  • 3
  • 3
  • 6
Description From Last Updated
Johan Oskarsson
Patrick Lawson
Eric Ayers
David Taylor
David Taylor
David Taylor
Review request changed

Status: Closed (submitted)

Change Summary:

d07da3bbd20bd2907281018d69d26a7e4977464a 
Loading...