[Toaster] [review-request] adamian/20150727_tables
Damian, Alexandru
alexandru.damian at intel.com
Tue Jul 28 06:15:33 PDT 2015
On Tue, Jul 28, 2015 at 11:50 AM, Michael Wood <michael.g.wood at intel.com>
wrote:
> 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.
>
>
> I actually thought about this, but it would interfere with the recipe
selection - the recipes are selected from all compatible_layerversions, not
just from the group leaders; otherwise, we could not show OE-Core recipes
coming from LayerIndex when the group leader comes from the
toasterconf.json OE-Core version.
>
>
>>> 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
>>>
>>>
>>>
>>>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150728/78f3af4a/attachment.html>
More information about the toaster
mailing list