[yocto] [layerindex-web][PATCH 00/10] Add Distribution, dependency and recommends detection, and import_project

Liam R. Howlett Liam.Howlett at windriver.com
Mon Sep 26 11:25:28 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 distribution 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 to
    a layer index.

Liam R. Howlett (10):
  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 distribution to web interface and model.
  layerindex/tools/import_project: Add import_project
  layerindex: Detect dependencies from layer.conf files
  layerindex: Add collection and version to layerbranch
  layerindexer: Add layer recommends support
  recipeparse: remove unnecessary else statement.

 layerindex/admin.py                     |  11 ++
 layerindex/layerconfparse.py            |  39 +++++++
 layerindex/models.py                    |  24 +++++
 layerindex/recipeparse.py               |  45 +++-----
 layerindex/restviews.py                 |  10 +-
 layerindex/tools/import_classic.py      |   2 +
 layerindex/tools/import_layer.py        |  49 ++++++++-
 layerindex/tools/import_project.py      | 176 ++++++++++++++++++++++++++++++++
 layerindex/update.py                    |  22 +++-
 layerindex/update_layer.py              |  71 +++++++++++--
 layerindex/urls.py                      |   3 +
 layerindex/urls_branch.py               |   6 +-
 layerindex/utils.py                     | 136 +++++++++++++++++++++++-
 layerindex/views.py                     |  29 +++++-
 templates/layerindex/detail.html        |  55 ++++++++--
 templates/layerindex/distributions.html |  76 ++++++++++++++
 templates/layerindex/layers.html        |   1 +
 templates/layerindex/machines.html      |   1 +
 templates/layerindex/recipes.html       |   1 +
 19 files changed, 696 insertions(+), 61 deletions(-)
 create mode 100644 layerindex/layerconfparse.py
 create mode 100755 layerindex/tools/import_project.py
 create mode 100644 templates/layerindex/distributions.html

-- 
1.9.1




More information about the yocto mailing list