Bug 10177

Summary: Two openembedded-core entries when searching for recipes
Product: [Yocto Project Subprojects] Layer Index Reporter: Belen Barros Pena <belen.barros.pena>
Component: Layer Index MetadataAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact: David Lopez Barriba <davidx.lopez.barriba>
Severity: normal    
Priority: Medium CC: brian.avery
Version: 2.2   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2016-08-23 16:03:46 UTC
The list of layers in the layer index has one openembedded-core in it, as it should be. However, when you search for a recipe, you get two openembedded-core entries. For example

http://layers.openembedded.org/layerindex/branch/krogoth/recipes/?q=pigz

or

http://layers.openembedded.org/layerindex/branch/krogoth/recipes/?q=busybox

As far as I can see, this happens for all branches, but not for machines:

http://layers.openembedded.org/layerindex/branch/master/machines/?q=qemuarm
Comment 1 Paul Eggleton 2016-08-29 04:25:34 UTC
This is an unfortunate side-effect of Elliot's fix for bug 9159:

http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/?id=3155206e54413f72df3b3b41280eafd332a58ba4
Comment 2 Paul Eggleton 2016-10-19 04:00:03 UTC
The fix turned out to be relatively straightforward. I also tweaked the query slightly so that exact matches on recipe name show up first.
Comment 3 Paul Eggleton 2017-01-13 01:15:27 UTC
This is now fixed in master and the live instance at layers.openembedded.org.
Comment 4 David Lopez Barriba 2017-05-25 17:47:43 UTC
Verified, it works ok