Joffrey F
73434476b3
Merge pull request #211 from aanand/relative-errors-imports
...
Relative 'errors' imports, for consistency
2014-04-23 19:54:46 +02:00
Joffrey F
6c1f7f3e97
Merge pull request #198 from fcoelho/fix-volumes-from
...
Sanitize create_container input for volumes_from
2014-04-23 19:47:07 +02:00
Aanand Prasad
918ca7dddb
Relative 'errors' imports, for consistency
2014-04-23 18:15:00 +01:00
Tom Arnfeld
8acff57f6a
Added test for gzip compressed tar
2014-04-23 13:42:05 +01:00
Tom Arnfeld
45ef4ab931
Fix for pep8 failures
2014-04-23 13:36:36 +01:00
Tom Arnfeld
28eb629c87
Error with headers being NoneType
2014-04-23 13:24:14 +01:00
Tom Arnfeld
8983fa561c
Added ability to specify the full build context
2014-04-23 13:18:50 +01:00
Maxime Petazzoni
6fd343d76a
Merge pull request #203 from wallnerryan/issue-175
...
Add support for read-only bind-mounts (fixes #175 )
2014-04-21 17:21:25 -07:00
Ryan Wallner
77fec67c60
fixes #175 , fix flake8 erros
2014-04-16 14:40:08 -04:00
Nicolas Delaby
01b5a7d5e7
From api 1.10 dns and volumes should be transmitted to start()
2014-04-11 13:35:41 +02:00
Felipe Bessa Coelho
3fa6f231fa
Missed empty line for flake8
2014-04-09 13:24:57 -03:00
Felipe Bessa Coelho
16ad8198a9
Add test to check for the absence of volumes_from
2014-04-09 13:10:08 -03:00
Felipe Bessa Coelho
3198dd9fde
Sanitize create_container input
...
Client.create_container takes a volumes_from argument that should be: a
string, a list of strings, or None. If an empty list or dict is passed
instead, the docker daemon returns a 406 Client Error: Not Acceptable
2014-04-09 03:48:06 -03:00
Joffrey F
85ea42ecb3
Merge pull request #191 from rustyrobot/master
...
Create scope for docker client specific errors
2014-04-08 20:21:49 +02:00
Evgeniy L
18d4db09ec
Moved APIError exception to docker.errors module.
2014-04-07 13:31:13 +04:00
Evgeniy L
231042a520
Create scope for docker client specific errors
...
With more granular and specific exceptions user
will be able to handle errors properly.
Also changed raising of Exception to more specific
TypeError which python raises in case of wrong
arguments.
2014-04-06 12:02:13 +04:00
shin-
7f55a101f8
Bumped version to 0.3.1
2014-04-04 18:18:58 +02:00
shin-
4ba47000d3
Updated manifest to include all requirements files
2014-04-04 18:18:40 +02:00
shin-
8eedbc895e
Fixed integration tests
2014-04-04 18:16:47 +02:00
shin-
6b2f750100
Fixed tox dependencies
2014-04-04 17:50:33 +02:00
shin-
a37d0eea16
Added unit test for create_container with volumes_from
2014-04-04 17:11:00 +02:00
shin-
ad75b37a46
Merge branch 'volumes-from-as-list' of github.com:blackrobot/docker-py into blackrobot-volumes-from-as-list
2014-04-04 16:59:57 +02:00
shin-
54c904f806
Updated unit tests API version, flake8 fixes
2014-04-04 16:55:01 +02:00
Joseph Schorr
156d14efd1
Revert unneeded change
2014-04-04 16:47:23 +02:00
Joseph Schorr
9ae3bcd2f3
Make sure the build command in the client sends the auth credentials along. Required for "FROM " lines that pull from private registries
2014-04-04 16:47:23 +02:00
shin-
2d56149831
Separated test dependencies from runtime dependencies
2014-04-04 16:41:26 +02:00
shin-
6d78986cc3
Fixed multiplexed_socket_stream_helper
2014-04-04 16:02:20 +02:00
shin-
93bb0c5b10
Merge branch 'PY3_fixes' of github.com:macobo/docker-py into macobo-PY3_fixes
2014-04-04 15:56:21 +02:00
Damon Jablons
cdd52a172f
Added test for container with volumes_from
2014-04-01 16:08:25 -04:00
Damon Jablons
ced3d5d71a
Ensure that volumes_from exists
2014-04-01 16:08:06 -04:00
Damon Jablons
d3d594d0b6
Allow volumes_from to be an iterable
2014-04-01 15:20:13 -04:00
Maxime Petazzoni
445bcef386
Merge pull request #194 from mway/master
...
don't yield blank lines
2014-03-31 09:50:02 -07:00
Matt Way
66e6c9d4ef
don't yield blank lines
2014-03-30 16:04:52 -04:00
Joffrey F
bed0f7b83f
Merge pull request #192 from rustyrobot/fix-flake8
...
Fixes for flake8
2014-03-29 18:05:34 +01:00
Evgeniy L
2a1484f655
Fixes for flake8
...
Next rules were broken
* E265 block comment should start with '# '
* E713 test for membership should be 'not in'
2014-03-28 23:08:22 +04:00
Joffrey F
24cc9df5f5
Merge pull request #180 from StarvingMarvin/parse_repository_tag
...
parse_repository_tag function and accompanying test
2014-03-26 18:53:51 +01:00
Luka Stojanovic
74499e21e4
make flake happy
2014-03-24 16:10:31 +01:00
Luka Stojanovic
030516eb29
parse_repository_tag function and accompanying test
2014-03-24 16:10:31 +01:00
Deni Bertovic
69cd38ab86
initial take on adding support for tls auth with client certificates
2014-03-22 14:09:10 +01:00
Maxime Petazzoni
7e105f5727
Merge pull request #184 from ibuildthecloud/fix-chunking
...
Use Requests.iter_lines to fix #176
2014-03-19 11:19:29 -07:00
Darren Shepherd
e8b993ab8a
Use requests to read chunk data instead of parsing the raw stream
...
The previous code had a bug in which it assumed that the chunk data had
no newlines in it. In 0.9.0 newlines were added to the stream results,
which exposed this bug.
2014-03-19 08:43:13 -07:00
Darren Shepherd
d0985b02be
Ensure that stream=True is passed to requests when version >= 1.8
2014-03-19 08:41:59 -07:00
Joffrey F
7ea1195d28
Merge pull request #181 from dangra/strict-version
...
Fix API version comparison for 1.10
2014-03-18 15:39:19 +01:00
Daniel Graña
b1f1e363a4
remove reference to uninitialized variable and extra parameter in function call
2014-03-18 11:00:16 -03:00
Daniel Graña
159a42ad5f
Fix API version comparison
2014-03-18 11:00:16 -03:00
Maxime Petazzoni
8ffc1b269b
Merge pull request #178 from rutsky/disable-websocker-on-py3
...
Use different requirements list on Python 2 and 3 (fixes #174 )
2014-03-17 14:43:31 -07:00
Joffrey F
beb8142d41
Merge pull request #172 from jdeppe-pivotal/master
...
Support 'Domainname' in container creation
2014-03-17 18:14:58 +01:00
Vladimir Rutsky
5c850d4822
Use different requirements list on Python 2 and 3
...
In Python 3 websocker-client not required (and previously requiested
version doesn't work at all).
2014-03-17 10:37:26 +04:00
Karl-Aksel Puulmann
b4605fc728
Styling as per comment, decode to utf-8, join rather concat strings
2014-03-11 22:46:45 +02:00
Karl-Aksel Puulmann
af84a2de72
Python 3 fixes
2014-03-11 19:24:49 +02:00