All of lore.kernel.org
 help / color / mirror / Atom feed
* [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically"
@ 2014-04-11  4:56 Reyna, David
  2014-04-11 15:14 ` Barros Pena, Belen
  0 siblings, 1 reply; 5+ messages in thread
From: Reyna, David @ 2014-04-11  4:56 UTC (permalink / raw)
  To: BARROS PENA, BELEN, DAMIAN, ALEXANDRU; +Cc: toaster

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

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



[-- Attachment #2: Type: text/html, Size: 1461 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically"
  2014-04-11  4:56 [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically" Reyna, David
@ 2014-04-11 15:14 ` Barros Pena, Belen
  2014-04-11 15:45   ` Reyna, David
  0 siblings, 1 reply; 5+ messages in thread
From: Barros Pena, Belen @ 2014-04-11 15:14 UTC (permalink / raw)
  To: Reyna, David L (Wind River), Damian, Alexandru; +Cc: toaster

On 11/04/2014 05:56, "Reyna, David" <david.reyna@windriver.com> wrote:

>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.h
>tml 
><http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transient.
>html>
> 
>The branch is here: dreyna/outcome_sort_5921

This seems to be working for the Outcome column. Does it also solve the
problem for the "Cache attempt" one?

Cheers

Belén

> 
>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
> 
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically"
  2014-04-11 15:14 ` Barros Pena, Belen
@ 2014-04-11 15:45   ` Reyna, David
  2014-04-11 15:49     ` Barros Pena, Belen
  0 siblings, 1 reply; 5+ messages in thread
From: Reyna, David @ 2014-04-11 15:45 UTC (permalink / raw)
  To: BARROS PENA, BELEN, DAMIAN, ALEXANDRU; +Cc: toaster

> This seems to be working for the Outcome column. Does it also solve the
> problem for the "Cache attempt" one?

Yes! That is the "sstate_cache" value.

- David

> -----Original Message-----
> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
> Sent: Friday, April 11, 2014 8:14 AM
> To: Reyna, David; DAMIAN, ALEXANDRU
> Cc: toaster@yoctoproject.org
> Subject: Re: [review-request] 5921 "Task outcomes are sorted by database
> value, instead of alphabetically"
> 
> On 11/04/2014 05:56, "Reyna, David" <david.reyna@windriver.com> wrote:
> 
> >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.h
> >tml
> ><http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transient.
> >html>
> >
> >The branch is here: dreyna/outcome_sort_5921
> 
> This seems to be working for the Outcome column. Does it also solve the
> problem for the "Cache attempt" one?
> 
> Cheers
> 
> Belén
> 
> >
> >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
> >
> >
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically"
  2014-04-11 15:45   ` Reyna, David
@ 2014-04-11 15:49     ` Barros Pena, Belen
  2014-05-08 12:45       ` Damian, Alexandru
  0 siblings, 1 reply; 5+ messages in thread
From: Barros Pena, Belen @ 2014-04-11 15:49 UTC (permalink / raw)
  To: Reyna, David L (Wind River), Damian, Alexandru; +Cc: toaster

On 11/04/2014 16:45, "Reyna, David" <david.reyna@windriver.com> wrote:

>> This seems to be working for the Outcome column. Does it also solve the
>> problem for the "Cache attempt" one?
>
>Yes! That is the "sstate_cache" value.

Excellent! :)

Thanks!

>
>- David
>
>> -----Original Message-----
>> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
>> Sent: Friday, April 11, 2014 8:14 AM
>> To: Reyna, David; DAMIAN, ALEXANDRU
>> Cc: toaster@yoctoproject.org
>> Subject: Re: [review-request] 5921 "Task outcomes are sorted by database
>> value, instead of alphabetically"
>>
>> On 11/04/2014 05:56, "Reyna, David" <david.reyna@windriver.com> wrote:
>>
>> >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
>>>.h
>> >tml
>> 
>>><http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transien
>>>t.
>> >html>
>> >
>> >The branch is here: dreyna/outcome_sort_5921
>>
>> This seems to be working for the Outcome column. Does it also solve the
>> problem for the "Cache attempt" one?
>>
>> Cheers
>>
>> Belén
>>
>> >
>> >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
>> >
>> >
>>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically"
  2014-04-11 15:49     ` Barros Pena, Belen
@ 2014-05-08 12:45       ` Damian, Alexandru
  0 siblings, 0 replies; 5+ messages in thread
From: Damian, Alexandru @ 2014-05-08 12:45 UTC (permalink / raw)
  To: Barros Pena, Belen; +Cc: toaster

[-- Attachment #1: Type: text/plain, Size: 2110 bytes --]

Taken in for submission.

Alex


On Fri, Apr 11, 2014 at 4:49 PM, Barros Pena, Belen <
belen.barros.pena@intel.com> wrote:

> On 11/04/2014 16:45, "Reyna, David" <david.reyna@windriver.com> wrote:
>
> >> This seems to be working for the Outcome column. Does it also solve the
> >> problem for the "Cache attempt" one?
> >
> >Yes! That is the "sstate_cache" value.
>
> Excellent! :)
>
> Thanks!
>
> >
> >- David
> >
> >> -----Original Message-----
> >> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com]
> >> Sent: Friday, April 11, 2014 8:14 AM
> >> To: Reyna, David; DAMIAN, ALEXANDRU
> >> Cc: toaster@yoctoproject.org
> >> Subject: Re: [review-request] 5921 "Task outcomes are sorted by database
> >> value, instead of alphabetically"
> >>
> >> On 11/04/2014 05:56, "Reyna, David" <david.reyna@windriver.com> wrote:
> >>
> >> >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
> >>>.h
> >> >tml
> >>
> >>><
> http://blog.mattwoodward.com/2013/02/generating-and-sorting-on-transien
> >>>t.
> >> >html>
> >> >
> >> >The branch is here: dreyna/outcome_sort_5921
> >>
> >> This seems to be working for the Outcome column. Does it also solve the
> >> problem for the "Cache attempt" one?
> >>
> >> Cheers
> >>
> >> Belén
> >>
> >> >
> >> >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
> >> >
> >> >
> >>
> >
>
>


-- 
Alex Damian
Yocto Project
SSG / OTC

[-- Attachment #2: Type: text/html, Size: 3635 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-08 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-11  4:56 [review-request] 5921 "Task outcomes are sorted by database value, instead of alphabetically" Reyna, David
2014-04-11 15:14 ` Barros Pena, Belen
2014-04-11 15:45   ` Reyna, David
2014-04-11 15:49     ` Barros Pena, Belen
2014-05-08 12:45       ` Damian, Alexandru

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.