Bug 7457 - Split "Previous Build" tasks
Summary: Split "Previous Build" tasks
Status: NEW
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low enhancement
Target Milestone: Future
Assignee: David Reyna
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-03-13 16:02 UTC by Belen Barros Pena
Modified: 2025-06-11 08:56 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2015-03-13 16:02:55 UTC
Right now, "Previous build" tasks include all those tasks for which there are stamp files. However, there are 2 types of stamp files. In RP's words: "normal" ones and "sstate" ones.

RP has suggested we should split them, and create a new category of Toaster tasks for the tasks with sstate stamps. In his words:

"An alternative would be to log an extra "existing sstate" state and then mark this up a previously built task which came from the sstate cache. This would actually be my preferred outcome but complicates the UI and the code changes."
Comment 1 Belen Barros Pena 2015-03-19 14:47:57 UTC
from RP's comment in bug 7355

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7355#c16

the new category for tasks with sstate stamps should probably include "find tasks in previous builds" functionality, as the 'previous build' tasks do. 

I assume the list of tasks returned should only include cached tasks (and by extension, the list of tasks returned in the case of "previous build" tasks should never include cached tasks).