Django will produce a cryptic error message if layers are added with
invalid names. Sanitize the layer names when trying to add them.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/tools/import_layer.py | 6 ++
1 file changed, 6 insertions(+)
diff
Convert binary strings to strings and strip leading/trailing whitespace
prior to returning errors and output.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/utils.py | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/layerindex/util
Parse layer.conf and add dependencies that are not required from
LAYERRECOMMENDS_. Update the layerindex/template to support
recommends. Uses bitbake parsing code & checks versions.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/models.py
import_project will scan through a project and find any layer and add it
to the database by calling import_layer on each layer. This differs
from import_layer as it tires to figure out the remote url and uses the
subdirectory (if one exists) as the name.
Signed-off-by: Liam R. Howlett <liam.h
Code clean up.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/recipeparse.py | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/layerindex/recipeparse.py b/layerindex/recipeparse.py
index 8a63117..8cf75a1 100644
--- a/laye
though this should never happen.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/tools/import_layer.py | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/layerindex/tools/import_layer.py b/layerindex/tools/import_layer.py
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: A
Allow users to set actual-branch from the command line import of layers.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/tools/import_layer.py | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/layerindex/tools/import_layer.py b/laye
-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/models.py | 2 ++
layerindex/tools/import_layer.py | 3 ---
layerindex/update.py | 1 +
layerindex/update_layer.py | 25 +++--
layerindex/utils.py
Read dependencies from layer.conf and try to create the LayerDependency
entry by looking up the correct database object. Dependencies are found
by layer name only - no collection support. layer.conf parsing is
handled by the bitbake code.
Signed-off-by: Liam R. Howlett <liam.h
* Paul Eggleton <paul.eggle...@linux.intel.com> [161003 18:54]:
> On Mon, 26 Sep 2016 14:25:36 Liam R. Howlett wrote:
> > Collection and version will be pulled from the layer.conf if it exists
> > and dependencies will be resolved by first checking for layers with th
Allow users to set actual-branch from the command line import of layers.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/tools/import_layer.py | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/layerindex/tools/import_layer.py b/laye
Add the distros to the index. This looks a lot like the machines
and allows users to search for a particular distro.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/admin.py| 11 ++
layerindex/models.py | 14 +++
laye
though this should never happen.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/tools/import_layer.py | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/layerindex/tools/import_layer.py b/layerindex/tools/import_layer.py
index f
to be rechecked in case
the layers are not added in order.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/layerconfparse.py | 50
layerindex/tools/import_layer.py | 11 ++
layerindex/update.py | 41 +++-
laye
-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/models.py | 2 ++
layerindex/update_layer.py | 1 +
layerindex/utils.py| 20 ++--
3 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/layerindex/models.py b/layerindex/models.py
index 2
Parse layer.conf and add dependencies that are not required from
LAYERRECOMMENDS_. Update the layerindex/template to support
recommends. Uses bitbake parsing code & checks versions.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/models.py
Code clean up.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/recipeparse.py | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/layerindex/recipeparse.py b/layerindex/recipeparse.py
index 91a083b..dd85bc3 100644
--- a/laye
Django will produce a cryptic error message if layers are added with
invalid names. Sanitize the layer names when trying to add them.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/tools/import_layer.py | 6 ++
1 file changed, 6 insertions(+)
diff
mine 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: A
import_project will scan through a project and find any layer and add it
to the database by calling import_layer on each layer. This differs
from import_layer as it tires to figure out the remote url and uses the
subdirectory (if one exists) as the name.
Signed-off-by: Liam R. Howlett <liam.h
Move functions to utils to be used by other classes.
_
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/bulkchange.py | 4 ++--
layerindex/recipeparse.py | 39 +++---
layerindex/utils.py
Convert binary strings to strings and strip leading/trailing whitespace
prior to returning errors and output.
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/utils.py | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/layerindex/util
From: Mark Hatle <mark.ha...@windriver.com>
In order to keep primary keys from constantly changing, preverse the
exist keys as much as possible.
Signed-off-by: Mark Hatle <mark.ha...@windriver.com>
Signed-off-by: Liam R. Howlett <liam.howl...@windriver.com>
---
layerindex/up
24 matches
Mail list logo