[wpkg-users] New condition not working as expected

Stefan Pendl stefan.pendl.71 at gmail.com
Sun Oct 23 15:13:47 CEST 2011


> 
> Just committed support for multiple check sub-nodes in NOT conditions:
> 
> Changes 2011-10-22, v1.2.1-RC37 by Rainer Meier <r.meier (at) 
> wpkg.org>
> NEW: Allowing multiple checks in logical "NOT" check. If 
> multiple checks are
>       specified, then the checks are "And-linked" which means 
> that in case any
>       of the sub-checks fails, then the result is "true". If 
> all checks succeed,
>       then the result is "false".
>       Example:
>       <check type="logical" condition="not">
>         <check type="host" condition="hostname" value="HOSTNAME"/>
>         <check type="host" condition="os"       value="5\.0\.\d{4}"/>
>       </check>
>       The check will be false only if the host is named 
> HOSTNAME and runs OS
>       version 5.0.x (Windows 2000).
>       If the OS version does not match or the hostname is 
> different, then the
>       result is true, no matter which of the checks (or all) fail.
>       Thanks to Stefan Pendl for reporting the inconsistency between
>       implementation and XSD.
> 

Hi Rainer,

Works as advertised, thank you.

The restructuring of the repository is no problem, I can still find the files to use WinMerge to compare what has changed ;-)

---
Stefan




More information about the wpkg-users mailing list