Closed Bug 879492 Opened 8 years ago Closed 8 years ago

Make a B2GBuild class that stage-update.py can use, which doesn't require mozbase

Categories

(Testing :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla24

People

(Reporter: jgriffin, Assigned: jgriffin)

References

Details

Attachments

(1 file)

The B2G build process currently uses stage-update.py, which uses B2GInstance, which has a mozdevice dependency (and therefore a moznetwork dependency on mozilla-central).

This is inconvenient because the build system doesn't have a virtualenv for pulling in these dependencies.

The only parts of B2GInstance that stage-update.py uses are those which related to build setup; it doesn't use mozdevice-related functionality.

We can address this problem by separating out the build-configuration parts of B2GInstance into a separate B2GBuild class, and letting B2GInstance inherit from that.
This is basically just a refactor that exposes parts of B2GInstance without dependencies.  Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=3fd1e41b6ba2.
Comment on attachment 758203 [details] [diff] [review]
Add a B2GBuild class to Marionette,

Try is green.
Attachment #758203 - Flags: review?(aki)
Attachment #758203 - Flags: review?(aki) → review+
https://hg.mozilla.org/mozilla-central/rev/ddf9950fbca4
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.