Skip to content

Old Firefox Extension Build Instructions

Steven Allen edited this page Jul 27, 2014 · 2 revisions

NOTE: This applies to the old Firefox extension only and doesn't apply to any of the code in this repository.

There are two distribution channels we use: Mozilla Add-ons and directly from welist.it.

The first is easy. Please make a username at mozilla (addons.mozilla.org) and send it to me, and I'll add you as a creator.

Then, to update List-it, all you have to do is

  1. increment the minor version number in install-0.4.addons.rdf
  2. check it in to svn
  3. run extras/build-xpi-0.4.sh (in the listit /firefox codebase)
  4. select 'add ons'

this will build an XPI that you can upload directly to addons.mozilla.org via our page > https://addons.mozilla.org/en-US/firefox/addon/listit/

Option 2 is a bit more involved.

What we essnetially do is update install-0.4.rdf to increment the version in the same way as above. Then we also change update.rdf with that version number. update.rdf is the file that goes on the server which mozilla checks for updates.

The main problem is, when you 'seal' a release (after incrementing the version #s etc) you need to sign both the install rdf and the update.rdf ("update manifest"). Then you can put the update.rdf file on the appropriate place on pad.csail.mit.edu, which the script will tell you as soon as it terminates. Make sure you select option ("server") when you run build-xpi.sh

Signing is a pain. Check this instructions out > https://developer.mozilla.org/en/docs/Signing_a_XPI

Let me know if the instructions confuse you, which they did me. I used a tool called MacCoy on OS X to sign our old releases, but not sure if it's still available.

Clone this wiki locally