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

Jason Oster jason.oster at campnavajo.com
Tue May 4 17:44:12 CEST 2010


On 05/04/2010 08:13 AM, heiko.helmle at horiba.com wrote:

>  > <install cmd="..." />
>  >
>  > <upgrade cmd="..."/>
>  > <upgrade inherit="install"/>
>  >
>
> I love this idea - this would save lots of copy/paste and
> "s/<install/<upgrade/g", make the xmls easier to read and maintain.

It seems like a very interesting proposal!  (And cutting down on 
maintenance burden is a *big win*.)

In fact, the only "problem" I can think of with this solution is that 
I'll be adding:

<downgrade inherit="upgrade"/>

To all of my packages.  (I wonder if XSLT can help this case?  Templates 
really are perfect for this kind of "boilerplate" that you really 
shouldn't have to manage everywhere.)

The inherit attribute should be the easy part, though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jason_oster.vcf
Type: text/x-vcard
Size: 304 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20100504/0fdd1727/attachment-0002.vcf>


More information about the wpkg-users mailing list