Bug 4369

Summary: utility-tasks.bbclass: let the do_listtasks lists the tasks in the order they run
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: Undecided CC: mark.hatle, meta.mr.watcher, meta.watcher, richard.purdie, sgw
Version: 1.5   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert Yang 2013-04-22 06:39:19 UTC
let the do_listtasks lists the tasks in the order they run, the current output has no order.
Comment 1 Richard Purdie 2013-04-22 08:03:33 UTC
There is no definitive order for the tasks since some can execute in parallel. I therefore think trying to show these in an order is going to be confusing to the user and I'm not sure this is a good idea.
Comment 2 Robert Yang 2013-04-22 08:20:12 UTC
(In reply to comment #1)
> There is no definitive order for the tasks since some can execute in
> parallel. I therefore think trying to show these in an order is going to be
> confusing to the user and I'm not sure this is a good idea.

Hi RP, thanks for the review, yes, the parallel tasks may confuse user, but is it possible to mark the parallel tasks, is it easy to do ? I will drop this one if not.
Comment 3 Richard Purdie 2013-04-22 13:38:16 UTC
We'd probably need specific new API to be able to do this and I'd prefer not to add that unless there is a pressing usecase...