blake-education/dogestry — pull request #11 by didip (2014-10-16 18:45:19+00:00)
Title: Parallelize S3 pull/push files + various bug fixes, take 2.

**NOTE**: I am closing PR https://github.com/blake-education/dogestry/pull/10 and replace it with this one to fix import paths so the PR can be merged as-is.

**Original Message**:

This is PR is essentially a merge of changes between 2 level of forks (aldrinleal and New Relic).

The changelog of what we, New Relic, made:

* Use `go fmt` on all files.

* Use the official `fsouza/go-dockerclient`

* Set `GOMAXPROCS` to consume all available CPU.

* Pulling files from S3 and pushing to S3 are parallelized using fixed pool of goroutines, currently hard-coded at 50.

* Removed the ability to set S3 prefix path. It makes debugging image name difficult.

* Logging functionality is now standarized to using `fmt` library.

* Added various code cleanup and test fixes.