[wpkg-users] Check type for revision

Tomasz Chmielewski mangoo at wpkg.org
Tue Mar 27 19:59:45 CEST 2007


Michel Albert schrieb:
> Jochum van der Heide wrote:
>> Michel Albert wrote:
>>> As I see there is no way to check if a package is already installed
>>> under a certain revision.
>>> I would find it very helpful to run certain tasks only for certain
>>> revisions of the package.
>> You mean this?:
>> http://www.wpkg.org/index.php/Packages.xml#Check_conditions_.2F_check_type
>>
>>
>> -Jochum
> Yes and No ;)
> As I understand it, the check that looks at the file version does not
> compare to the revision from the package entry ( as in <package id="foo"
> revision="123"...).
> But it instead looks at the file version itself.
> 
> What I am looking for is something like this:
> 
> <package id="foo" revision="123">
>     <check type="revision" condition="equals" value="122">
>        <upgrade cmd="runsomething.exe" />
>     </check>
> </package>

Shouldn't be that hard to implement... But so far, no one else mentioned 
that.

I guess it would need a bugzilla wish, with a couple of votes, with a 
patch if possible :)

-- 
Tomasz Chmielewski
http://wpkg.org






_______________________________________________
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