<?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>3272</bug_id>
          
          <creation_ts>2012-10-10 16:57:33 +0000</creation_ts>
          <short_desc>Implement web interface for indexing OpenEmbedded layers</short_desc>
          <delta_ts>2013-04-11 13:30:38 +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>Other YP Layers</product>
          <component>layers</component>
          <version>1.4</version>
          <rep_platform>All</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>enhancement</bug_severity>
          <target_milestone>1.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>belen.barros.pena</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26496</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-10-10 16:57:33 +0000</bug_when>
    <thetext>At the moment, we have a wiki page to index publicly available layers:

http://www.openembedded.org/wiki/LayerIndex

It would be useful to have a proper database-backed web interface for managing the list of these - we could record more information about each one (such as maintainer information) as well as gathering information from the layers themselves, potentially allowing searching for individual recipes or other information based on the layer content.

The basic implementation would at minimum need to provide the following:

* List of all layers in short form, similar to what the wiki page does at the moment (without needing to log in)
* Login and user registration system
* New layer registration interface with an approval system (i.e. new layers would need to be approved by one of a group of other authorised users)
* Email notification of changes (simplest case, just email a single address and we can use a mailing list; otherwise we could allow users to choose whether or not to recieve notifications)
* Search function
* A backend script to be run on a scheduled basis to clone/fetch each layer and gather information from each one, at minimum:
 * Recipe file names
 * Last commit date

Ideally this would be implemented using Python-based framework such as Django or Flask, then the backend script can access the metadata or otherwise make use of bitbake code and it will be more easily maintainable by people familiar with our build system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26660</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2012-10-17 11:01:12 +0000</bug_when>
    <thetext>I think this would be incredibly useful. I&apos;ll be happy to help putting together the web interface.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31302</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-03-29 21:36:39 +0000</bug_when>
    <thetext>The new layer index has now been set up:

 http://layers.openembedded.org/

The source code can be found here:

 http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31948</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-04-11 13:30:38 +0000</bug_when>
    <thetext>The following features ware tested:

* List of all layers in short form, similar to what the wiki page does at the moment (without needing to log in)
* Login and user registration system
* Email notification of changes (simplest case, just email a single address and we can use a mailing list; otherwise we could allow users to choose whether or not to recieve notifications)
* Search function

The rest are verified as per Paul Eggleton and community&apos;s input.

Marking as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>