aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/models.py
diff options
context:
space:
mode:
authorAlex Franco <alejandro.franco@linux.intel.com>2015-08-31 22:02:46 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2015-10-07 11:34:28 +0100
commitfd63761d2a2f5b8e630cb34885249622cc4d9ce1 (patch)
treeced5c6769c930318ecc1f39d4304c006e589794d /layerindex/models.py
parent8966d2ea4e04a50f46a2816939733290f2124b66 (diff)
downloadopenembedded-core-contrib-fd63761d2a2f5b8e630cb34885249622cc4d9ce1.tar.gz
Support for recipe inherits field
To identify image recipes and provide inheritance data for recipes, an inherits field was added to the recipe model, and then populated using refactored data from __inherit_cache. Finally the field was also added to page templates, along with style changes proposed in attachment, and an additional style change to display the inherits field as a list in detailed view. The field skips globally inherited data as proposed. [YOCTO #7575] Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/models.py')
-rw-r--r--layerindex/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/layerindex/models.py b/layerindex/models.py
index dd291a3a2c..c9e96200c7 100644
--- a/layerindex/models.py
+++ b/layerindex/models.py
@@ -242,7 +242,7 @@ class Recipe(models.Model):
bugtracker = models.URLField(blank=True)
provides = models.CharField(max_length=255, blank=True)
bbclassextend = models.CharField(max_length=100, blank=True)
-
+ inherits = models.CharField(max_length=255, blank=True)
updated = models.DateTimeField(auto_now = True)
def vcs_web_url(self):