Firefox OS/Performance/Automating Firefox OS Developer Setup: Difference between revisions

Jump to navigation Jump to search
m
Lakrits moved page FirefoxOS/Performance/Automating Firefox OS Developer Setup to Firefox OS/Performance/Automating Firefox OS Developer Setup: The official spelling of "Firefox OS" leaves a space between the two parts of the name. It's easier...
(Created page with "==Introduction== Currently, getting a developer machine set up to build Firefox OS from source is not an easy task. There are are a bunch of [http://mzl.la/1mEAiz5 prerequisi...")
 
m (Lakrits moved page FirefoxOS/Performance/Automating Firefox OS Developer Setup to Firefox OS/Performance/Automating Firefox OS Developer Setup: The official spelling of "Firefox OS" leaves a space between the two parts of the name. It's easier...)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Introduction==
==Introduction==
Currently, getting a developer machine set up to build Firefox OS from source is not an easy task.  There are are a bunch of [http://mzl.la/1mEAiz5 prerequisites] and then you have [http://mzl.la/1hmmQN1 clone the code] and set up your [http://mzl.la/1mEArTe build configuration].  All of this makes it difficult for developers to bisect and/or debug bugs in Firefox OS.  One way we could greatly ease the setup process is to build a Vagrant provisioning script that targets Docker.  On Linux machines, the Vagrant script will initialize a Docker instance with the necessary prerequisites, clone the code, and set up the build configuration correctly.  On Mac OS X and Windows, Vagrant will first set up a VirtualBox VM image running Linux before provisioning the Docker image.
Currently, getting a developer machine set up to build Firefox OS from source is not an easy task.  There are are a bunch of [http://mzl.la/1mEAiz5 prerequisites] and then you have [http://mzl.la/1hmmQN1 clone the code] and set up your [http://mzl.la/1mEArTe build configuration].  All of this makes it difficult for developers to bisect and/or debug bugs in Firefox OS.  One way we could greatly ease the setup process is to build a Vagrant provisioning script that targets Docker.  On Linux machines, the Vagrant script will initialize a Docker instance with the necessary prerequisites, clone the code, and set up the build configuration correctly.  On Mac OS X and Windows, Vagrant will first set up a VirtualBox VM image running Linux before provisioning the Docker image.


==Project Plan==
==Project Plan==
We have already gone through the process of setting up Vagrant to provision a development environment for our TreeHerder web app.  The documentation on how to install TreeHerder using Vagrant is [https://treeherder-service.readthedocs.org/en/latest/installation.html here].  The TreeHerder Vagrant file is [https://github.com/mozilla/treeherder-service/blob/master/Vagrantfile here].
To be successful in this project, the following has to be accomplished:
# Build a base Vagrant file to provision a Docker instance running Ubuntu 13.04.  This will be used as the base for a number of other similar projects.
# Build upon the base Vangrant file to provision the Docker instance with the necessary [http://mzl.la/1mEAiz5 prerequisites] for building Firefox OS.
# Add automation to the provisioning process to clone the [http://bit.ly/SCmEzv Firefox OS repo]
# Write an MDN article documenting how to use Vagrant to provision a Firefox OS development environment.
==Bugs==
{{bug|1007532}}
==Proposal==
[[FirefoxOS/Performance/Using Docker to Ease Debugging Firefox OS|Proposal: Using Docker to Ease Debugging Firefox OS]]
==Contacts==
* [https://mozillians.org/en-US/u/dhuseby/ Dave Huseby]
* [https://mozillians.org/en-US/u/eli/ Eli Perelman]
* jeads on irc.mozilla.org
3,860

edits

Navigation menu