Diff for MozdevDownloadReleases

Wed, 03/26/2008 - 17:57 by silfreedThu, 03/27/2008 - 02:22 by grimholtz

adding steps to register a file

Reworded a "pulled out"

Changes to Body
Line 2 Line 2
* they will be synced to our public [http://mirrors.mozdev.org mirror system] * they will be synced to our public [http://mirrors.mozdev.org mirror system]
* extensions (files ending with .xpi) will also be handled specially if they have an [http://developer.mozilla.org/en/docs/Install_Manifests install manifest]: * extensions (files ending with .xpi) will also be handled specially if they have an [http://developer.mozilla.org/en/docs/Install_Manifests install manifest]:
- * The extension name, description, and version will be pulled out + * The extension name, description, and version will be parsed and stored in the mozdev database
* The supported applications will be parsed from the em:targetAppliation tag * The supported applications will be parsed from the em:targetAppliation tag
* The project will be automatically tagged based on the supported applications (this shows up on the front page and in the [http://www.mozdev.org/projects/tags.html tag list] * The project will be automatically tagged based on the supported applications (this shows up on the front page and in the [http://www.mozdev.org/projects/tags.html tag list]

Revision of Thu, 03/27/2008 - 02:22:

MozdevDownloadReleases

Mozdev.org allows projects to upload files to their CVS tree in a special folder called 'downloads' (example). Files added to this folder will have the following things happen automatically:

  • they will be synced to our public mirror system
  • extensions (files ending with .xpi) will also be handled specially if they have an install manifest:
    • The extension name, description, and version will be parsed and stored in the mozdev database
    • The supported applications will be parsed from the em:targetAppliation tag
    • The project will be automatically tagged based on the supported applications (this shows up on the front page and in the tag list
    • The extension will show up in the applications list

Once extensions (.xpi, .jar, and .zip files) are uploaded they can be "released" using our file management web interface at Mozdev.org. There are two separate steps:

  • Mark the file as released: this allows the file to be considered for installs and updates and updates the latest version in applications list
  • Verify the file hash: Mozdev.org uses the file's MD5 or SHA1 hash to create secure installation links (using InstallTrigger) and generate update.rdf files to allow secure updates with Firefox 3

Steps to register a file and have secure installs

  1. Upload an extension to your project in the downloads/ directory. Be sure to compute a sha1 or md5 hash and save it for later (windows: hashtab). Your extension (if not previously shown) will show up on the application page under the correct supported app.
  2. Login to Mozdev.org's file management and release your new file and verify the hash (md5 or sha1 is determined automatically).
  3. Browse to your project overview page (https://www.mozdev.org/projects/overview/PROJECT/) and see your extension list with the most recent version displayed and an InstallTrigger link setup. example: https://www.mozdev.org/projects/overview/www/