<?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>9184</bug_id>
          
          <creation_ts>2016-02-29 19:50:12 +0000</creation_ts>
          <short_desc>Cannot delete layer from toaster database</short_desc>
          <delta_ts>2016-07-13 09:16:21 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>brian.avery</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59545</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-02-29 19:50:12 +0000</bug_when>
    <thetext>If you incorrectly add a layer (see bug 8952) there appears to be no way to remove it from database.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59572</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-03-01 11:50:33 +0000</bug_when>
    <thetext>We have a few &apos;delete&apos;-related things to do: see bug 8132 and bug 6238. We should probably do all those in 2.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59832</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-03-09 16:35:19 +0000</bug_when>
    <thetext>Nice bug find!
Umm, a request: could you add a steps to reproduce?

Something like 
1) import layer button
2) import python-networking from 
....
ty :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59964</commentid>
    <comment_count>3</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-03-14 22:50:28 +0000</bug_when>
    <thetext>Sorry, poor bug report.

Here&apos;s an example use case
1. You import a layer with recipes, say github.com/old-iot-stuff/layer
2. You find out you imported an un-maintained layer, you should have imported github.com/new-iot-stuff/layer
3. You want to remove the old-iot-stuff layer from toaster as it will only ever cause problems
4. You remove from a project, but you can&apos;t remove it form toaster

Expected behavior
-----------------
1. Import a layer with recipes, say github.com/old-iot-stuff/layer
2. You realize it&apos;s a stale layer and want to remove it
3. Remove from toaster using (say) &quot;remove layer from database&quot; button

Observed behavior
-----------------
1. Import a layer with recipes, say github.com/old-iot-stuff/layer
2. You realize it&apos;s a stale layer and want to remove it
3. You can&apos;t remove it form toaster</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63913</commentid>
    <comment_count>4</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2016-07-13 09:16:21 +0000</bug_when>
    <thetext>merged to master

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8813726f1d5ea1d78fced7fe52abdf826e529e62</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>