[wpkg-users] upgrade question
Mark Nienberg
gmane at tippingmar.com
Thu Nov 8 01:21:12 CET 2007
Tomasz Chmielewski wrote:
> Mark Nienberg schrieb:
>> I'm a little unclear on the <upgrade cmd='something'> in packages.xml.
>>
>> If the package is already installed on a client
>> and then the revision number is incremented in the "packages.xml" file,
>> will the client always run the upgrade command
>> or will it test the check condition and only run the upgrade if the check fails?
>
> Upon execution, wpkg.js checks which packages need to be installed.
> Then, it checks in the local database (wpkg.xml) if the package is not
> there already, but also, it compares the local versus remote revision.
>
> If the local revision is lower than the remote, <upgrade
> cmd='something'> are started. The upgrade procedure is started even if
> all check conditions are met.
>
>
Thank you, I added that to the wiki. Now the obvious follow-up question:
After the upgrade command us run, does wpkg test the check conditions? I'm guessing
"No".
Mark
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list