From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5F9AFE00C3C for ; Thu, 10 Apr 2014 21:56:01 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id s3B4u0Mm025922 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 10 Apr 2014 21:56:01 -0700 (PDT) Received: from ALA-MBA.corp.ad.wrs.com ([169.254.2.109]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0169.001; Thu, 10 Apr 2014 21:56:00 -0700 From: "Reyna, David" To: "BARROS PENA, BELEN" , "DAMIAN, ALEXANDRU" Thread-Topic: [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically" Thread-Index: Ac9VQP13Fmy4GTdkS7iD9eUO0ZmmYw== Date: Fri, 11 Apr 2014 04:56:00 +0000 Message-ID: <5E53D14CE4667A45B9A06760DE5D13D055E6EE5A@ALA-MBA.corp.ad.wrs.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [147.11.119.224] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically" X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 04:56:04 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_5E53D14CE4667A45B9A06760DE5D13D055E6EE5AALAMBAcorpadwrs_" --_000_5E53D14CE4667A45B9A06760DE5D13D055E6EE5AALAMBAcorpadwrs_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Bel=E9n 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 d= escribed in this web site. This general method can be used for any transien= t or synthesized value of a class instance. http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transien= t.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 re= gression test. I also ran the HTML Validator. - David --_000_5E53D14CE4667A45B9A06760DE5D13D055E6EE5AALAMBAcorpadwrs_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Bel=E9n and Alex,
 
I have completed 5921, using the technique of a python class ‘pr= operty’ as a ‘field’ together with an explicit python sor= t (instead of ‘sortby’), as described in this web site. This ge= neral method can be used for any transient or synthesized value of a class instance.
 
 
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 usi= ng 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
 
 
--_000_5E53D14CE4667A45B9A06760DE5D13D055E6EE5AALAMBAcorpadwrs_--