Merge lp:~clint-fewbar/pyjuju/fix-ssl-for-charm-store into lp:pyjuju
Proposed by
Clint Byrum
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Kapil Thangavelu | ||||
Approved revision: | 565 | ||||
Merged at revision: | 565 | ||||
Proposed branch: | lp:~clint-fewbar/pyjuju/fix-ssl-for-charm-store | ||||
Merge into: | lp:pyjuju | ||||
Diff against target: |
109 lines (+20/-8) 3 files modified
juju/charm/repository.py (+5/-2) juju/charm/tests/test_repository.py (+10/-4) juju/control/tests/test_upgrade_charm.py (+5/-2) |
||||
To merge this branch: | bzr merge lp:~clint-fewbar/pyjuju/fix-ssl-for-charm-store | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+118422@code.launchpad.net |
Description of the change
Ensure charm store SSL is authenticated
Use VerifyingContex
To post a comment you must log in.
lgtm, with these minors
https:/ /codereview. appspot. com/6443090/ diff/1/ juju/charm/ repository. py repository. py (right):
File juju/charm/
https:/ /codereview. appspot. com/6443090/ diff/1/ juju/charm/ repository. py#newcode130 repository. py:130: host = url.split('/')[2] urlparse( url).hostname
juju/charm/
this would be more robust with
urlparse.
https:/ /codereview. appspot. com/6443090/ diff/1/ juju/charm/ repository. py#newcode152 repository. py:152: host = url.split('/')[2]
juju/charm/
same with this one.
https:/ /codereview. appspot. com/6443090/