[OE-core] [PATCH 3/3] buildhistory: remove duplicate entries from dot graph

Koen Kooi koen at dominion.thruhere.net
Tue Mar 20 13:40:28 UTC 2012


Op 20 mrt. 2012, om 14:14 heeft Paul Eggleton het volgende geschreven:

> On Tuesday 20 March 2012 13:11:38 Koen Kooi wrote:
>> I think I know why [2] doesn't work:
>> 
>> koen at dominion:/data/ssd/OE/buildhistory$ echo b c a | sort
>> b c a
>> koen at dominion:/data/ssd/OE/buildhistory$ echo -e b\\nc\\na | sort
>> a
>> b
>> c
> 
> Ah, yes, that would explain it. I've primarily been testing with rpm for which 
> list_package_depends produces the output on separate lines, whereas the ipk 
> version is all on one line; it only matters when doing the sort. Oops!
> 
>> Let me know how you want me to respin this series, each commit is an RFC on
>> its own.
> 
> If you wouldn't mind I think the easiest thing is to drop the sort/uniq on the 
> depends/recommends and just rely on the one at the end that you're adding

V2 sent. I'm not really happy with the interaction between patch 1 and 2, so I'd appreciate some feedback on it.

regards,

Koen



More information about the Openembedded-core mailing list