Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Issue 7104106: Unify the version string to be displayed on "About Chromium" dialog. (Closed)

Created:
9 years, 6 months ago by haraken1
Modified:
9 years, 4 months ago
CC:
chromium-reviews, pam+watch_chromium.org, dhollowa, Mark Mentovai
Visibility:
Public.

Description

Unify the version string to be displayed on "About Chromium" dialog. BUG=37186 TEST=Observe that "About Chromium" dialog shows the version string like "14.0.787.0 (Developer Build Linux 88242)" on Mac and Linux. (88242 is the SVN revision.) The patch for Windows will be appeared as another patch.

Patch Set 1 : Unify the version string to be displayed on "About Chromium" dialog #

Total comments: 18

Patch Set 2 : Update lastchange.py and import it from tweak_info_plist #

Total comments: 6

Patch Set 3 : Improve the way to extract the SVN revision through Git #

Total comments: 2

Patch Set 4 : Changed the regular expression used for git-svn-id match #

Total comments: 3

Patch Set 5 : Change [\s\S]* to .* with re.DOTALL option #

Total comments: 4

Patch Set 6 : Add "git config --get-regexp ^svn-remote.svn.url" #

Total comments: 3

Patch Set 7 : Reuse the original lastchange.py as much as possible #

Total comments: 2

Patch Set 8 : Change the regular expression to extract git-svn-id #

Total comments: 1

Patch Set 9 : correct nit #

Patch Set 10 : Move platform_util_* from chrome/browser/ to chrome/common/ #

Patch Set 11 : Comment out platforum_util::GetVersionStringModifier() #

Patch Set 12 : Rebased with the patch of issue 7249003 #

Total comments: 4

Patch Set 13 : Correct nit #

Patch Set 14 : Add ui/base/l10n_util.* to app_base_nacl_win64 #

Patch Set 15 : Skip CreateVersionString() for NACL_WIN64 #

Total comments: 16

Patch Set 16 : Modify nib files using Interface Builder #

Total comments: 12

Patch Set 17 : Adjust webkit_version.py #

Total comments: 1

Patch Set 18 : Update how to construct webkit_url #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -218 lines) Patch
M build/util/lastchange.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 9 chunks +71 lines, -82 lines 0 comments Download
M chrome/app/nibs/About.xib View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 19 chunks +48 lines, -18 lines 0 comments Download
M chrome/browser/ui/cocoa/about_window_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -18 lines 0 comments Download
M chrome/browser/ui/gtk/about_chrome_dialog.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -17 lines 0 comments Download
M chrome/common/chrome_version_info.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/chrome_version_info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +23 lines, -2 lines 0 comments Download
M chrome/tools/build/mac/tweak_info_plist View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -53 lines 0 comments Download
M chrome/tools/build/win/version.bat View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -10 lines 0 comments Download
M chrome/tools/build/win/version.rules View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/build/webkit_version.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +8 lines, -16 lines 0 comments Download

Messages

Total messages: 60 (0 generated)
haraken1
Previously, I fixed bug 18679 and 37186 in CL 6894037 (http://codereview.chromium.org/6894037/). However, I found that ...
9 years, 6 months ago (2011-06-10 12:45:41 UTC) #1
Evan Martin
http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py#newcode122 build/util/lastchange.py:122: return None Did you intend to include this change?
9 years, 6 months ago (2011-06-10 17:10:14 UTC) #2
haraken1
http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py#newcode122 build/util/lastchange.py:122: return None > Did you intend to include this ...
9 years, 6 months ago (2011-06-10 23:01:00 UTC) #3
haraken1
Would you please take a look?
9 years, 6 months ago (2011-06-13 22:05:17 UTC) #4
Evan Martin
sorry, I'm OOO this week dilmah can review the lastchange change, and tony can probably ...
9 years, 6 months ago (2011-06-14 16:08:42 UTC) #5
Denis Lagno
http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py#newcode119 build/util/lastchange.py:119: re.MULTILINE) MULTILINE is redundant here http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py#newcode121 build/util/lastchange.py:121: return VersionInfo(match.group(1), ...
9 years, 6 months ago (2011-06-14 17:04:18 UTC) #6
Denis Lagno
On 2011/06/10 12:45:41, haraken wrote: > (When you click "View" of chrome/tools/build/win/version.bat in this review ...
9 years, 6 months ago (2011-06-14 17:34:04 UTC) #7
tony
John told me that Rietveld is in a confused state because the upload failed part ...
9 years, 6 months ago (2011-06-14 18:52:23 UTC) #8
tony
Also, there was code in the .bat file to error out if we don't get ...
9 years, 6 months ago (2011-06-14 18:56:30 UTC) #9
haraken1
> John told me that Rietveld is in a confused state because the upload failed ...
9 years, 6 months ago (2011-06-15 04:20:41 UTC) #10
Denis Lagno
http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/2001/build/util/lastchange.py#newcode121 build/util/lastchange.py:121: return VersionInfo(match.group(1), 'git', match.group(2)) On 2011/06/15 04:20:41, haraken wrote: ...
9 years, 6 months ago (2011-06-15 12:25:34 UTC) #11
haraken1
I could upload .bat file correctly by allowing 'application/x-msdos-program' mime-type for 'git-cl upload'. Please see ...
9 years, 6 months ago (2011-06-15 16:22:53 UTC) #12
Denis Lagno
http://codereview.chromium.org/7104106/diff/13001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/13001/build/util/lastchange.py#newcode118 build/util/lastchange.py:118: match = re.search(r'git-svn-id:\s*([^@]*)@([0-9]+)', output) On 2011/06/15 16:22:53, haraken wrote: ...
9 years, 6 months ago (2011-06-15 17:14:55 UTC) #13
tony
We should not remove the OS version label. I looked in the git history and ...
9 years, 6 months ago (2011-06-15 17:54:57 UTC) #14
haraken1
> We should not remove the OS version label. I looked in the git history ...
9 years, 6 months ago (2011-06-16 00:38:01 UTC) #15
Denis Lagno
LGTM (with nit) from my side http://codereview.chromium.org/7104106/diff/20001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/20001/build/util/lastchange.py#newcode114 build/util/lastchange.py:114: match = re.search(r'([\s\S]*)git-svn-id:\s*([^@]*)@([0-9]+)', ...
9 years, 6 months ago (2011-06-16 07:29:21 UTC) #16
Denis Lagno
http://codereview.chromium.org/7104106/diff/20001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/20001/build/util/lastchange.py#newcode114 build/util/lastchange.py:114: match = re.search(r'([\s\S]*)git-svn-id:\s*([^@]*)@([0-9]+)', output) On 2011/06/16 07:29:22, Denis Lagno ...
9 years, 6 months ago (2011-06-16 07:44:42 UTC) #17
haraken1
Waiting for tony's opinion. tony: If you think another reviewer is necessary, I would be ...
9 years, 6 months ago (2011-06-16 08:28:09 UTC) #18
tony
On 2011/06/16 00:38:01, haraken wrote: > Indeed previously |os_version_label_| was added for ChromeOS, but at ...
9 years, 6 months ago (2011-06-16 17:01:51 UTC) #19
haraken1
> I see, yes, it appears that ChromeOS no longer needs this code. OK, I ...
9 years, 6 months ago (2011-06-17 00:53:51 UTC) #20
tony
On 2011/06/17 00:53:51, haraken wrote: > Do you mean we should revert the views code ...
9 years, 6 months ago (2011-06-17 02:05:48 UTC) #21
haraken1
> Either is OK, but I prefer the former and I suspect the former is ...
9 years, 6 months ago (2011-06-17 09:11:11 UTC) #22
Denis Lagno
http://codereview.chromium.org/7104106/diff/31002/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/31002/build/util/lastchange.py#newcode167 build/util/lastchange.py:167: match = re.search(r'^Review URL:', output, re.MULTILINE) since now you ...
9 years, 6 months ago (2011-06-17 11:01:27 UTC) #23
haraken1
http://codereview.chromium.org/7104106/diff/31002/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/31002/build/util/lastchange.py#newcode167 build/util/lastchange.py:167: match = re.search(r'^Review URL:', output, re.MULTILINE) On 2011/06/17 11:01:27, ...
9 years, 6 months ago (2011-06-17 13:45:08 UTC) #24
tony
Thanks, I find this diff much easier to read and see the changes from the ...
9 years, 6 months ago (2011-06-17 17:38:42 UTC) #25
commit-bot: I haz the power
Try job failure for 7104106-27021 on win for step "compile" (clobber build). It's a second ...
9 years, 6 months ago (2011-06-18 10:03:36 UTC) #26
haraken1
Windows build failed because of a dependency problem... In chrome/common/chrome_version_info.cc, we call platform_util::GetVersionStringModifier() in chrome/browser/platform_util_win.cc. ...
9 years, 6 months ago (2011-06-20 02:32:03 UTC) #27
haraken1
I moved chrome/browser/platform_util_* to chrome/common. I confirmed that build works fine on all of Mac, ...
9 years, 6 months ago (2011-06-21 04:47:30 UTC) #28
tony
Sorry, I was on vacation Monday. I think we should only move GetVersionStringModifier() and GetChannel() ...
9 years, 6 months ago (2011-06-21 18:47:45 UTC) #29
haraken1
> You could maybe even just move these methods into chrome_version_info.*. > Please do this ...
9 years, 6 months ago (2011-06-22 05:49:33 UTC) #30
tony
On 2011/06/22 05:49:33, haraken wrote: > Sure. I will do it in next patch. For ...
9 years, 6 months ago (2011-06-22 17:49:00 UTC) #31
haraken1
> I think we should only move GetVersionStringModifier() and GetChannel() to > common, not the ...
9 years, 6 months ago (2011-06-22 18:15:10 UTC) #32
tony
On 2011/06/22 18:15:10, haraken wrote: > I would feel that the most simple and reasonable ...
9 years, 6 months ago (2011-06-22 18:25:36 UTC) #33
haraken1
Thank you for your dedicated support. I just rebased with the patch of issue 7249003. ...
9 years, 6 months ago (2011-06-27 13:18:14 UTC) #34
tony
LGTM http://codereview.chromium.org/7104106/diff/48001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/48001/build/util/lastchange.py#newcode163 build/util/lastchange.py:163: match = re.search(r'.*git-svn-id:\s*([^@]*)@([0-9]+)', output, re.DOTALL) Nit: Please move ...
9 years, 6 months ago (2011-06-27 18:26:07 UTC) #35
haraken1
http://codereview.chromium.org/7104106/diff/48001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/48001/build/util/lastchange.py#newcode163 build/util/lastchange.py:163: match = re.search(r'.*git-svn-id:\s*([^@]*)@([0-9]+)', output, re.DOTALL) On 2011/06/27 18:26:07, tony ...
9 years, 6 months ago (2011-06-28 00:11:09 UTC) #36
commit-bot: I haz the power
Try job failure for 7104106-52001 (retry) on win for step "compile" (clobber build). It's a ...
9 years, 6 months ago (2011-06-28 00:50:25 UTC) #37
haraken1
No change for now. Sorry for taking so long time. > Try job failure for ...
9 years, 6 months ago (2011-06-28 08:03:30 UTC) #38
tony
Can you try adding l10n_util.* to app_base_nacl_win64 (in app/app_base.gypi)? Alternately, maybe it's possible for us ...
9 years, 5 months ago (2011-06-28 18:02:52 UTC) #39
haraken1
> Can you try adding l10n_util.* to app_base_nacl_win64 (in app/app_base.gypi)? Done. > In your Windows ...
9 years, 5 months ago (2011-06-29 12:01:12 UTC) #40
tony
On 2011/06/29 12:01:12, haraken wrote: > > Can you try adding l10n_util.* to app_base_nacl_win64 (in ...
9 years, 5 months ago (2011-06-29 19:38:07 UTC) #41
tony
Success! Here's a patch that works on the try bots: http://codereview.chromium.org/7248049 Try bot results: http://build.chromium.org/p/tryserver.chromium/builders/win_rel/builds/383 ...
9 years, 5 months ago (2011-06-29 23:13:53 UTC) #42
Mark Mentovai
It seems that your Mac code hasn’t been reviewed at all. Do you need a ...
9 years, 5 months ago (2011-06-30 01:49:23 UTC) #43
haraken1
I am sorry for clicking "commit" button without enough reviewers. Mark: Would you please take ...
9 years, 5 months ago (2011-06-30 03:04:44 UTC) #44
haraken1
+mark, +erg
9 years, 5 months ago (2011-06-30 04:29:20 UTC) #45
Mark Mentovai
http://codereview.chromium.org/7104106/diff/58001/chrome/app/nibs/About.xib File chrome/app/nibs/About.xib (right): http://codereview.chromium.org/7104106/diff/58001/chrome/app/nibs/About.xib#newcode44 chrome/app/nibs/About.xib:44: <string key="NSWindowRect">{{196, 257}, {550, 277}}</string> Whenever you make a ...
9 years, 5 months ago (2011-06-30 13:34:23 UTC) #46
haraken1
http://codereview.chromium.org/7104106/diff/58001/chrome/app/nibs/About.xib File chrome/app/nibs/About.xib (right): http://codereview.chromium.org/7104106/diff/58001/chrome/app/nibs/About.xib#newcode44 chrome/app/nibs/About.xib:44: <string key="NSWindowRect">{{196, 257}, {550, 277}}</string> I am sorry, as ...
9 years, 5 months ago (2011-07-04 07:50:52 UTC) #47
haraken1
erg: Would you please take a look at chrome/browser/ui/gtk/about_chrome_dialog.cc?
9 years, 5 months ago (2011-07-04 07:54:05 UTC) #48
Mark Mentovai
I’m out this week. I’ll try to take another look at the Mac changes, time ...
9 years, 5 months ago (2011-07-05 04:45:35 UTC) #49
Elliot Glaysher
The gtk changes LGTM
9 years, 5 months ago (2011-07-06 17:55:08 UTC) #50
haraken1
Mark: Would you please take a look at it?
9 years, 5 months ago (2011-07-17 19:50:14 UTC) #51
Mark Mentovai
It looks like the major issues are worked out, except for the one about webkit_version.py. ...
9 years, 5 months ago (2011-07-18 02:20:17 UTC) #52
haraken1
Mark: Would you please take a look at the change? http://codereview.chromium.org/7104106/diff/63011/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/7104106/diff/63011/build/util/lastchange.py#newcode56 ...
9 years, 5 months ago (2011-07-19 04:36:35 UTC) #53
Mark Mentovai
http://codereview.chromium.org/7104106/diff/73001/webkit/build/webkit_version.py File webkit/build/webkit_version.py (right): http://codereview.chromium.org/7104106/diff/73001/webkit/build/webkit_version.py#newcode65 webkit/build/webkit_version.py:65: version_info.url.startswith(version_info.root) and What I meant was that you’ve changed ...
9 years, 5 months ago (2011-07-19 15:44:32 UTC) #54
haraken1
Thanks, I fixed it. Also I changed _SVN_URL_REGEX as follows so that it matches with ...
9 years, 5 months ago (2011-07-20 04:13:15 UTC) #55
tony
This change touches a lot of code and I think the chance of it landing ...
9 years, 5 months ago (2011-07-20 17:55:47 UTC) #56
Mark Mentovai
LGTM. Upon checking this in, please carefully review the first official canary (Mac and Windows) ...
9 years, 5 months ago (2011-07-20 17:57:39 UTC) #57
haraken1
Thank you very much. Sure. I would like to check the change in in the ...
9 years, 5 months ago (2011-07-21 00:00:01 UTC) #58
Mark Mentovai
Now that this is in today’s Canary and I’ve had a chance to see it, ...
9 years, 5 months ago (2011-07-25 13:28:33 UTC) #59
haraken1
9 years, 4 months ago (2011-08-01 23:05:27 UTC) #60
All the patches for this issue seem to have been landed successfully. I close
this issue. 

tony, mark, evan: thank you for the long support!


On 2011/07/25 13:28:33, Mark Mentovai wrote:
> Now that this is in today’s Canary and I’ve had a chance to see it, I wonder
if
> 550px is too wide. Would 500 suffice?

Powered by Google App Engine
This is Rietveld 408576698