From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 66C62E0086D; Mon, 27 Jul 2015 06:25:05 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.212.174 listed in list.dnswl.org] Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BC82EE0049B for ; Mon, 27 Jul 2015 06:25:03 -0700 (PDT) Received: by wibud3 with SMTP id ud3so140024946wib.1 for ; Mon, 27 Jul 2015 06:25:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=TfYBxICzhBazcU6QiLnUY5qelt/kGAxEG9oKtZ9l4vw=; b=Q8xe9iWUxZE+TdB87drqQq1UKxTYjiPqDSaA5yPXzOwXgQfIPXaI2YUNQLBfBjRVVO ej77kx+dIvApfCK+tf6zSX3r37Vy9oJnY832WJr3kxqwTXw+pNE/9CFB1K+vMUBh5UYa /dy5tP6iTxvRxv/qbGQ/jlXeYATbe+mqVWniybmxMUb8wyns2E1ZByB3NjzZvsB000i8 4tIoZVLzBm9nArT+TQr00m/tG6rcXX7aybu42pqO2+wjfPjDwADnXxB8TqsvChCUqjam Zi5Sj/vobFBHu7AOWgg16mA4F/IOYMVGgeDoZEyD+G/vsXW7b60Da8psqra3x85fCDrj Iqxw== X-Gm-Message-State: ALoCoQkGKITVprYXrg73mq26i0okdJMPS7qCAxX480tBe3F57ag6ifZv/QBwiAzosei2KhVwf7PI X-Received: by 10.180.84.230 with SMTP id c6mr24314274wiz.32.1438003502451; Mon, 27 Jul 2015 06:25:02 -0700 (PDT) Received: from [192.168.0.15] (cpc73680-dals20-2-0-cust304.20-2.cable.virginm.net. [80.194.17.49]) by smtp.googlemail.com with ESMTPSA id gb16sm13670736wic.5.2015.07.27.06.25.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 06:25:01 -0700 (PDT) Message-ID: <55B6312D.1000801@intel.com> Date: Mon, 27 Jul 2015 14:25:01 +0100 From: Michael Wood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: toaster@yoctoproject.org References: In-Reply-To: Subject: Re: Usage of already cloned layers in toaster X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 13:25:05 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 27/07/15 11:31, sujith h wrote: > > > On Mon, Jul 27, 2015 at 3:39 PM, Barros Pena, Belen > > wrote: > > > > On 27/07/2015 07:54, "sujith h" > wrote: > > > > > > >On Fri, Jul 24, 2015 at 6:36 PM, Barros Pena, Belen > > > wrote: > > > > > > > >On 24/07/2015 13:57, "sujith h" > 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@kdekid:~/MEL/homework$ pwd > >/home/sujith/MEL/homework > >sujith@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@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? > > > Am bit new to the web world. So I gave a try with firebug to debug > which script ( Javascript or any ) call happens > when I click "Import and add to project" button. Even after changing > meta-oe repo to meta-xyz as per suggestion, > the result remains same. But this is the output I see in the firebug > console: > |{"current_id": 5, "current_url": "git://git.openembedded.org/meta-openembedded ", "error": "hint-layer-exists-with-different-url"||}| > hint-layer-exists-with-different-url > > Also attaching the screenshot of the same ( to get more clarity ). Thanks for this, I noticed this wasn't working properly last week, and rolled a couple of patches to fix these regressions. http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=michaelw/toaster/wip-nav-project-changes&id=0181c56dd608427c0a7bd986df75bf7a1189e064 and http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=michaelw/toaster/wip-nav-project-changes&id=aa5b023f03f5465ea22318a1f21199ce434eb700 I have a few other things to fix on this branch as I have been fixing a number of things to allow me to test the new project page, I'm intending to roll a separate branch for review on it. You've highlighted that we need a unit test which does a layer import using the back end API calls, which although it wouldn't have caught this error would be really good to have, if you're interested in helping with that? > > Thanks, > Sujith H > > > > Cheers > > Belén > > > > > > >Let me know if more details are required. > > > > > > > >Thanks, > > > >Sujith H > > > > > > > > > >-- > >സുജിത് ഹരിദാസന് > >Bangalore > >Contributor to KDE project > >http://fci.wikia.com/wiki/Anti-DRM-Campaign > > http://sujithh.info > > > > > > > > > > > -- > സുജിത് ഹരിദാസന് > Bangalore > Contributor to KDE project > http://fci.wikia.com/wiki/Anti-DRM-Campaign > http://sujithh.info > >