Closed Bug 1002518 Opened 10 years ago Closed 9 years ago

[mozversion] Add gaia_version to mozversion

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

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
Blocks: 1002522
can i work on this bug ?
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
Status: NEW → ASSIGNED
hey dave on which irc channel can i find you and other devolopers ?
(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
Mentor: dave.hunt
Whiteboard: [mentor=davehunt][lang=py][good first bug] → [lang=py][good first bug]
Hey Rishabh, are you still interested in working on this? If so, do you need any additional info?
Flags: needinfo?(rishabhsixfeet)
Marking this as unassigned to free this up for someone else.
Status: ASSIGNED → NEW
Flags: needinfo?(rishabhsixfeet)
Assignee: rishabhsixfeet → nobody
hi, could I work on this?
Of course! Let me know if you have any questions.
Assignee: nobody → probaner23
Status: NEW → ASSIGNED
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)
Any thoughts on this James?
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)
I still think this would be a valuable addition to mozversion, however we need to determine the best approach.
Flags: needinfo?(dave.hunt)
Thanks Dave!  Removing the [good first bug] tag as this is not immediately actionable.
Whiteboard: [lang=py][good first bug] → [lang=py]
I don't think there's much need for this anymore.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Flags: needinfo?(jlal)
You need to log in before you can comment on or make changes to this bug.