Skip to content

Support same URL schemes as Docker - #259

Merged
shin- merged 3 commits into
masterfrom
166-complete-parse-host
Jul 9, 2014
Merged

shin- merged 3 commits into
masterfrom
166-complete-parse-host

Conversation

@shin-

@shin- shin- commented Jul 3, 2014

Copy link
Copy Markdown
Contributor

Fixes #166

@bfirsh @mpetazzoni I think I'm accounting for all the current and future use cases with this, but please review and let me know if I missed something.

@shin-

shin- commented Jul 3, 2014

Copy link
Copy Markdown
Contributor Author

This is still a breaking change, the original implementation doesn't allow to leave the port unspecified while docker-py currently does.

We can either stick with it and release a new major (it's kinda overdue anyway), or allow the port to be unspecified, with the potential security implications that this has. LMK what you think.

@bfirsh

bfirsh commented Jul 3, 2014

Copy link
Copy Markdown
Contributor

LGTM

@bfirsh

bfirsh commented Jul 3, 2014

Copy link
Copy Markdown
Contributor

/cc @aanand

@aanand

aanand commented Jul 3, 2014

Copy link
Copy Markdown
Contributor

LGTM too. If the Docker CLI doesn't allow an unspecified port, I don't think docker-py should either - and if it's a breaking change, so be it!

@shin-

shin- commented Jul 9, 2014

Copy link
Copy Markdown
Contributor Author

Thanks for the review guys :) merging!

shin- added a commit that referenced this pull request Jul 9, 2014
@shin-
shin- merged commit ed2b458 into master Jul 9, 2014
@shin-
shin- deleted the 166-complete-parse-host branch August 22, 2014 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker-py should support same URL schemes as Docker

3 participants