Dont rewrite content identical to cached data
fix parenthesis for default environment variables
refs #484 to configure CORS
Merge pull request #549 from visualphoenix/bugfix/env_defaults

fix parenthesis for default environment variables
Merge pull request #544 from docker/lru_oprimize_put_content

Dont rewrite content identical to cached data
fix gunicorn arguments so that docker-registry can start without error
Merge pull request #484 from S1E11/master

to enable CORS tag API
Fix bugs when using MySQL as index database

1. MySQLdb will raise ProgrammingError when table doesn't exists. Use engine.has_table to check whether table exists for compatible
2. VARCHAR requires a length on dialect mysql. String length limit is according to [Docker Hub's limit](https://registry.hub.docker.com/account/repositories/add/) and [docker's valid namespace and repo regex](https://github.com/docker/docker/blob/master/registry/registry.go#L214)
Fix auth_basic exemption in sample nginx.conf
Add original comments to included nginx configuration.
Ignore pedentic hacking warning

- H803 disables verifying that commit message doesn't end with a dot

Docker-DCO-1.1-Signed-off-by: Olivier Gambier <olivier@docker.com> (github: dmp42)
Fix hacking complaints

intermittently complaining travis about CORS not being a module

Docker-DCO-1.1-Signed-off-by: Olivier Gambier <olivier@docker.com> (github: dmp42)
Merge pull request #555 from irachex/mysql

Fix bugs when using MySQL as index database
Fixed get_tags whe using storage_path
Added test
Merge pull request #548 from visualphoenix/bugfix/gunicorn_wont_start

BUGFIX: modify run.py gunicorn arguments so docker-registry can start without error
blacklist backports.lzma v0.0.4

backports.lzma recently bumped up to v0.0.4, adding namespace support
to the package. However, they forgot to call declare_namespace() in
their __init__.py. This causes pip install failures when running

    pip install file:///docker-registry#egg=docker-registry

From inside the Dockerfile.
Merge pull request #573 from deis/hotfix-pin-lzma

blacklist backports.lzma v0.0.4
Bumped stable version
Merge pull request #553 from docker/486-get-tags

Fixed get_tags whe using storage_path