Closed
Bug 649678
Opened 14 years ago
Closed 14 years ago
Date Missing from About Nightly Window
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: murph.0912, Assigned: jfkthame)
References
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
207.18 KB,
image/png
|
Details | |
1.07 KB,
patch
|
dao
:
review+
christian
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
In the About Minefield window, the date of the (nightly) build appeared following the version (4.2a1pre most recently). Starting with the new Nightly, in the About Nightly (Help > About Nightly), the date no longer appears like it did in Minefield.
On a download and clean install of Nightly (C-set: 6bcaec19d09e), I tried with a brand new profile and the date is still missing.
Assignee | ||
Comment 1•14 years ago
|
||
Looks like the cause is here (http://mxr.mozilla.org/mozilla-central/source/browser/base/content/aboutDialog.js#68):
68 // Include the build ID if this is a "pre" (i.e. non-release) build
69 let version = Services.appinfo.version;
70 if (version.indexOf("pre") != -1) {
71 let buildID = Services.appinfo.appBuildID;
72 let buildDate = buildID.slice(0,4) + "-" + buildID.slice(4,6) + "-" + buildID.slice(6,8);
73 document.getElementById("version").value += " (" + buildDate + ")";
74 }
Note that this depends on the presence of a literal "pre" in Services.appinfo.version.
Updated•14 years ago
|
Blocks: 648368
Keywords: regression
Assignee | ||
Comment 2•14 years ago
|
||
This is designed to include the date in the About window for builds with version numbers that end in "a#" (for any number #), which should include both Nightly and Aurora builds, IIRC.
Assignee | ||
Comment 5•14 years ago
|
||
Comment on attachment 525720 [details] [diff] [review]
patch - include build date in About for nightly and aurora builds
Seems to work as intended in my local build; are we happy to do this and bring back the date?
Attachment #525720 -
Attachment description: patch (untested) - include build date in About for nightly and aurora builds → patch - include build date in About for nightly and aurora builds
Attachment #525720 -
Flags: review?(clegnitto)
Comment 6•14 years ago
|
||
Comment on attachment 525720 [details] [diff] [review]
patch - include build date in About for nightly and aurora builds
Please use regex.test(string) instead of string.match(regex) != null.
Yep, and I am not the correct person to review this. Dao, are you? If not I'll ping Gavin but he's in the air.
Comment 8•14 years ago
|
||
I'm on the ground in Toronto! Dao or I can review it.
Comment 9•14 years ago
|
||
I can review this, but I'm not sure what the outcome really should be. Is it correct to have the date in aurora but not in beta?
Assignee | ||
Comment 10•14 years ago
|
||
Updated to use regex.test.
I'm assuming we don't want the build date in final release builds (at least, we didn't have it previously). Therefore, we can't have it in betas either, as in principle the (last) beta can _become_ the release, with the exact same bits. At least, that's how I understood things. So that's why I went for versions that end with "a#".
Assignee: nobody → jfkthame
Attachment #525720 -
Attachment is obsolete: true
Attachment #525720 -
Flags: review?(clegnitto)
Attachment #525757 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #525757 -
Flags: review? → review?(dao)
Assignee | ||
Comment 11•14 years ago
|
||
And as for Aurora - it seemed like a useful piece of info to show, just as it is for Nightly. I see no downside to including it there, as the version info is in any case not identical to final.
Updated•14 years ago
|
Attachment #525757 -
Flags: review?(dao) → review+
Comment 12•14 years ago
|
||
I concur - we want it in Aurora and Nightly but not Beta or Release.
Comment 13•14 years ago
|
||
Yep, correct in your reasoning.
Assignee | ||
Comment 14•14 years ago
|
||
Pushed to mozilla-central:
http://hg.mozilla.org/mozilla-central/rev/222fc193d280
Setting tracking-firefox5? as I think we want this on Aurora too, right?
tracking-firefox5:
--- → ?
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Attachment #525757 -
Flags: approval-mozilla-aurora?
Comment 16•14 years ago
|
||
I just downloaded the 4/14/11 Nightly and still don't see the date in the About Dialog. Maybe I don't have the latest build. The time stamp from the download is 6:12 AM (Pacific). My Build ID = http://hg.mozilla.org/mozilla-central/rev/2a343ee6acd3, which doesn't match comment 14 above. Will there be another Nightly update later? Sometimes Nightly updates itself twice in a day (once in the morning and again later in the afternoon).
Reporter | ||
Comment 17•14 years ago
|
||
(In reply to comment #16)
> cc: cab26715@live.comI just downloaded the 4/14/11 Nightly and still don't see the date in the About
> Dialog. Maybe I don't have the latest build. The time stamp from the download
> is 6:12 AM (Pacific). My Build ID =
> http://hg.mozilla.org/mozilla-central/rev/2a343ee6acd3, which doesn't match
> comment 14 above. Will there be another Nightly update later? Sometimes
> Nightly updates itself twice in a day (once in the morning and again later in
> the afternoon).
That build--an hourly build--is from before this patch landed. The full nightly Nightly build for today (2011-04-14) should be out soon.
Comment 18•14 years ago
|
||
(In reply to comment #16)
> I just downloaded the 4/14/11 Nightly and still don't see the date in the About
> Dialog. Maybe I don't have the latest build. The time stamp from the download
> is 6:12 AM (Pacific). My Build ID =
> http://hg.mozilla.org/mozilla-central/rev/2a343ee6acd3, which doesn't match
> comment 14 above. Will there be another Nightly update later? Sometimes
> Nightly updates itself twice in a day (once in the morning and again later in
> the afternoon).
Disregard my previous post. Nightly just updated itself again less than 15 minutes after my original update. I now have (http://hg.mozilla.org/mozilla-central/rev/aa200a803e07) and the date stamp is now in the About Dialog.
Comment 19•14 years ago
|
||
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0a1) Gecko/20110414 Firefox/6.0a1
Verified FIXED
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 20•14 years ago
|
||
Thanks!
Comment 21•14 years ago
|
||
When will the patch be pushed to Aurora?
Comment 22•14 years ago
|
||
This is not something to track for aurora, it would not prevent us from cutting over to beta for ff5.
Comment 23•14 years ago
|
||
Comment on attachment 525757 [details] [diff] [review]
patch, include build date for Nightly/Aurora in About - revised
Approved for mozilla-aurora
Attachment #525757 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 24•14 years ago
|
||
Reporter | ||
Comment 25•14 years ago
|
||
Confirmed that date now shows in the About Aurora window. Thanks and good work!
Assignee | ||
Updated•14 years ago
|
status-firefox5:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•