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

Issue 5758061: store: serve charm bundle data at /charm/<curl path>

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by niemeyer
Modified:
12 years, 2 months ago
Reviewers:
mp+96287
Visibility:
Public.

Description

https://code.launchpad.net/~niemeyer/juju/go-store-server-charms/+merge/96287 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 17

Patch Set 2 : store: serve charm bundle data at /charm/<curl path> #

Patch Set 3 : store: serve charm bundle data at /charm/<curl path> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -18 lines) Patch
M .bzrignore View 1 1 chunk +2 lines, -5 lines 0 comments Download
M store/server.go View 1 4 chunks +34 lines, -2 lines 0 comments Download
M store/server_test.go View 1 4 chunks +37 lines, -11 lines 0 comments Download

Messages

Total messages: 7
niemeyer
Please take a look.
12 years, 2 months ago (2012-03-07 03:19:20 UTC) #1
fwereade
LGTM https://codereview.appspot.com/5758061/diff/1/store/server.go File store/server.go (right): https://codereview.appspot.com/5758061/diff/1/store/server.go#newcode88 store/server.go:88: curl, err := charm.ParseURL("cs:" + r.URL.Path[len("/charm/"):]) 3 uses ...
12 years, 2 months ago (2012-03-07 14:29:54 UTC) #2
rog
https://codereview.appspot.com/5758061/diff/1/.bzrignore File .bzrignore (right): https://codereview.appspot.com/5758061/diff/1/.bzrignore#newcode1 .bzrignore:1: store*.6 this looks like an oversight. BTW since the ...
12 years, 2 months ago (2012-03-07 14:33:59 UTC) #3
niemeyer
https://codereview.appspot.com/5758061/diff/1/.bzrignore File .bzrignore (right): https://codereview.appspot.com/5758061/diff/1/.bzrignore#newcode1 .bzrignore:1: store*.6 On 2012/03/07 14:33:59, rog wrote: > this looks ...
12 years, 2 months ago (2012-03-07 15:01:03 UTC) #4
niemeyer
Please take a look.
12 years, 2 months ago (2012-03-07 15:34:57 UTC) #5
rog
LGTM but you might want to consider using http.StripPrefix. https://codereview.appspot.com/5758061/diff/1/store/server.go File store/server.go (right): https://codereview.appspot.com/5758061/diff/1/store/server.go#newcode78 store/server.go:78: ...
12 years, 2 months ago (2012-03-07 15:44:29 UTC) #6
niemeyer
12 years, 2 months ago (2012-03-07 16:00:17 UTC) #7
*** Submitted:

store: serve charm bundle data at /charm/<curl path>

R=fwereade, rog
CC=
https://codereview.appspot.com/5758061
Sign in to reply to this message.

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