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

Issue 6197085: Add BundleSha256 to charm state

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

Description

Add BundleSha256 to charm state https://code.launchpad.net/~fwereade/juju/go-charm-sha256/+merge/105654 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add Sha256 to charm state #

Total comments: 4

Patch Set 3 : Add BundleSha256 to charm state #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -19 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/charm.go View 1 2 3 chunks +21 lines, -13 lines 0 comments Download
M state/state.go View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M state/state_test.go View 1 2 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 9
fwereade
Please take a look.
11 years, 11 months ago (2012-05-14 12:58:44 UTC) #1
dave_cheney.net
LGTM. This is only mildly related to the change you have made, but what was ...
11 years, 11 months ago (2012-05-14 21:03:05 UTC) #2
niemeyer
https://codereview.appspot.com/6197085/diff/1/charm/bundle.go File charm/bundle.go (right): https://codereview.appspot.com/6197085/diff/1/charm/bundle.go#newcode151 charm/bundle.go:151: func (b *Bundle) Sha256() string { I've purposefully left ...
11 years, 11 months ago (2012-05-14 21:24:48 UTC) #3
niemeyer
On 2012/05/14 21:03:05, dfc wrote: > LGTM. > > This is only mildly related to ...
11 years, 11 months ago (2012-05-14 21:26:21 UTC) #4
fwereade
On 2012/05/14 21:24:48, niemeyer wrote: > https://codereview.appspot.com/6197085/diff/1/charm/bundle.go > File charm/bundle.go (right): > > https://codereview.appspot.com/6197085/diff/1/charm/bundle.go#newcode151 > ...
11 years, 11 months ago (2012-05-15 10:25:06 UTC) #5
niemeyer
Do you want to reuse this branch/CL to implement the logic in another way, or ...
11 years, 11 months ago (2012-05-15 20:20:00 UTC) #6
fwereade
Please take a look.
11 years, 11 months ago (2012-05-16 07:32:27 UTC) #7
niemeyer
LGTM, just trivials: https://codereview.appspot.com/6197085/diff/2002/state/charm.go File state/charm.go (right): https://codereview.appspot.com/6197085/diff/2002/state/charm.go#newcode77 state/charm.go:77: func (c *Charm) Sha256() string { ...
11 years, 11 months ago (2012-05-17 19:02:22 UTC) #8
fwereade
11 years, 11 months ago (2012-05-18 10:06:46 UTC) #9
*** Submitted:

Add BundleSha256 to charm state

R=dfc, niemeyer
CC=
https://codereview.appspot.com/6197085

https://codereview.appspot.com/6197085/diff/2002/state/charm.go
File state/charm.go (right):

https://codereview.appspot.com/6197085/diff/2002/state/charm.go#newcode77
state/charm.go:77: func (c *Charm) Sha256() string {
On 2012/05/17 19:02:23, niemeyer wrote:
> Can we please name this as BundleSha256? We already have the same method in
the
> store.

Done.

https://codereview.appspot.com/6197085/diff/2002/state/state.go
File state/state.go (right):

https://codereview.appspot.com/6197085/diff/2002/state/state.go#newcode108
state/state.go:108: Sha256:    bundleSHA256,
On 2012/05/17 19:02:23, niemeyer wrote:
> Let's pick one side of it: s/SHA/Sha/

Done.
Sign in to reply to this message.

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