[Toaster] [review-request] Bug 5923 - The "Tasks with cache attempts" filter returns the wrong tasks

Reyna, David david.reyna at windriver.com
Tue Mar 25 22:57:28 PDT 2014


Hi Belen,

The simple fix can be found here: dreyna/cache_attempts_5923

I just changed the filter from "'sstate_result:%d'%Task.SSTATE_NA" to "'sstate_result__gt:%d'%Task.SSTATE_NA". This works because you wanted all _but_ the "SSTATE_NA" (which is 0), and all states that you want to include are greater than "SSTATE_NA".

    SSTATE_NA = 0
    SSTATE_MISS = 1
    SSTATE_FAILED = 2
    SSTATE_RESTORED = 3

- David


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140326/19a7d632/attachment.html>


More information about the toaster mailing list