[Toaster] all tasks

Reyna, David david.reyna at windriver.com
Fri Jan 10 16:12:59 PST 2014


Hi Ravi, 

My two cents below...

> -----Original Message-----
> From: Ravi Chintakunta [mailto:ravi.chintakunta at timesys.com]
> Sent: Friday, January 10, 2014 3:44 PM
> To: Reyna, David; Lerner, Dave; 'Damian, Alexandru'; 'Barros Pena,
> Belen'; 'Zhang, Jessica'; Bansal, Atul
> Cc: 'toaster at yoctoproject.org'
> Subject: all tasks
> 
> I have pushed the "All tasks" code to ravi/all-tasks-feature branch.
> This is still work in progress and I have pushed it for your review.
> 
> The push includes the all-tasks page and these enhancements to the
> basetable:
> 
> - Display the table column header as a link only if it is sortable
> - Indicate the sort order as a up/down icon next to the column header
> 
> I have a few questions:
> 
> 1. The UI design indicates filtering on Order, Executed, Outcome and
> Cache Attempt columns. What are the filtering options for these
> columns?

I understand the it will be ascending or descending, but those values are not explicitly defined in the "models.py" file. I expect that the answer is related to my question about "orderby" that Alex gave part of an answer.
 
> 2. Is it correct to display the sstate_result for Cache Attempt?

I am doing exact that for the "recipes" detail page. I am getting my values and human readable values from the SSTATE_RESULT choices table within the "Recipe" class.

> 3. Should the Task log be a link to the file, and if so should the log
> be opened in the browser or compressed and shown as a download.

I myself am hoping and expecting that the user can be able to directly bring up the file in question, so that it is one stop shopping to see the log, and especially the errors, in order for the developer to directly address the issues for the rebuild. I do not know if we can a class for this operation yet, where a file is read into an object that can then be iterated by Django in the template.

I can though see the case where downloading the file for later review could be of value, but as a developer I find that a quick look at the errors allows me to directly see and resolve the problems almost every time.

David

> Thanks,
> Ravi
> 



More information about the toaster mailing list