e 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
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
---
layerindex/tools/import_layer.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/layerindex/tools/import_layer.py b
though this should never happen.
Signed-off-by: Liam R. Howlett
---
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
index 8d9e8cb..21b31f5 100755
--- a
Add the distributions to the index. This looks a lot like the machines
and allows users to search for a particular distribution.
Signed-off-by: Liam R. Howlett
---
layerindex/admin.py | 11 +
layerindex/models.py| 14 ++
layerindex/recipeparse.py
Convert binary strings to strings and strip leading/trailing whitespace
prior to returning errors and output.
Signed-off-by: Liam R. Howlett
---
layerindex/utils.py | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/layerindex/utils.py b/layerindex/utils.py
index
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
-by: Liam R. Howlett
---
layerindex/models.py | 2 ++
layerindex/tools/import_layer.py | 3 ---
layerindex/update.py | 1 +
layerindex/update_layer.py | 25 +++--
layerindex/utils.py | 16 ++--
5 files changed, 36
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
---
layerindex
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
---
layerindex/models.py | 4
layerindex/tools/import_laye
Code clean up.
Signed-off-by: Liam R. Howlett
---
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/layerindex/recipeparse.py
+++ b/layerindex
Allow users to set actual-branch from the command line import of layers.
Signed-off-by: Liam R. Howlett
---
layerindex/tools/import_layer.py | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/layerindex/tools/import_layer.py b/layerindex/tools/import_layer.py
index
* Paul Eggleton [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 the
> > dependency name and then checking
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
---
layerindex/tools/import_layer.py | 6 ++
1 file changed, 6 insertions(+)
diff --git a/layerindex/tools/import_layer.py b
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
though this should never happen.
Signed-off-by: Liam R. Howlett
---
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 fefef0c..184c5cc 100755
--- a
Allow users to set actual-branch from the command line import of layers.
Signed-off-by: Liam R. Howlett
---
layerindex/tools/import_layer.py | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/layerindex/tools/import_layer.py b/layerindex/tools/import_layer.py
index
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
---
layerindex/admin.py| 11 ++
layerindex/models.py | 14 +++
layerindex/recipeparse.py | 5
rechecked in case
the layers are not added in order.
Signed-off-by: Liam R. Howlett
---
layerindex/layerconfparse.py | 50
layerindex/tools/import_layer.py | 11 ++
layerindex/update.py | 41 +++-
layerindex/update_layer.py | 20
Move functions to utils to be used by other classes.
_
Signed-off-by: Liam R. Howlett
---
layerindex/bulkchange.py | 4 ++--
layerindex/recipeparse.py | 39 +++---
layerindex/utils.py | 48 +++
3 files changed
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
Code clean up.
Signed-off-by: Liam R. Howlett
---
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/layerindex/recipeparse.py
+++ b/layerindex
-by: Liam R. Howlett
---
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 2343ba7..cbfb244 100644
--- a
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
---
layerindex/models.py | 7 +++
layerindex/t
Convert binary strings to strings and strip leading/trailing whitespace
prior to returning errors and output.
Signed-off-by: Liam R. Howlett
---
layerindex/utils.py | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/layerindex/utils.py b/layerindex/utils.py
index
From: Mark Hatle
In order to keep primary keys from constantly changing, preverse the
exist keys as much as possible.
Signed-off-by: Mark Hatle
Signed-off-by: Liam R. Howlett
---
layerindex/update_layer.py | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git
25 matches
Mail list logo