← Back to team overview

phpdevshell team mailing list archive

Re: [Question #210689]: Is there a more detailed tutorial for how to use the upgrade feature of a plugin

 

Question #210689 on PHPDevShell changed:
https://answers.launchpad.net/phpdevshell/+question/210689

    Status: Open => Answered

Greg proposed the following answer:
<versionurl> is compared to the actual answer from the server; for
example, http://version.phpdevshell.org/ExamplePlugin.xml, gives:

<check type="update">
    <version latest="12">3.0.1-Stable</version>
</check>

<install> and <upgrade> are compared to each other. When the plugin is
installed and there's no data for it, the <install> clause is used; then
the install version is stored. Subsquently, the <upgrade> number is
compared to the stored one, if the later is higher, the clause is
executed and the new version number is stored.

Better? ;)

-- 
You received this question notification because you are a member of
PHPDevShell, which is an answer contact for PHPDevShell.