mirror of https://github.com/docker/docker-py.git
Merge branch 'release'
This commit is contained in:
commit
2dcedec7c9
|
@ -1,2 +1,2 @@
|
||||||
version = "3.2.0-dev"
|
version = "3.2.0"
|
||||||
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])
|
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])
|
||||||
|
|
|
@ -1,6 +1,63 @@
|
||||||
Change log
|
Change log
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
3.2.0
|
||||||
|
-----
|
||||||
|
|
||||||
|
[List of PRs/ issues for this release](https://github.com/docker/docker-py/milestone/45?closed=1)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* Generators returned by `attach()`, `logs()` and `events()` now have a
|
||||||
|
`cancel()` method to let consumers stop the iteration client-side.
|
||||||
|
* `build()` methods can now handle Dockerfiles supplied outside of the
|
||||||
|
build context.
|
||||||
|
* Added `sparse` argument to `DockerClient.containers.list()`
|
||||||
|
* Added `isolation` parameter to `build()` methods.
|
||||||
|
* Added `close()` method to `DockerClient`
|
||||||
|
* Added `APIClient.inspect_distribution()` method and
|
||||||
|
`DockerClient.images.get_registry_data()`
|
||||||
|
* The latter returns an instance of the new `RegistryData` class
|
||||||
|
|
||||||
|
3.1.4
|
||||||
|
-----
|
||||||
|
|
||||||
|
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/48?closed=1)
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
* Fixed a bug where build contexts containing directory symlinks would produce
|
||||||
|
invalid tar archives
|
||||||
|
|
||||||
|
3.1.3
|
||||||
|
-----
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
* Regenerated invalid wheel package
|
||||||
|
|
||||||
|
3.1.2
|
||||||
|
-----
|
||||||
|
|
||||||
|
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/47?closed=1)
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
* Fixed a bug that led to a Dockerfile not being included in the build context
|
||||||
|
in some situations when the Dockerfile's path was prefixed with `./`
|
||||||
|
|
||||||
|
3.1.1
|
||||||
|
-----
|
||||||
|
|
||||||
|
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/46?closed=1)
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
* Fixed a bug that caused costly DNS lookups on Mac OSX when connecting to the
|
||||||
|
engine through UNIX socket
|
||||||
|
* Fixed a bug that caused `.dockerignore` comments to be read as exclusion
|
||||||
|
patterns
|
||||||
|
|
||||||
3.1.0
|
3.1.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ Client reference
|
||||||
.. autoattribute:: swarm
|
.. autoattribute:: swarm
|
||||||
.. autoattribute:: volumes
|
.. autoattribute:: volumes
|
||||||
|
|
||||||
|
.. automethod:: close()
|
||||||
.. automethod:: df()
|
.. automethod:: df()
|
||||||
.. automethod:: events()
|
.. automethod:: events()
|
||||||
.. automethod:: info()
|
.. automethod:: info()
|
||||||
|
|
|
@ -18,6 +18,9 @@ if [ -z $VERSION ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "##> Removing stale build files"
|
||||||
|
rm -rf ./build || exit 1
|
||||||
|
|
||||||
echo "##> Tagging the release as $VERSION"
|
echo "##> Tagging the release as $VERSION"
|
||||||
git tag $VERSION || exit 1
|
git tag $VERSION || exit 1
|
||||||
if [[ $2 == 'upload' ]]; then
|
if [[ $2 == 'upload' ]]; then
|
||||||
|
@ -30,4 +33,7 @@ pandoc -f markdown -t rst README.md -o README.rst || exit 1
|
||||||
if [[ $2 == 'upload' ]]; then
|
if [[ $2 == 'upload' ]]; then
|
||||||
echo "##> Uploading sdist to pypi"
|
echo "##> Uploading sdist to pypi"
|
||||||
python setup.py sdist bdist_wheel upload
|
python setup.py sdist bdist_wheel upload
|
||||||
|
else
|
||||||
|
echo "##> sdist & wheel"
|
||||||
|
python setup.py sdist bdist_wheel
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue