[yocto] [layerindex-web][PATCH v2 00/12] Add Distro, dependency and recommends detection, and import_project

Liam R. Howlett Liam.Howlett at windriver.com
Fri Oct 7 08:57:09 PDT 2016


This set of patches adds a number of features to the layerindex code:
 -  Adds the ability to set the actual-branch to import_layer.
 -  Adds distro to the database and web interface.
 -  Adds collection & version information to layerbranch.
 -  Uses layer name and collection name to determine dependencies and
    recommends.
 -  Adds import_project to simplify pulling all layers and openembedded-core
    into a layer index.

Liam R. Howlett (11):
  import_layer: Add --actual-branch option
  layerindex/tools/import_layer.py: Sanitize layer name.
  layerindex/tools/import_layer.py: Avoid failing if there is any layer
    to     add.
  layerindex/utils: Update runcmd to decode binary strings to strings.
  layerindex: Add distro to web interface and model.
  layerindex/tools/import_project: Add import_project
  layerindex/recipeparse.py: refactor setup_tinfoil,    
    checkout_layer_branch, parse_layer_conf to utils.py
  layerindex: Detect dependencies from layer.conf files
  layerindex: Add collection and version to layerbranch
  layerindexer: Add layer recommends support
  recipeparse: remove unnecessary else statement.

Mark Hatle (1):
  layerindex/update_layer.py: Preserve the recipedependency files

 layerindex/admin.py                |  11 +++
 layerindex/bulkchange.py           |   4 +-
 layerindex/layerconfparse.py       |  50 +++++++++++
 layerindex/models.py               |  23 +++++
 layerindex/recipeparse.py          |  53 +++--------
 layerindex/restviews.py            |  10 ++-
 layerindex/tools/import_classic.py |   2 +
 layerindex/tools/import_layer.py   |  47 +++++++++-
 layerindex/tools/import_project.py | 180 +++++++++++++++++++++++++++++++++++++
 layerindex/update.py               |  42 ++++++++-
 layerindex/update_layer.py         |  87 ++++++++++++++++--
 layerindex/urls.py                 |   3 +
 layerindex/urls_branch.py          |   6 +-
 layerindex/utils.py                | 159 +++++++++++++++++++++++++++++++-
 layerindex/views.py                |  29 +++++-
 templates/layerindex/detail.html   |  55 +++++++++---
 templates/layerindex/distros.html  |  76 ++++++++++++++++
 templates/layerindex/layers.html   |   1 +
 templates/layerindex/machines.html |   1 +
 templates/layerindex/recipes.html  |   1 +
 20 files changed, 767 insertions(+), 73 deletions(-)
 create mode 100644 layerindex/layerconfparse.py
 create mode 100755 layerindex/tools/import_project.py
 create mode 100644 templates/layerindex/distros.html

-- 
1.9.1




More information about the yocto mailing list