<?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>6618</bug_id>
          
          <creation_ts>2014-08-07 17:21:21 +0000</creation_ts>
          <short_desc>Make the layer name searchable and show item page when search returns only one result</short_desc>
          <delta_ts>2017-06-15 15:01:35 +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>All</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.4 M1</target_milestone>
          <dependson>7981</dependson>
          <blocked>6670</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Jose Lamego">jose.a.lamego</assigned_to>
          <cc>anibal.limon</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>bluelightning</cc>
    
    <cc>brian.avery</cc>
    
    <cc>elliot.smith</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="David Lopez Barriba">davidx.lopez.barriba</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>45017</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-08-07 17:21:21 +0000</bug_when>
    <thetext>To allow linking to recipes in the layer index from Toaster, we would like to be able to search for recipe_name+layer_name. For example:

http://layers.openembedded.org/layerindex/branch/master/recipes/?q=3g-router-image+meta-embeddedgeeks

Also, if the search returns only one result, to display the recipe details page, instead of the search results page with only one item.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45018</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-08-07 17:22:52 +0000</bug_when>
    <thetext>bug 6592 is the one needing this enhancement</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55954</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2015-10-29 01:53:05 +0000</bug_when>
    <thetext>Got a somewhat clunky working implementation, will refine and submit soon...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56021</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Franco">alejandro.franco</who>
    <bug_when>2015-10-30 00:07:26 +0000</bug_when>
    <thetext>Sent &quot;search enhancements&quot; patch to list, waiting for review</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62968</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-14 17:32:34 +0000</bug_when>
    <thetext>Moving this to 2.2M2. I need to check if patches are already on proper repo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64422</commentid>
    <comment_count>5</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-07-25 20:54:17 +0000</bug_when>
    <thetext>Elliot,

According to the comment https://bugzilla.yoctoproject.org/show_bug.cgi?id=6618#c3 patches may be already on a repository so first task here is to see if those patches were either merged or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64715</commentid>
    <comment_count>6</comment_count>
    <who name="Elliot Smith">elliot.smith</who>
    <bug_when>2016-08-01 09:23:49 +0000</bug_when>
    <thetext>Marking as NEEDINFO so Leonardo can check whether the patches are on a repository, as per comment 5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64880</commentid>
    <comment_count>7</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-08-04 17:07:33 +0000</bug_when>
    <thetext>Anibal will review current feature status.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64890</commentid>
    <comment_count>8</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-08-04 18:08:22 +0000</bug_when>
    <thetext>Anibal will check if feature/commit is present.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68199</commentid>
    <comment_count>9</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-11-09 18:17:04 +0000</bug_when>
    <thetext>Leo needs to talk to Paul and see if this bug will be done for 2.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68224</commentid>
    <comment_count>10</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-11-10 17:18:01 +0000</bug_when>
    <thetext>Series was sent but not merged:

https://lists.yoctoproject.org/pipermail/yocto/2015-October/027155.html

We need to review if these still apply and do proper testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69912</commentid>
    <comment_count>11</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-01-18 22:35:24 +0000</bug_when>
    <thetext>Changes were applied on top of current master and tested in a staging instance. Re-sent patches can be seen at:

https://lists.yoctoproject.org/pipermail/yocto/2017-January/033999.html
https://lists.yoctoproject.org/pipermail/yocto/2017-January/034000.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70135</commentid>
    <comment_count>12</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-01-25 17:18:55 +0000</bug_when>
    <thetext>Patches sent but probably not yet merged. Moving to M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71222</commentid>
    <comment_count>13</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-03-13 20:37:09 +0000</bug_when>
    <thetext>A reminder was sent to the ML. Moving to 2.4, waiting for merging.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71970</commentid>
    <comment_count>14</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-03-31 17:46:10 +0000</bug_when>
    <thetext>Change for single result redirect is implemented in:
c8c25fb641c500354cf36c3c59abb6f9fe96d223

pending a v2 for the recipe search requirement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72044</commentid>
    <comment_count>15</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-04-03 19:37:17 +0000</bug_when>
    <thetext>It was suggested that a different approach should be taken for this request.

The new patch replicates the approach taken when supporting querying by &quot;inherits&quot; filed value: now the prefix &quot;layer:&quot; + the layer name can be used in queries by itself or combined with the recipe name or other supported options.
for example:
layer:openembedded-core

patch can be viewed at:
https://lists.yoctoproject.org/pipermail/yocto/2017-April/035451.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73584</commentid>
    <comment_count>16</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-05-31 20:53:36 +0000</bug_when>
    <thetext>A new patch was sent to add the search by layer name feature. This new version includes descriptive messages when wrong formatting is used for the query string and when a non-valid layer name is searched:

https://lists.yoctoproject.org/pipermail/yocto/2017-May/036377.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74199</commentid>
    <comment_count>17</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-06-15 13:20:58 +0000</bug_when>
    <thetext>A reminder was sent to the mailing list. Waiting to be integrated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74214</commentid>
    <comment_count>18</comment_count>
    <who name="Jose Lamego">jose.a.lamego</who>
    <bug_when>2017-06-15 15:01:35 +0000</bug_when>
    <thetext>Change to make layer name searchable merged in commit 	b958a991caa947fde2ccb073e3cb7924e162562d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>