Labs/Ubiquity/Ubiquity 0.1 Development Tutorial: Difference between revisions

Line 7: Line 7:
It is pretty easy to get involved with the development of Ubiquity. Start off by introducing yourself on the irc channel #ubiquity on [[irc.mozilla.org]].
It is pretty easy to get involved with the development of Ubiquity. Start off by introducing yourself on the irc channel #ubiquity on [[irc.mozilla.org]].


We use Mercurial [http://www.selenic.com/mercurial/wiki/] for version control. It is very easy to install if you've got Python 2.5 with setuptools. Just type:
You will need to have [http://www.python.org|Python] installed, preferably Python 2.5.  (If you are on Mac OS X, you have Python already.)  We use Python instead of Make for our build script.
 
We use [http://www.selenic.com/mercurial/wiki/|Mercurial], called "Hg" for short, for version control. It is very easy to install if you've got Python 2.5 with setuptools. Just type:


   easy_install Mercurial
   easy_install Mercurial
Line 30: Line 32:


Now you are all set to become a pro Ubiquity hacker!
Now you are all set to become a pro Ubiquity hacker!
== Uninstalling Ubiquity ==
Just run "python manage.py uninstall", optionally specifying a profile
name/directory if necessary.  Alternatively, you can also uninstall
the extension through the normal Firefox addon management UI.
== Building an XPI ==
To build an XPI for Ubiquity, just run:
  python manage.py build-xpi
This will create an XPI with the name "ubiquity-<version>.xpi", where
"<version>" is taken from the contents of the "em:version" element in the
"ubiquity/install.rdf" file.


= Development =
= Development =
1,007

edits