[Toaster] all tasks
Ravi Chintakunta
ravi.chintakunta at timesys.com
Fri Jan 10 16:50:48 PST 2014
Hi David,
Thanks for your feedback.
> > 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.
>
I have the ascending and descending order in place. Filtering is displayed as a funnel icon next to the column header and clicking that opens the filtering options in a modal dialog.
> > 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.
Cool, I too did that.
>
> > 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.
>
I too prefer viewing the log in the browser. The task log in the database is the absolute path to the log file, so it should be easy to launch it in browser. But I am not sure how big the log files can be, and viewing large files in the browser will be a pain.
-Ravi
More information about the toaster
mailing list