<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8944</bug_id>
          
          <creation_ts>2016-01-19 16:51:00 +0000</creation_ts>
          <short_desc>Compatible metadata is shared across projects using the local release</short_desc>
          <delta_ts>2016-05-05 13:14:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          <cc>alexandru.costinx.roman</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Alexandru Roman">alexandru.costinx.roman</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57956</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-01-19 16:51:00 +0000</bug_when>
    <thetext>Steps to reproduce:

1. Using a clean database, create a Toaster project using the local release. Navigate to the compatible software recipes page and make sure it&apos;s empty.

2. Create a second Toaster project using the local release. Navigate to the compatible software recipes page and make sure it&apos;s empty.

3. Go back to the project you created in step 1 and import a layer, for example, meta-intel, by entering the following details in the import layer page:

layer name: meta-intel-imported
Git URL: git://git.yoctoproject.org/meta-intel
revision: master

The list of compatible layers in this project will now include a meta-intel-imported layer

4. Build a recipe from the meta-intel layer, for example: intel-gpu-tools. Once the build completes, the list of compatible software recipes will now include the intel-gpu-tools recipe

5. Go to the project you created in step 2 and check the list of compatible layers and the list of compatible software recipes.

They are no longer empty: they have the same information as in the project you created in step 1. Compatible meta-data is supposed to be per project: it should not be shared across projects in this way, since we have no way to know whether the compatible meta-data in one project is indeed compatible with a second project.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59859</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2016-03-10 10:51:32 +0000</bug_when>
    <thetext>This commit has landed

http://git.yoctoproject.org/cgit/cgit.cgi/poky/atom/0f0105932cbb364041d3380740ba481250bffe32
When returning the compatible layers make sure that we are only
listing: All the layers which are for this release &amp;&amp; configuration
layers (i.e. aren&apos;t part of the build history) and which aren&apos;t an
imported layer OR are this project&apos;s imported layer(s).

[YOCTO #8944]

(Bitbake rev: de8baedaccb451c12bc3f642449db3f64aed6bf7)

Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

Bug link: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8944
gitweb: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0f0105932cbb364041d3380740ba481250bffe32</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61981</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-05-05 13:14:24 +0000</bug_when>
    <thetext>Verified on master.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>