Closed
Bug 1002518
Opened 11 years ago
Closed 9 years ago
[mozversion] Add gaia_version to mozversion
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: davehunt, Unassigned, Mentored)
References
Details
(Whiteboard: [lang=py])
It would be handy to return the version number for Gaia, which can be retrieved from the deviceinfo.os setting. We already retrieve this in b2gperf and submit the value to datazilla, the relevant code can be found here: https://github.com/mozilla/b2gperf/blob/423fc744cea3bf040c1817f5db4d9feaa843f77a/b2gperf/b2gperf.py#L121
The code for mozversion can be found here: http://hg.mozilla.org/mozilla-central/file/default/testing/mozbase/mozversion
Comment 1•11 years ago
|
||
can i work on this bug ?
Reporter | ||
Comment 2•11 years ago
|
||
Hey Rishabh, you certainly can! Take a look at the links provided in comment 0. You will need either a Firefox OS device, an emulator build, or a desktop build to test this. The desktop builds can be found here: http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/
The first thing to do would be to clone the mozversion code and see if you can get the tests running locally. Once you have this, you should be able to add the enhancement to report the Gaia version number from the target's settings.
You can get the code from here: http://hg.mozilla.org/mozilla-central/ and you will find mozversion in testing/mozbase/mozversion. You should be able to run the tests by running |test.py mozversion/manifest.ini| from testing/mozversion.
Let me know if you have any questions.
Assignee: nobody → rishabhsixfeet
Reporter | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 3•11 years ago
|
||
hey dave on which irc channel can i find you and other devolopers ?
Comment 4•11 years ago
|
||
(In reply to Rishabh Roy from comment #3)
> hey dave on which irc channel can i find you and other devolopers ?
Hi Rishabh,
irc.mozilla.org #ateam
This wiki page has a bunch of other tips & tricks & ways to get in touch: https://wiki.mozilla.org/Auto-tools/New_Contributor
Assignee | ||
Updated•10 years ago
|
Mentor: dave.hunt
Whiteboard: [mentor=davehunt][lang=py][good first bug] → [lang=py][good first bug]
Comment 5•10 years ago
|
||
Hey Rishabh, are you still interested in working on this? If so, do you need any additional info?
Flags: needinfo?(rishabhsixfeet)
Reporter | ||
Comment 6•10 years ago
|
||
Marking this as unassigned to free this up for someone else.
Status: ASSIGNED → NEW
Flags: needinfo?(rishabhsixfeet)
Reporter | ||
Updated•10 years ago
|
Assignee: rishabhsixfeet → nobody
Comment 7•10 years ago
|
||
hi, could I work on this?
Reporter | ||
Comment 8•10 years ago
|
||
Of course! Let me know if you have any questions.
Assignee: nobody → probaner23
Status: NEW → ASSIGNED
Reporter | ||
Comment 9•10 years ago
|
||
I just had a closer look at this, and I wouldn't want to make gaiatest or marionette-client a dependency for mozversion. It would be great if there's another way of determining the version of Gaia. I checked /system/b2g/defaults/settings.json but deviceinfo.os is empty. James: Do you know of a way to get the version of Gaia installed?
Flags: needinfo?(jlal)
Reporter | ||
Comment 10•10 years ago
|
||
Any thoughts on this James?
Comment 11•10 years ago
|
||
resetting the assigned to field, this bug has been idle for a few months.
Davehunt, please confirm that this is a bug we still have a need for fixing!
Assignee: probaner23 → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(dave.hunt)
Reporter | ||
Comment 12•10 years ago
|
||
I still think this would be a valuable addition to mozversion, however we need to determine the best approach.
Flags: needinfo?(dave.hunt)
Comment 13•10 years ago
|
||
Thanks Dave! Removing the [good first bug] tag as this is not immediately actionable.
Whiteboard: [lang=py][good first bug] → [lang=py]
Reporter | ||
Comment 14•9 years ago
|
||
I don't think there's much need for this anymore.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(jlal)
You need to log in
before you can comment on or make changes to this bug.
Description
•