[Toaster] Usage of already cloned layers in toaster

Barros Pena, Belen belen.barros.pena at intel.com
Mon Jul 27 03:59:28 PDT 2015



On 27/07/2015 11:38, "sujith h" <sujith.h at gmail.com> wrote:

>
>
>On Mon, Jul 27, 2015 at 3:59 PM, Barros Pena, Belen
><belen.barros.pena at intel.com> wrote:
>
>I've opened 
>https://bugzilla.yoctoproject.org/show_bug.cgi?id=8051
><https://bugzilla.yoctoproject.org/show_bug.cgi?id=8051> to
>track this.
>
>
>
>
>Thank you Belen. If some guidance can be given then may be I can also
>debug on this ( Since I am in learning phase ).

Sure. I've assigned the issue to Michael because he normally works on this
kind of thing, but feel free to take it or work with him :)

> A small thought though:
>
>If repos are provided locally then name shouldn't matter, as far as layer
>name is unique or consistent throughout,
>
>right? Pardon me if I am completely wrong :)

You are not wrong at all! :) We had lots of discussions as to how this
should work. If I remember correctly, the combination of layer name + git
url should be unique. You could in theory have two layers with the same
name as long as they point to different git repos; and even two layers
pointing to the same git repo as long as they have different names. But we
were having trouble implementing this, so to simplify things a little bit,
we set a rule saying that layer names within a certain project should be
unique. The bug you found seems connected to this, since it looks like
Toaster might be complaining about layer names existing in other projects.

This doesn't mean this is the right thing to do though: we should probably
think about this again at some point. If you have any ideas, let us know :)

Belén


>
>
>Thanks,
>
>Sujith H
>
> 
>
>
>
>Belén
>
>On 27/07/2015 11:09, "toaster-bounces at yoctoproject.org on behalf of Barros
>Pena, Belen" <toaster-bounces at yoctoproject.org on behalf of
>belen.barros.pena at intel.com> wrote:
>
>>
>>
>>On 27/07/2015 07:54, "sujith h" <sujith.h at gmail.com> wrote:
>>
>>>
>>>
>>>On Fri, Jul 24, 2015 at 6:36 PM, Barros Pena, Belen
>>><belen.barros.pena at intel.com> wrote:
>>>
>>>
>>>
>>>On 24/07/2015 13:57, "sujith h" <sujith.h at gmail.com> wrote:
>>>
>>>
>>>* Which version of Yocto Project you are using (fido or master)?
>>>
>>>I am using fido branch.
>>>
>>>
>>>* Which release you have selected for your project?
>>>
>>>
>>>In the release I have selected "Local Yocto Project"
>>>
>>>
>>>* If you click the "view all compatible layers" link and in that page
>>>you
>>>search for meta-oe, do you get any results?
>>>
>>>I can see only "meta-yocto-bsp", "meta-yocto" and "openembedded-core".
>>>Attached screenshot of the same.
>>>
>>>
>>>Also attaching screenshot of page where I try to import meta-oe from my
>>>locally cloned location.
>>>
>>>
>>>Below is the file structure I have:
>>>
>>>sujith at kdekid:~/MEL/homework$ pwd
>>>/home/sujith/MEL/homework
>>>sujith at kdekid:~/MEL/homework$ ls -l
>>>total 5180
>>>drwxrwxr-x 19 sujith sujith    4096 Jun 12 18:40 meta-oe-local
>>>drwxrwxr-x 19 sujith sujith    4096 Jul 24 18:04 meta-openembedded-local
>>>drwxrwxr-x  8 sujith sujith    4096 Jul 24 18:02 meta-qt5-local
>>>drwxrwxr-x 11 sujith sujith    4096 Jul 27 12:07 poky
>>>drwxrwxr-x  2 sujith sujith    4096 Jul 27 12:08 toaster_build_artifacts
>>>-rw-r--r--  1 sujith sujith 5277696 Jul 27 12:19 toaster.sqlite
>>>drwxrwxr-x  6 sujith sujith    4096 Jul 24 16:25 venv
>>>sujith at kdekid:~/MEL/homework$
>>>
>>
>>Right, I've managed to reproduce this. Looking at the browser console, it
>>might be a problem with the javascript doing the layer name validation.
>>If
>>you change the layer name to something completely random that does not
>>exist in the Toaster database (something like meta-xyz), can you import
>>the layer?
>>
>>Cheers
>>
>>Belén
>>
>>>
>>>
>>>Let me know if more details are required.
>>>
>>>
>>>
>>>Thanks,
>>>
>>>Sujith H
>>>
>>>
>>>
>>>
>>>--
>>>സുജിത് ഹരിദാസന്
>>>Bangalore
>>><Project>Contributor to KDE project
>>>http://fci.wikia.com/wiki/Anti-DRM-Campaign
>>><Blog> http://sujithh.info
>>>
>>>
>>>
>>
>
>
>>--
>>_______________________________________________
>>toaster mailing list
>>toaster at yoctoproject.org
>>https://lists.yoctoproject.org/listinfo/toaster
>
>
>
>
>
>
>
>-- 
>സുജിത് ഹരിദാസന്
>Bangalore
><Project>Contributor to KDE project
>http://fci.wikia.com/wiki/Anti-DRM-Campaign
><Blog> http://sujithh.info
>
>
>



More information about the toaster mailing list