Closed Bug 799500 Opened 12 years ago Closed 12 years ago

Update the OS Version numbers in Settings

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

RESOLVED DUPLICATE of bug 808892
blocking-basecamp +

People

(Reporter: tchung, Assigned: jj.evelyn)

Details

The OS Version under Settings > Device Information never increments.  It just sits at 1.0.0.   We need some kind of way to actually map this to the gaia and git commits.   This is needed for dogfooding and deployment.

Repro:
1) install 10-05-2012 daily otoro build
2) go to settings > Device Information
3) Verify OS Version shows 1.0.0, and never increments when flashing a new build or adding an OTA update

Expected;
- OS version that maps and increments, based on a mapping of gaia/github numbers

Actual;
- OS Version stays at 1.0.0
Evelyn, can see if this UI is hooked up to anything real for this version information?

Cjones, Akeybl: What's the version numbering scheme?
Assignee: nobody → ehung
blocking-basecamp: ? → +
(In reply to Dietrich Ayala (:dietrich) from comment #1)
> Evelyn, can see if this UI is hooked up to anything real for this version
> information?
> 
> Cjones, Akeybl: What's the version numbering scheme?

My proposal is in https://bugzilla.mozilla.org/show_bug.cgi?id=759910#c10. Basically, we should just have 

Version: 1.0 (build_date_and_time)

with the build date/time of the Gecko/Gaia combined build. We can then trace that back to specific changesets later, based upon tagging in the repo.
Hi Alex, do you need some kind of debug information (such as build date and time) appended at the end of the Version number? The current OS version is the version number of "released" version, which will not be pumped until the next release.
(In reply to Shelly Lin [:shelly] from comment #3)
> Hi Alex, do you need some kind of debug information (such as build date and
> time) appended at the end of the Version number? The current OS version is
> the version number of "released" version, which will not be pumped until the
> next release.

Correct, this is what we're looking for.
(In reply to Alex Keybl [:akeybl] from comment #4)
> (In reply to Shelly Lin [:shelly] from comment #3)
> > Hi Alex, do you need some kind of debug information (such as build date and
> > time) appended at the end of the Version number? The current OS version is
> > the version number of "released" version, which will not be pumped until the
> > next release.
> 
> Correct, this is what we're looking for.

As far as I know, there isn't a clear scheme of version numbering for Firefox OS, so I would suggest wrapping the debug information into another section, maybe extending the section of current git commit info? Looks like Bug 759910 is working on it, and there's also a similar discussion about buildID (Bug 800118), although I'm not sure it is totally related.
Priority: -- → P3
Component: Gaia → Gaia::Settings
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.