Bug 5959 - Sorting of recipes in task link can't work well.
Summary: Sorting of recipes in task link can't work well.
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6 M5
Assignee: Belen Barros Pena
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-13 09:32 UTC by Yuan Sun
Modified: 2014-04-08 09:04 UTC (History)
5 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 Yuan Sun 2014-03-13 09:32:15 UTC
Sorting of recipes in task link can't work well.

Steps to reproduce:
Start up toaster. 
Select a build and click task link.
Click "recipe" to sort.
The order is the following.
busybox->...->shadow-native->...->qemu-helper-native 
The result should have been sorted alphabetical.
Comment 1 Belen Barros Pena 2014-03-13 09:36:38 UTC
I have a fix for this here

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=bbarrosp/front-end-050414&id=9393333b77495a120bdc2f25fafa3ee00b42d2a5

I submitted it for review to the mailing list on Tuesday, so I am hoping it will be sent to bitbake-devel today.

David: if you could have a look at it and make sure you are ok with it, that would be useful.

Thanks!
Comment 2 David Reyna 2014-03-17 06:12:05 UTC
Hi Belen,

Your patch looks fine to me. 

I wonder what we were sorting on before when the key was the recipe record, instead of the recipe's name. I guess the primary key, or the object's memory address.
Comment 4 Yuan Sun 2014-04-08 09:04:39 UTC
Verified in 3e528d3e4bc542ca2f654c54363c56af0fb9f61b.