<?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>11207</bug_id>
          
          <creation_ts>2017-03-22 01:20:10 +0000</creation_ts>
          <short_desc>Add bbclass search</short_desc>
          <delta_ts>2017-12-06 17:27:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Layer Index</product>
          <component>Layer Index</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.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Amanda Brindle">amanda.r.brindle</assigned_to>
          <cc>brian.avery</cc>
    
    <cc>david.reyna</cc>
    
    <cc>libertad.gonzalez.de.la.cruz</cc>
    
    <cc>tanujassawant</cc>
          
          
          <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>71558</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-03-22 01:20:10 +0000</bug_when>
    <thetext>Add an new &quot;Classes&quot; top level button that takes you to a page where you can search for bbclasses, just like the recipe/machine/distro search pages. We already have the data, so this should be as simple as adding a template and a view.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72307</commentid>
    <comment_count>1</comment_count>
    <who name="Tanuja Sawant">tanujassawant</who>
    <bug_when>2017-04-11 17:03:00 +0000</bug_when>
    <thetext>Where should I add the button? In Toaster? I&apos;m a newbie :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72332</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-04-11 20:40:09 +0000</bug_when>
    <thetext>along the left, under 
Custom images
Image recipes
Software recipes
Machines
Layers
&lt;bbclasses&gt;

---

Paul, what are we hoping to be showing here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72336</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-04-11 20:56:36 +0000</bug_when>
    <thetext>This would be added to the layer index code ( http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/ ). You&apos;d need to add a view to layerindex/views.py (see DistroSearchView for the distro one that you should be able to mostly copy and modify). You&apos;ll also need to add a branch-specific URL handler in layerindex/urls_branch.py so that it&apos;s accessible. The templates for generating the HTML are in templates/layerindex - you&apos;ll need to create a new template and search for distro_search to see where you&apos;d need to add links to the URL for the new search page. The model we would be looking at for this is &quot;BBClass&quot; (see layerindex/models.py). HTH.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72486</commentid>
    <comment_count>4</comment_count>
    <who name="Tanuja Sawant">tanujassawant</who>
    <bug_when>2017-04-13 17:57:00 +0000</bug_when>
    <thetext>I can&apos;t seem to find the folder &apos;layerindex&apos;. Is poky the correct clone for this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72487</commentid>
    <comment_count>5</comment_count>
    <who name="Tanuja Sawant">tanujassawant</who>
    <bug_when>2017-04-13 18:05:15 +0000</bug_when>
    <thetext>Okay I have cloned layerindex-web now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78231</commentid>
    <comment_count>6</comment_count>
    <who name="Amanda Brindle">amanda.r.brindle</who>
    <bug_when>2017-11-16 00:38:42 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/?id=78c2561181f07b1c39f1dc3516a9110a39d874f2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>