Closed
Bug 1087940
Opened 9 years ago
Closed 8 years ago
Make ro.build.version.incremental available through settings
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: leila.hadji, Assigned: leila.hadji)
Details
Attachments
(2 files, 1 obsolete file)
1.82 KB,
patch
|
fabrice
:
review+
fabrice
:
approval-mozilla-b2g34+
|
Details | Diff | Splinter Review |
46 bytes,
text/x-github-pull-request
|
arthurcc
:
review+
zcampbell
:
review+
|
Details | Review |
This is to add support for adding incremental build number in Settings app.
This path is to add incremental "Build Number" on Settings app. deviceinfo has been used in gaia-ui-tests and ftu as following: tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_device_info.py tests/python/gaia-ui-tests/gaiatest/apps/settings/regions/device_info.py gaia/apps/system/js/ftu_ping.js apps/system/test/unit/ftu_ping_test.js should I add the build_number to test and ftu in this bug or a new bug?
Attachment #8510210 -
Flags: review?(fabrice)
Attachment #8510210 -
Flags: review?(cjones.bugs)
Attachment #8510321 -
Flags: review?(fabrice)
Attachment #8510321 -
Attachment is obsolete: true
Attachment #8510321 -
Flags: review?(fabrice)
Attachment #8510371 -
Flags: review?(fabrice)
Updated•9 years ago
|
Attachment #8510210 -
Flags: review?(cjones.bugs)
Comment 5•9 years ago
|
||
Why do we need that? Note that you are adding strings, and we are way past string freeze so we can't take that on 2.1.
Hi Fabrice, This field is used to specify our SW version and we want to have the SW version visible in the settings, both for our end users and for internal users. Today we only see the Firefox OS version, gecko version and a build identifier which none of these can be set by us. We are aware that it's late for 2.1, thus we are fine with getting it to 2.2(later version). Thanks
Updated•9 years ago
|
Attachment #8510210 -
Flags: review?(fabrice) → review+
Updated•9 years ago
|
Attachment #8510371 -
Flags: review?(fabrice) → review?(arthur.chen)
Comment 7•9 years ago
|
||
Comment on attachment 8510371 [details] [review] https://github.com/mozilla-b2g/gaia/pull/25456 Newly added strings are only required to be added in the english language file. L10n team will work on the other languages.
Attachment #8510371 -
Flags: review?(arthur.chen)
Attachment #8510371 -
Flags: review?(arthur.chen)
Comment 8•9 years ago
|
||
Comment on attachment 8510371 [details] [review] https://github.com/mozilla-b2g/gaia/pull/25456 It seems that the build number does not always exist. Could you add logic determining the visibility of the item and related unit tests? Thanks.
Attachment #8510371 -
Flags: review?(arthur.chen)
Running gaia on top of gonk, "ro.build.version.incremental" is always set to $BUILD_NUMBER (in android tree: build/tools/buildinfo.sh), which in turn is set to "eng.$(USER).$(shell date +%Y%m%d.%H%M%S)" (in build/core/version_defaults.mk), if nothing else is provided (we can always set BUILD_NUMBER as environment variable), so the build number should always exists. I will add the patch for unit test. Thanks.
Attachment #8510371 -
Flags: review?(arthur.chen)
Comment 10•9 years ago
|
||
Shawn, regarding comment9, could you provide inputs from the aspect of the build process? Thanks!
Flags: needinfo?(sku)
Comment 11•9 years ago
|
||
build/tools/buildinfo.sh shows "ro.build.version.incremental" is always there. Hence I agree with comment 9 to have a test case for preventing this.
Flags: needinfo?(sku)
Comment 12•9 years ago
|
||
Comment on attachment 8510371 [details] [review] https://github.com/mozilla-b2g/gaia/pull/25456 Thanks Leila and Shawn. The settings part looks good to me. Flagging Zac for reviewing the gaia ui tests.
Attachment #8510371 -
Flags: review?(zcampbell)
Attachment #8510371 -
Flags: review?(arthur.chen)
Attachment #8510371 -
Flags: review+
Comment 13•9 years ago
|
||
Comment on attachment 8510371 [details] [review] https://github.com/mozilla-b2g/gaia/pull/25456 r+, thanks, but can you land the Gecko patch before the Gaia patch? As otherwise of course, then the tests will fail until the Gecko patch matches :)
Attachment #8510371 -
Flags: review?(zcampbell) → review+
Assignee | ||
Comment 14•9 years ago
|
||
Fabrice, Can you help landing gecko patch before gaia? Thanks.
Flags: needinfo?(fabrice)
Updated•9 years ago
|
Flags: needinfo?(fabrice)
Updated•9 years ago
|
Attachment #8510210 -
Flags: approval-mozilla-b2g34+
Keywords: checkin-needed
Comment 16•9 years ago
|
||
checkin-needed isn't needed for uplifts. We have separate queries for it.
Assignee: nobody → leila.hadji
Keywords: checkin-needed
Comment 17•9 years ago
|
||
Oh nevermind, it was for the Gaia patch. In the future, a bit of context to the request is appreciated :) Master: https://github.com/mozilla-b2g/gaia/commit/8dc75432e27aa532faffc415b16f409e230ea80b
Assignee | ||
Comment 18•9 years ago
|
||
Thanks Ryan.
Comment 19•8 years ago
|
||
Argh, this bug somehow never got resolved when the Gecko patch landed on mozilla-central. Sorry for the huge delay here :( https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/ff62b8fb461b v2.1: https://github.com/mozilla-b2g/gaia/commit/88c44f2243a5ca1683587aca9faf29023974b96c
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
status-b2g-master:
--- → unaffected
status-firefox35:
--- → wontfix
status-firefox36:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Comment 20•8 years ago
|
||
Why are we pushing strings to a branch that has been string frozen for months?
Comment 21•8 years ago
|
||
Crap. I guess that means we should backout at least the Gaia patch? Not sure if the Gecko patch is worth keeping in by itself or not.
Flags: needinfo?(fabrice)
Comment 22•8 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #21) > Crap. I guess that means we should backout at least the Gaia patch? Not sure > if the Gecko patch is worth keeping in by itself or not. It's fine to keep it. No one will be harmed ;)
Flags: needinfo?(fabrice)
Comment 23•8 years ago
|
||
Backed out the Gaia change. Sorry for the churn. v2.1: https://github.com/mozilla-b2g/gaia/commit/9ec3e0ad324105ad74e7489a7644f14ea8eab497
Comment 24•8 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g34_v2_1s/rev/ff62b8fb461b
status-b2g-v2.1S:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•