[wpkg-users] Re-check of installed packages not possible

Falko Trojahn ftrojahn at smi-softmark.de
Fri Jun 30 13:22:21 CEST 2006



Tomasz Chmielewski schrieb:
> Falko Trojahn wrote:
> 
> (...)
> 
>>> After all, wpkg.xml is really needed just for "execute once" and
>>> revisions for upgrades.
>> Yes, seems reasonable.
> 
> Umm, wpkg.xml is used for one more thing: package removal instructions.
> 
> There was some patch long time ago by Gordon Klimm which made that WPKG
> used removal instructions from the server, but something didn't work
> right, and it was removed...
> 
> IMHO using server-side removal instructions is better, as we can easily
> correct them.
> Doing so on all clients is problematic.
Yes, that's problematic - I've stumbled about this problem, too.

If I've tested a package really good before deploying - including
removal - all is fine. But if there is a problem, I have to rise the
revision number, without really using an upgrade cmd (first run of
wpkg.js), then I have the newer package in wpkg.xml with the right
remove cmd(s), and can remove the package (second run).

Perhaps we should only make sure that - before removal is really
done - wpkg checks the revision of this package on the server, and
if it is higher, uses this for removal. Don't know if this works
in all situations, but could save us from the second run.

Best regards
Falko


-- 
Falko Trojahn                     fon +49-341-3581294
Dipl.-Ingenieur Netzwerke/Support fax +49-341-3581295
SMI Softmark Informationstechnologien GmbH
www.smi-softmark.de




More information about the wpkg-users mailing list