Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1288)

Issue 6443090: Ensure charm store SSL is authenticated

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by SpamapS
Modified:
11 years, 8 months ago
Reviewers:
mp+118422, hazmat
Visibility:
Public.

Description

Ensure charm store SSL is authenticated Use VerifyingContextFactory to ensure charm store interaction is authenticated https://code.launchpad.net/~clint-fewbar/juju/fix-ssl-for-charm-store/+merge/118422 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M juju/charm/repository.py View 3 chunks +5 lines, -2 lines 2 comments Download
M juju/charm/tests/test_repository.py View 3 chunks +10 lines, -4 lines 0 comments Download
M juju/control/tests/test_upgrade_charm.py View 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 2
SpamapS
Please take a look.
11 years, 8 months ago (2012-08-06 20:30:05 UTC) #1
hazmat
11 years, 8 months ago (2012-08-08 11:11:55 UTC) #2
lgtm, with these minors

https://codereview.appspot.com/6443090/diff/1/juju/charm/repository.py
File juju/charm/repository.py (right):

https://codereview.appspot.com/6443090/diff/1/juju/charm/repository.py#newcod...
juju/charm/repository.py:130: host = url.split('/')[2]
this would be more robust with
urlparse.urlparse(url).hostname

https://codereview.appspot.com/6443090/diff/1/juju/charm/repository.py#newcod...
juju/charm/repository.py:152: host = url.split('/')[2]
same with this one.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b