Firefox/Projects/Jetpack: Difference between revisions

No edit summary
 
(85 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Summary ==
__NOTOC__


Make sure Jetpack's needs in Firefox and Platform are met.
Work with the Jetpack team to implement a core set of modules. This is currently looking like JEPs 102 - 116, over releases 0.3, 0.4 and 0.5.


Jetpack's architecture under versions 0.8 and earlier (now called the Jetpack "prototype") is being abandoned for a new architecture nicknamed the Jetpack "reboot".  Check the [[Labs/Jetpack/Reboot|Labs reboot wiki page]] for details, but briefly, the differences between the two:
== Status ==


* The reboot has a security model, the prototype didn't.
<onlyinclude>
* Extensions produced under the reboot are actually XPIs. Under the prototype they were single JS files.
'''IN FLIGHT''' In development for the 0.7 release.
* The reboot is very loosely integrated with Firefox.  The Jetpack runtime is bundled in each XPI.  The only significant hook that these XPIs require is a no-restart-needed mechanism.
</onlyinclude>


== Current Status ==
'''Team:'''
* Lead: Dietrich
* Members: Drew, Paul, Felipe, Marco


* Firefox team
SDK Release Details
** ???
* Jetpack team
** Determining the [[Labs/Jetpack/Reboot/JEP|set of APIs to expose under the reboot]].
** Published a [[Labs/Jetpack/Reboot/Roadmap|roadmap]].


== Next Steps ==
Q2
* [[Labs/Jetpack/SDK/0.3#Deliverables|0.3]] - SHIPPED
* [[Labs/Jetpack/SDK/0.4#Deliverables|0.4]] - SHIPPED
* [[Labs/Jetpack/SDK/0.5#Deliverables|0.5]] - SHIPPED


Q3
* [[Labs/Jetpack/SDK/0.6#Deliverables|0.6]] - SHIPPED
* [[Labs/Jetpack/SDK/0.6#Deliverables|0.7]] - IN PROGRESS
* [[Labs/Jetpack/SDK/0.6#Deliverables|0.8]] - PLANNED


== Related Bugs ==  
== Goals ==


* [https://bugzilla.mozilla.org/buglist.cgi?quicksearch=sw%3A%5Bjetpack%5D List of Jetpack-related Firefox/Platform bugs] (quicksearch [jetpack])
* Help Labs implement modules for JEPs 102 - 116.
* Bonus goal: Drive code reviews core Jetpack code ({{bug|551311}})
* Late-quarter bonus goal: Aid E10S transition


== Related Links ==
== Roadmap ==


* [[Labs/Jetpack/Reboot|Labs Jetpack reboot wiki page]]
Q3
{| class="fullwidth-table"
|- style="background:#efefef"
| '''Date'''
| '''Milestone'''
| '''Status'''
| '''Notes'''
|-
|}


== Team ==
Q2
{| class="fullwidth-table"
|- style="background:#efefef"
| '''Date'''
| '''Milestone'''
| '''Status'''
| '''Notes'''
|-
| Fri Apr 09 || JEPs selected, owners found, estimates given || {{done|}} ||
|-
| Fri Apr 16 (0.3 freeze on 20th)|| Drew mostly finished with Context Menu module || {{done|}} || Made 0.4
|-
| Fri Apr 23 || Paul finishes Private Browsing module || {{miss|}} || Made 0.4
|-
| || Felipe finishes Page Worker module || {{miss|}} || Made 0.4
|-
| Fri Apr 30 || Dietrich finishes SingleUI Pt1 || {{miss|}} || Made 0.4
|-
| Fri May 07 || Marco finishes Places module || {{miss|}} || Missed 0.4
|-
|  || Paul finishes Request module || {{miss|}} || Missed 0.4
|-
| Fri May 14 (0.4 freeze on 18th)|| Dietrich finishes Lifecycle module || {{miss|}} || Missed 0.4
|-
| Fri May 21 || Drew finishes Storage module || {{done|}} || Made 0.4 (!)
|-
| Fri May 28 ||  ||  ||
|-
| Fri Jun 04 || Dietrich finishes Tabs module || {{miss|}}  || Made 0.5
|-
|  || Paul finishes Request module || {{miss|}}  || Made 0.5
|-
| Fri Jun 11 || Drew finishes Lifecycle module || {{done|}}  || Made 0.5
|-
| Fri Jun 18 (0.5 freeze)||  ||  ||
|-
| Fri Jun 25 ||  ||  ||
|-
|}


*'''Lead''': adw
== Background ==
*'''Sprinter''': mossop
*'''Jetpack team contact''': atul


== Goals/Use Cases ==
Jetpack's architecture under versions 0.8 and earlier (now called the Jetpack Prototype) is being phased out for a new architecture called the Jetpack SDK.  Check the SDK [https://jetpack.mozillalabs.com/sdk/latest/docs docs] and [[Labs/Jetpack/Reboot|wiki]] for details, but briefly, the differences between the two:


* Make sure Jetpack has what it needs for a smooth uplift into Firefox.
* '''The Jetpack SDK is a framework for making (traditional) extensions.'''
* Keep an open communication channel between the Firefox and Jetpack teams.
* "Jetpacks" produced under the SDK are actually XPIs.  They're real extensions.  Under the Prototype they were single JS files.
* Since jetpacks are now extensions, it no longer makes sense to say "I made a jetpack."  It's more like, "I made an extension using Jetpack."
* Jetpack itself is no longer an extension.  It no longer makes sense to say, "I installed Jetpack."
* The SDK is basically a toolchain, runtime, and API -- a framework.
* The SDK is very loosely integrated with Firefox.  The runtime is bundled in each XPI.  Aside from changes required to support the SDK's high-level APIs, the runtime doesn't require any significant changes to Firefox or Gecko.  A  [https://bugzilla.mozilla.org/show_bug.cgi?id=542385 (re)loadable extension mechanism] is being worked on, but it's like icing on the cake.
* The SDK has a security model, the Prototype didn't.
* Roughly speaking, there are two layers of APIs under the SDK.  There's a low-level, chrome-privileged layer that wraps the platform.  And there's a high-level, secure, low surface area, and friendly layer that builds on the lower.  It's the higher layer that might be thought of as "the Jetpack API," but it's entirely possible to use the lower to build an extension.
* The Bespin IDE of the Prototype will be replaced with a contracted-out in-browser IDE called "[[Labs/Jetpack/FlightDeck|FlightDeck]]."  (Maybe you've heard of it?)  FlightDeck provides a nice UI to the SDK's toolchain.  It will be available as a Web app.


== Non Goals ==
== Related Links ==


* ???
* [[Labs/Jetpack/Reboot|Jetpack SDK wiki]]
* [[Labs/Jetpack/Weekly_Meeting|Jetpack team weekly meetings wiki]]
* [irc://irc.mozilla.org/jetpack #jetpack]
* There's a Jetpack drivers mailing list.  Ping adw or Daniel Buchner if interested.
* [[Labs/Jetpack/Design_Guidelines|Module coding guidelines]]
Confirmed users, Bureaucrats and Sysops emeriti
2,088

edits