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

Issue 20170044: Fix name/email address parsing for commits.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by bac
Modified:
10 years, 6 months ago
Reviewers:
mp+193450, rharding
Visibility:
Public.

Description

Fix name/email address parsing for commits. https://code.launchpad.net/~bac/juju-gui/bug-1246685/+merge/193450 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 13

Patch Set 2 : Fix name/email address parsing for commits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -40 lines) Patch
M Makefile View 1 1 chunk +3 lines, -1 line 0 comments Download
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/models/bundle.js View 1 3 chunks +52 lines, -32 lines 0 comments Download
M test/data/browserbundle.json View 1 chunk +7 lines, -6 lines 0 comments Download
M test/test_model_bundle.js View 2 chunks +21 lines, -1 line 0 comments Download

Messages

Total messages: 5
bac
Please take a look.
10 years, 6 months ago (2013-10-31 17:19:38 UTC) #1
bac
Author comments https://codereview.appspot.com/20170044/diff/1/app/models/bundle.js File app/models/bundle.js (left): https://codereview.appspot.com/20170044/diff/1/app/models/bundle.js#oldcode67 app/models/bundle.js:67: /** Took Jeff's advice and moved back ...
10 years, 6 months ago (2013-10-31 17:26:28 UTC) #2
rharding
code looks ok, comments below. Will QA now. https://codereview.appspot.com/20170044/diff/1/app/models/bundle.js File app/models/bundle.js (right): https://codereview.appspot.com/20170044/diff/1/app/models/bundle.js#newcode75 app/models/bundle.js:75: }, ...
10 years, 6 months ago (2013-10-31 17:41:09 UTC) #3
rharding
LGTM QA'ok and works with Jorge's bundle now. Thanks for the quick fix!
10 years, 6 months ago (2013-10-31 17:43:26 UTC) #4
bac
10 years, 6 months ago (2013-10-31 19:21:03 UTC) #5
*** Submitted:

Fix name/email address parsing for commits.

R=rharding
CC=
https://codereview.appspot.com/20170044

https://codereview.appspot.com/20170044/diff/1/app/models/bundle.js
File app/models/bundle.js (right):

https://codereview.appspot.com/20170044/diff/1/app/models/bundle.js#newcode75
app/models/bundle.js:75: },
On 2013/10/31 17:41:09, rharding wrote:
> space between functions

I don't know what you mean here.

https://codereview.appspot.com/20170044/diff/1/app/models/bundle.js#newcode81
app/models/bundle.js:81: @method extractRecentCommits
On 2013/10/31 17:26:28, bac wrote:
> I see I didn't document the changes arg.  Will do so.

Done.

https://codereview.appspot.com/20170044/diff/1/app/models/bundle.js#newcode88
app/models/bundle.js:88: Y.Array.each(changes, function(change) {
On 2013/10/31 17:41:09, rharding wrote:
> if this is an Array, can we just use changes.forEach instead and not need the
> YUI module for it?

Done.

https://codereview.appspot.com/20170044/diff/1/test/test_model_bundle.js
File test/test_model_bundle.js (right):

https://codereview.appspot.com/20170044/diff/1/test/test_model_bundle.js#newc...
test/test_model_bundle.js:204: var parts = instance.parseNameEmail(
It seems longer and harder to read and not as obvious.  I guess I'm -3.  :)
Sign in to reply to this message.

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