Commit Graph

176 Commits

Author SHA1 Message Date
Deni Bertovic afbfc703ca integration test fix
make the mount point for shared.txt reside in the /tmp/ folder
because if it resides in the lib folder docker sets the owner of the
folder as root inside the container so then when the container exists
the test fails to cleanup and remove the shared.txt file, and breaks git as well.
2013-10-03 11:55:02 +02:00
Deni Bertovic 1ce8dc962c python3 fixes
Fixed imports to be compatible with python3 on various places in the client lib
and in the tests themselves.
2013-10-03 11:55:02 +02:00
Deni Bertovic 7fbc41ea7f removed unused FAKE_INSPECT_DATA 2013-10-03 11:51:12 +02:00
Deni Bertovic 5fe16773d9 fixed exception handling in _raise_for_status 2013-10-03 11:51:12 +02:00
Deni Bertovic 7c80127eb7 refactored tests
Using the mock library. Checking that every Client method gets
tested for not raising an Exception and for construting the request
params correctly.
2013-10-03 11:51:12 +02:00
Deni Bertovic 320fcdeed9 added mock to requirements 2013-10-03 11:51:12 +02:00
Deni Bertovic 80e11964f1 initial import of unit test and mocks for the docker api 2013-10-03 11:51:12 +02:00
Deni Bertovic 8047fb4cb4 reamed test.py to integration_test.py 2013-10-03 11:51:12 +02:00
shin- 26b291bd32 only_ids in /containers/ps removed, filter on client side 2013-09-30 20:11:42 +02:00
shin- 6c55b63f22 Removed logger dependency (no warnings) + do not break push for API versions < 1.5 2013-09-30 19:57:10 +02:00
Mathieu Le Marec - Pasquet b2c2a1b87f Fix: authorized but warned non loggued pull/push 2013-09-30 18:17:55 +02:00
Joffrey F fadc6f2f42 Merge pull request #56 from kiorky/import_image_tarball
support tarball imports
2013-09-30 09:04:07 -07:00
Mathieu Le Marec - Pasquet 2ecc7990cb support tarball imports 2013-09-30 18:00:06 +02:00
Joffrey F 3288e9f9b0 Merge pull request #51 from webitup/master
Support the "-rm" parameter for the build method
2013-09-30 08:47:25 -07:00
Joffrey F 79beddda55 Merge pull request #58 from micahhausler/master
Removed unused param in README
2013-09-29 18:57:35 -07:00
micahhausler 1ca7f2370a Removed unused param 2013-09-29 17:19:52 -04:00
dmp 8c3900ecc5 Update README (rm param in build method) 2013-09-28 15:49:01 +02:00
dmp 0c41f6ff9b Support rm parameter for build 2013-09-28 15:42:43 +02:00
shin- 6d4c30287d Fixed MANIFEST file 2013-09-27 20:10:29 +02:00
shin- 06faa27a7a Added MANIFEST file 2013-09-27 20:09:31 +02:00
shin- 3754edc267 Bumped version to 0.2.1 2013-09-27 19:38:16 +02:00
Joffrey F 3cfa23c206 Merge pull request #48 from denibertovic/master
fix tox.ini file
2013-09-26 06:41:55 -07:00
Deni Bertovic 4c040359d0 fix tox.ini file
Tox now uses the development client lib in the local repo instead
if using setup.py to install it into every environment. Also
added deps that points to requiremnts.txt so tox installs the needed
dependencies
2013-09-26 00:37:17 +02:00
shin- 1be689da4a Syntax error 2013-09-25 18:50:49 +02:00
shin- 4c4e66a012 Fixed bugs in Client.login 2013-09-25 18:48:04 +02:00
shin- 78481e2159 Use requirements.txt to determine requires in setup.py 2013-09-25 18:46:02 +02:00
Joffrey F b01c1bf1fc Merge pull request #45 from dotcloud/43-urllib3-dep
If requests.packages.urllib3 isn't present try to import urllib3 directly
2013-09-23 08:53:19 -07:00
Joffrey F 1c161a4ab1 Merge pull request #46 from adrien-candiotti/master
Update utils.py - the tar function in utils is a non member function but...
2013-09-23 08:53:07 -07:00
Adrien Candiotti cc9e96f546 Update utils.py - the tar function in utils is a non member function but has a self.
The problem explained in the title cause the build function of the client to fail when giving a folder parameter : the tar function is called with only one parameter.
2013-09-22 22:35:33 -07:00
shin- 53af7e8140 If requests.pqckqges.urllib3 isn't present try to import urllib3 directly 2013-09-20 16:54:30 +02:00
Joffrey F 6ca4bb79c1 Merge pull request #42 from dotcloud/0.2.0-dev
version 0.2.0
2013-09-18 05:17:21 -07:00
shin- cf2da51425 Fixed doc for Client.start 2013-09-18 14:14:39 +02:00
shin- aa1f798980 Added basic Dockerfile 2013-09-14 02:32:35 +02:00
shin- 8b83cf033d Fixed typos in README 2013-09-14 00:58:17 +02:00
shin- 2108a54fcb Bumped version in setup.py and changed development status from alpha to beta 2013-09-14 00:56:34 +02:00
shin- afba52dcdd Added utils.ping and used to expand registry URL (http VS https) 2013-09-14 00:55:48 +02:00
shin- addecd4942 Updated changelog 2013-09-12 01:17:34 +02:00
shin- e07e0599e8 Added lxc_conf param to Client.start 2013-09-12 00:28:11 +02:00
shin- e2e5b9e0fd Merge branch 'master' into 0.2.0-dev 2013-09-12 00:00:06 +02:00
shin- b712028f74 Merge branch 'master' of https://github.com/dotcloud/docker-py 2013-09-11 23:45:36 +02:00
shin- c8e5a6dab1 Methods that previously supported multi-args are now single-argument. Doc and tests updated accordingly. 2013-09-11 23:44:58 +02:00
shin- 58bc2be5a5 Merge branch 'implement-top-and-copy' of git://github.com/aanand/docker-py into 0.2.0-dev 2013-09-11 21:21:18 +02:00
shin- c132d2b70d Fixed tests 2013-09-11 21:20:42 +02:00
shin- 9a92d68cf1 Merge branch 'better-error-reporting' of git://github.com/aanand/docker-py into 0.2.0-dev
Conflicts:
	docker/__init__.py
	docker/client.py
2013-09-11 21:14:42 +02:00
shin- b0b4eee453 newline 2013-09-11 21:05:40 +02:00
shin- 60ecc31e61 Fixed some issues with Client.pull + added auth support if version>=1.5 2013-09-11 21:04:36 +02:00
shin- 208fb0366f Use pseudo-constant for index URL 2013-09-10 20:38:14 +02:00
shin- 26933543fe Added license header to .py files 2013-09-10 20:34:03 +02:00
shin- 99c9eadc82 Cleanup, externalized into modules, fixed auth 2013-09-10 20:31:03 +02:00
shin- dc3937faa8 Fixed several auth bugs 2013-09-10 02:21:33 +02:00