[wpkg-users] [Bug 183] Downgrade should fall back to Upgrade when no downgrade rules exist

Rainer Meier r.meier at wpkg.org
Tue May 4 18:49:58 CEST 2010

Hi Stefan,

On 04.05.2010 14:38, Pendl Stefan wrote:
> Hi all,
> Just one thing that might still behave in a controllable way:
> <install cmd="..." />
> <upgrade cmd="..."/>
> <upgrade inherit="install"/>
> This way one only needs define the common tasks once and can place them at the appropriate position before, after or in between the up-/downgrade command sequence.

I pretty much like this idea as well and it could satisfy all needs.
It is allowing anybody to "refer" to a group of commands without having to
duplicate them. In addition it does not break anything existing since the
inherit attribute is new and if no upgrade command is specified WPKG would still
do what is expected: Nothing.

I think I am going to implement it.

Would you mind adding it to Bugzilla as an enhancement request so it's not "lost
on the list"? I could do it myself but I prefer the "sponsor" of the idea to do it.

Thanks for the proposal,


More information about the wpkg-users mailing list