As many of you have pointed out to me, you cannot use WebIDE to install the
new format add-ons. I filed this just now:
https://bugzilla.mozilla.org/show_bug.cgi?id=1198433

In the meantime, to install and test the new add-ons you can use the
Hackerplace!

Here's what you do:

Install the latest Firefox OS on your device.
Add your app metadata to the v2 app list [1].
Set the DEBUG flag to true here [2].
run `npm install && gulp build`
Install the Hackerplace app using WebIDE or sole's excellent install-to-adb
[3].
You should see your add-on in the list there, and be able to install it.

Let me know if you have any questions!

1.)
https://github.com/fxos/directory/blob/1b05c8d5b24127fc6b8d20001ec460215677e0d0/app/apps-v2.json
2.)
https://github.com/fxos/directory/blob/1b05c8d5b24127fc6b8d20001ec460215677e0d0/app/js/model/list_model.js#L3
3.) https://github.com/sole/install-to-adb


On Thu, Aug 20, 2015 at 3:30 PM, Michael Henretty <mhenre...@mozilla.com>
wrote:

> Hi all,
>
> Earlier, Fabrice sent out a nice how-to guide for migrating your add-ons
> to the new format [1]. Now I would like to tell you how to put these new
> add-ons on the Hackerplace.
>
> First, you will obviously need to update your code as specified in the
> guide. I recommend hosting both the new add-on format and the old one in
> the same repo on github pages. This means you will have two packages (zip
> files) hosted there simultaneously. Here is a commit I did for my add-on
> that does the trick [2].
>
> Then you will need to submit the new package to the Hackerplace. For the
> old Hackerplace, you would put your add-on on the list in apps.json [3].
> Now, you simply add the new add-on to apps-v2.json [4], but specify the
> update.manifest in the manifestURL field.
>
> That's it! Let me know if you have any questions.
>
> Thanks,
> Michael
>
> 1.) https://etherpad.mozilla.org/converting-fxos-addons
> 2.)
> https://github.com/mikehenrty/fxos-shb-plus/commit/c38fbfb52b2ebf3b4c66cdf053d759c60e510481
> 3.) https://github.com/fxos/directory/blob/master/app/apps.json
> 4.) https://github.com/fxos/directory/blob/master/app/apps-v2.json
>
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to