[Toaster] [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically"

Reyna, David david.reyna at windriver.com
Thu Apr 10 21:56:00 PDT 2014


Hi Belén and Alex,

I have completed 5921, using the technique of a python class 'property' as a 'field' together with an explicit python sort (instead of 'sortby'), as described in this web site. This general method can be used for any transient or synthesized value of a class instance.

    http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transient.html

The branch is here: dreyna/outcome_sort_5921

This patch handles both forward and reverse sorts, plus it handles the '-1' base for the outcome text table and the convention of using a blank string for sstate_cache values of SSTATE_NA. The regular column sorts pass the regression test. I also ran the HTML Validator.

- David


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20140411/5f7c94da/attachment.html>


More information about the toaster mailing list