Commit Graph

3090 Commits

Author SHA1 Message Date
shin- acd2607407 Flake8 compliance + flake8 tests in tox.ini 2013-10-15 21:15:01 +02:00
shin- 86b341ddf9 Added travis.yml file 2013-10-15 19:30:45 +02:00
shin- f82506e942 Merge branch 'master' of https://github.com/dotcloud/docker-py 2013-10-15 19:20:03 +02:00
shin- 0808905636 Refactoring, Python 3 compatibility, Tests working with python 3, cleaned up imports. 2013-10-15 19:19:20 +02:00
Joffrey F 6fe13a3b84 Merge pull request #63 from aanand/remove-custom-404-message
Remove custom error message for image 404
2013-10-14 07:54:25 -07:00
shin- 07d791d50c Moved docstrings into README.md for consistency. 2013-10-14 16:39:52 +02:00
shin- cf46c4d2d9 Merge branch 'doc_fix' of git://github.com/kiorky/docker-py into kiorky-doc_fix 2013-10-14 16:31:08 +02:00
shin- c79045b43c Fix: push on private repositories. 2013-10-09 22:23:04 +02:00
Aanand Prasad 0739be1565 Remove custom error message for image 404 2013-10-03 15:15:22 +01:00
Aanand Prasad cf35b38433 Support https:// URLs (replacing with wss://) when attaching websocket 2013-10-03 14:44:33 +01:00
Aanand Prasad 6e659ba12a Move creation of websocket connection to its own method, so subclasses can override 2013-10-03 14:44:33 +01:00
Aanand Prasad c2d867b117 Implement attach_websocket() for attaching with WebSockets instead of HTTP streaming 2013-10-03 14:44:33 +01:00
Deni Bertovic 128cdb9112 fixed test list_containers to account for upstream changes 2013-10-03 11:56:44 +02:00
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
Mathieu Le Marec - Pasquet 64f7807fbe Documentation for binds 2013-09-30 23:53:47 +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