Merge pull request #848 from stevvooe/next-generation

Relax requirement for size argument during blob upload
Merge pull request #854 from stevvooe/next-generation

NG: Use filesystem driver in default configuration
Allows HTTP bind address to be overridden by an environment variable

Uses REGISTRY_HTTP_ADDR
Fix test
Adds pre-commit hook, hook config script, and a README

The pre-commit hook will automatically gofmt code in place, warning you
about any changes. It will also fail to commit if either golint or go
vet fails.
Merge pull request #855 from BrianBland/ng-configuration

Allows HTTP bind address to be overridden by an environment variable
Adds benchmarks for Put/Get, WriteStream/ReadStream, List, and Delete

Also fixes an open fd leak in the filesystem driver that these
benchmarks revealed.
Multi-go test
Adds auth package with token auth backend

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Refactor auth stringSet into common.StringSet

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Merge pull request #857 from BrianBland/ng-benchmarks

Adds benchmarks for Put/Get, WriteStream/ReadStream, List, and Delete
Merge pull request #856 from BrianBland/ng-hooks

Adds pre-commit hook, hook config script, and relevant README
Address auth package comments from stevvooe

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Fixes Dockerfile "go get" command

Now pulls down all dependencies for registry sub-packages
Merge pull request #860 from BrianBland/next-generation

Fixes Dockerfile "go get" command
Fixes typo on auth/token VerifyOptions field

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Merge pull request #859 from jlhawn/ng_auth_package

Adds auth package with token auth backend
Genericizes the yaml+environment versioned configuration parser

Registry configuration parsing uses the new parser with a single version
declaration and an environment prefix of "REGISTRY"
Fixes filesystem storage driver List semantics for nonexistent directory

Now returns a PathNotFoundError
Erm