[Toaster] [review-request] adamian/20150727_tables

Michael Wood michael.g.wood at intel.com
Tue Jul 28 03:50:23 PDT 2015


On 28/07/15 11:40, Barros Pena, Belen wrote:
>
> On 27/07/2015 17:43, "toaster-bounces at yoctoproject.org on behalf of
> Damian, Alexandru" <toaster-bounces at yoctoproject.org on behalf of
> alexandru.damian at intel.com> wrote:
>
>> Hi,
>>
>>
>> This patch removes duplicates in the project compatible layers tables.
>>
>>
>> In effect, this patch computes, for each entry, its equivalence class in
>> the project context (based on the current project release), and selects
>> only the class leaders - the entries with the highest
>> priority in their own equivalence class.
>>
>>
>> This patch is important because the QuerySet here is the same one as one
>> would use to populate the future ProjectAvailableLayers table.
>>
Wouldn't this be better in orm.project.compatible_layerversions ?

So that anyone using that function will no longer get duplicated entries.



>>
>> Please review and merge:
>>
>>
>>http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=adamian/201
>> 50727_tables​
>  From the outside this seems to work. I now get only one openembedded-core
> layer, with revision matching the project release, which makes sense to
> me.
>
> Thanks
>
> Belén
>
>>
>> Cheers,
>>
>> Alex
>>
>>
>> -- 
>> Alex Damian
>> Yocto Project
>>
>> SSG / OTC
>>
>>
>>



More information about the toaster mailing list