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

Issue 6257056: add charm-store-backed charm.Repo

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by fwereade
Modified:
11 years, 10 months ago
Reviewers:
mp+107390
Visibility:
Public.

Description

add charm-store-backed charm.Repo note that a fair chunk of the diff involves moving InfoResponse from store into charm (to defeat import loops) and Quote from state into charm (because it appears to be entirely charm-specific at the moment; I was tempted to tack it directly onto charm.URL, but didn't, because I recall it was originally intended to have an independent existence...) https://code.launchpad.net/~fwereade/juju/go-charmstore-repo/+merge/107390 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 20

Patch Set 2 : add charm-store-backed charm.Repo #

Patch Set 3 : add charm-store-backed charm.Repo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+407 lines, -58 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M charm/export_test.go View 1 1 chunk +4 lines, -0 lines 0 comments Download
A charm/repo.go View 1 1 chunk +145 lines, -0 lines 0 comments Download
A charm/repo_test.go View 1 1 chunk +203 lines, -0 lines 0 comments Download
M charm/url.go View 2 chunks +31 lines, -5 lines 0 comments Download
M charm/url_test.go View 1 chunk +19 lines, -0 lines 0 comments Download
M state/charm.go View 1 chunk +1 line, -1 line 0 comments Download
M state/internal_test.go View 1 chunk +0 lines, -19 lines 0 comments Download
M state/util.go View 1 chunk +0 lines, -22 lines 0 comments Download
M store/server.go View 2 chunks +2 lines, -11 lines 0 comments Download

Messages

Total messages: 5
fwereade
Please take a look.
11 years, 11 months ago (2012-05-25 14:23:53 UTC) #1
niemeyer
Looking nice. https://codereview.appspot.com/6257056/diff/1/charm/repo.go File charm/repo.go (right): https://codereview.appspot.com/6257056/diff/1/charm/repo.go#newcode19 charm/repo.go:19: type InfoResponse struct { Looks like this ...
11 years, 11 months ago (2012-05-25 20:31:53 UTC) #2
fwereade
Please take a look. https://codereview.appspot.com/6257056/diff/1/charm/repo.go File charm/repo.go (right): https://codereview.appspot.com/6257056/diff/1/charm/repo.go#newcode19 charm/repo.go:19: type InfoResponse struct { On ...
11 years, 10 months ago (2012-05-28 11:33:43 UTC) #3
niemeyer
LGTM, thanks!
11 years, 10 months ago (2012-05-29 09:57:04 UTC) #4
fwereade
11 years, 10 months ago (2012-05-29 10:10:36 UTC) #5
*** Submitted:

add charm-store-backed charm.Repo

note that a fair chunk of the diff involves moving InfoResponse from store
into charm (to defeat import loops) and Quote from state into charm (because
it appears to be entirely charm-specific at the moment; I was tempted to tack
it directly onto charm.URL, but didn't, because I recall it was originally
intended to have an independent existence...)

R=niemeyer
CC=
https://codereview.appspot.com/6257056

https://codereview.appspot.com/6257056/diff/1/charm/repo_test.go
File charm/repo_test.go (right):

https://codereview.appspot.com/6257056/diff/1/charm/repo_test.go#newcode95
charm/repo_test.go:95: log.Target = stdlog.New(s.log, "", stdlog.LstdFlags)
On 2012/05/25 20:31:53, niemeyer wrote:
> log.Target = c?  That said, The juju/go/testing package has a helper for that.
> You can grab the log out of c too.

Done.
Sign in to reply to this message.

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