Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
* Version number changed in the docs
Browse files Browse the repository at this point in the history
* Description of the AMO Integration added
  • Loading branch information
zalun committed Jul 29, 2011
1 parent bf7acfd commit c41154b
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 2 deletions.
15 changes: 15 additions & 0 deletions docs/source/amo_integration/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.. _amo_integration::

===============
AMO Integration
===============

Builder is tightly integrated with `AMO <https://addons.mozilla.org>`_
That involves :ref:`amo-syncing_packages`, and login

Contents:

.. toctree::
:maxdepth: 2

sync.rst
38 changes: 38 additions & 0 deletions docs/source/amo_integration/sync.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.. _amo-syncing_packages:

================
Syncing Packages
================

.. warning:: This features are under development


Identification
##############

:class:`~jetpack.models.Package` has a field ``amo_id`` which used to
store id of the related Package on the AMO. During the synchronization
process program_id is updated, so all generated ``XPI`` are properly
identified by AMO.


Synchronizing an Addon existing on AMO
######################################

User has an ability to display a list of his Addons on AMO and choose
which one relies to the currently displayed Package.


Create new Package
##################

Package created in the Builder can be exported to AMO. This action
involves creating a new Addon on the AMO, uploading all necessary meta
data and a ``XPI`` build on the Builder.


Update an existing Package
##########################

If a Package is already synchronized, new version might be uploaded to AMO.
This requires version name to be changed.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
# built documents.
#
# The short X.Y version.
version = '0.9.5'
version = '0.9.8'
# The full version, including alpha/beta/rc tags.
release = '0.9.5alpha'
release = '0.9.8beta'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Contents:
installation.rst
development/index.rst
repackage/index.rst
amo_integration/index.rst

.. toctree::
:maxdepth: 1
Expand Down

0 comments on commit c41154b

Please sign in to comment.