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

Issue 12924043: worker/uniter/charm: git config user.email on init (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by axw
Modified:
10 years, 7 months ago
Reviewers:
mp+180066, axw1, natefinch, thumper, fwereade
Visibility:
Public.

Description

worker/uniter/charm: git config user.email on init If we don't manually set user.email, and git can't derive an email address from the FQDN (e.g. we don't have one), then charms cannot be deployed. Fixes bug #1211629 https://code.launchpad.net/~axwalk/juju-core/lp1211629-git-config-useremail/+merge/180066 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : worker/uniter/charm: git config user.email on init #

Total comments: 1

Patch Set 3 : worker/uniter/charm: git config user.email on init #

Total comments: 5

Patch Set 4 : worker/uniter/charm: git config user.email on init #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -100 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M worker/uniter/charm/git.go View 1 2 3 2 chunks +15 lines, -4 lines 0 comments Download
M worker/uniter/charm/git_test.go View 1 2 3 2 chunks +113 lines, -96 lines 1 comment Download

Messages

Total messages: 15
axw
Please take a look.
10 years, 8 months ago (2013-08-14 08:54:44 UTC) #1
natefinch
LGTM
10 years, 8 months ago (2013-08-14 19:07:34 UTC) #2
fwereade
not lgtm without a test, but appears sound otherwise
10 years, 8 months ago (2013-08-15 09:49:54 UTC) #3
axw
Please take a look.
10 years, 8 months ago (2013-08-15 12:45:35 UTC) #4
natefinch
not lgtm given that I'm pretty sure it's not going to compile. https://codereview.appspot.com/12924043/diff/6001/worker/uniter/charm/git_test.go File worker/uniter/charm/git_test.go ...
10 years, 8 months ago (2013-08-15 13:00:54 UTC) #5
axw1
On 2013/08/15 13:00:54, nate.finch wrote: > not lgtm given that I'm pretty sure it's not ...
10 years, 8 months ago (2013-08-15 13:07:21 UTC) #6
axw
Please take a look.
10 years, 8 months ago (2013-08-15 13:15:02 UTC) #7
axw1
On 2013/08/15 13:15:02, axw wrote: > Please take a look. Before you tell me, I'll ...
10 years, 8 months ago (2013-08-15 13:16:09 UTC) #8
natefinch
On 2013/08/15 13:16:09, axw1 wrote: > On 2013/08/15 13:15:02, axw wrote: > > Please take ...
10 years, 8 months ago (2013-08-15 13:22:29 UTC) #9
thumper
https://codereview.appspot.com/12924043/diff/13001/worker/uniter/charm/git.go File worker/uniter/charm/git.go (right): https://codereview.appspot.com/12924043/diff/13001/worker/uniter/charm/git.go#newcode59 worker/uniter/charm/git.go:59: {"config", "user.email", "juju@localhost."}, Why does the email address end ...
10 years, 8 months ago (2013-08-16 01:10:06 UTC) #10
axw1
On 2013/08/16 01:10:06, thumper wrote: > https://codereview.appspot.com/12924043/diff/13001/worker/uniter/charm/git.go > File worker/uniter/charm/git.go (right): > > https://codereview.appspot.com/12924043/diff/13001/worker/uniter/charm/git.go#newcode59 > ...
10 years, 8 months ago (2013-08-16 01:39:10 UTC) #11
axw
Please take a look.
10 years, 8 months ago (2013-08-16 01:40:49 UTC) #12
thumper
LGTM with bonus points for updating the import :) https://codereview.appspot.com/12924043/diff/22001/worker/uniter/charm/git_test.go File worker/uniter/charm/git_test.go (left): https://codereview.appspot.com/12924043/diff/22001/worker/uniter/charm/git_test.go#oldcode11 worker/uniter/charm/git_test.go:11: ...
10 years, 8 months ago (2013-08-16 01:51:38 UTC) #13
thumper
On 2013/08/15 09:49:54, fwereade wrote: > not lgtm without a test, but appears sound otherwise ...
10 years, 8 months ago (2013-08-16 01:52:21 UTC) #14
axw1
10 years, 8 months ago (2013-08-16 02:59:47 UTC) #15
On 2013/08/16 01:51:38, thumper wrote:
> LGTM with bonus points for updating the import :)
> 
>
https://codereview.appspot.com/12924043/diff/22001/worker/uniter/charm/git_te...
> File worker/uniter/charm/git_test.go (left):
> 
>
https://codereview.appspot.com/12924043/diff/22001/worker/uniter/charm/git_te...
> worker/uniter/charm/git_test.go:11: "launchpad.net/juju-core/testing/checkers"
> We have kind of agreed now to use:
> 
> jc "launchpad.net/juju-core/testing/checkers"
> 
> This ended up being a three way discussion between Roger, David and me, and
this
> is the compromise.

Done.
Sign in to reply to this message.

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