Skip to content

Instantly share code, notes, and snippets.

@gnomeontherun
Created February 21, 2012 02:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnomeontherun/1873113 to your computer and use it in GitHub Desktop.
Save gnomeontherun/1873113 to your computer and use it in GitHub Desktop.
Square One Update Manifest for 3.0
<?xml version="1.0" encoding="utf-8"?>
<!--
A sample update manifest file for an extension. When requested by the server,
this could be served as JSON and could be translated if available.
-->
<versions> <!-- Root node -->
<name>My Component</name> <!-- The name of the extension -->
<description>Description</description> <!-- Extension description -->
<element>com_component</element>
<type>component</type> <!-- values: file, package, component, module, plugin, library -->
<folder>search</folder> <!-- For plugins -->
<client>administrator</client> <!-- values: site, administrator -->
<tokenurl>http://www.squareonecms.org/index.php?option=com_check</tokenurl> <!-- Endpoint to service to validate a user for download -->
<infourl title="Square One">http://www.squareonecms.org/</infourl> <!-- Link to project homepage -->
<helpurl title="Help with My Component">http://www.squareonecms.org</helpurl> <!-- A help link -->
<author>Square One CMS</author> <!-- Author -->
<authorurl>http://www.gnomeontherun.com</authorurl> <!-- Author URL -->
<tags> <!-- A list of tags describing the extension, up to 5 recognized -->
<tag>administrator</tag>
<tag>publishing</tag>
</tags>
<releases> <!-- Node holding the list of updates available -->
<release> <!-- Node holding a specific update -->
<version>3.0.a1</version> <!-- PHP standardized version string -->
<files> <!-- List of available files -->
<file type="full" format="zip">http://update.squareonecms.org/files/component.zip</file> <!-- Full package -->
<file type="upgrade" format="zip" from="2.5+">http://update.squareonecms.org/files/component_patch.zip</file> <!-- Upgrade package, any version from 2.5 and above -->
<file type="upgrade" format="zip" from="1.5-1.7">http://update.squareonecms.org/files/component_patch.zip</file> <!-- Upgrade package, from any version of 1.5 to the latest 1.7-->
</files>
<stability>alpha</stability> <!-- values: alpha, beta, rc, stable -->
<dependencies> <!-- List of requirements to run -->
<dependency element="joomla" type="library" minversion="12.2" /> <!-- Dependency with some options -->
<dependency element="com_othercomponent" type="component" minversion="1.4" maxversion="12.3" manifesturl="http://update.squareonecms.org/files/othercomponent.xml" /> <!-- Dependency with all options -->
</dependencies>
</release>
</releases>
</versions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment