From: Alexandru DAMIAN Date: Thu, 14 Nov 2013 10:52:59 +0000 (+0000) Subject: bitbake: toaster: remove author field X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f1e696aba51d7fc50ca562ebbc1b167dc7ad77a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: toaster: remove author field The AUTHOR field in most recipes is not defined, or it's not really consistently set in the metadata, Also does it seem particularly useful. This patch removes the AUTHOR variable from the toaster system [YOCTO #5449] (Bitbake rev: da3ac049300be84defab7b32b0b99ab07c7d0a27) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 2b0298e99e0..a1a91157bb5 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py @@ -618,7 +618,6 @@ class BuildInfoHelper(object): recipe_info['licensing_info'] = 'Not Available' recipe_info['homepage'] = event._depgraph['pn'][pn]['homepage'] recipe_info['bugtracker'] = event._depgraph['pn'][pn]['bugtracker'] - recipe_info['author'] = 'Not Available' recipe_info['file_path'] = file_name recipe = self.orm_wrapper.get_update_recipe_object(recipe_info) if 'inherits' in event._depgraph['pn'][pn].keys(): diff --git a/bitbake/lib/toaster/bldviewer/templates/recipe.html b/bitbake/lib/toaster/bldviewer/templates/recipe.html index a62437066df..e9a1c1089d5 100644 --- a/bitbake/lib/toaster/bldviewer/templates/recipe.html +++ b/bitbake/lib/toaster/bldviewer/templates/recipe.html @@ -38,7 +38,6 @@ {{recipe.licensing_info}} {{recipe.homepage}} {{recipe.bugtracker}} - {{recipe.author}} {{recipe.file_path}}
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index f60d138fe97..1e82a65f430 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py @@ -207,7 +207,6 @@ class Recipe(models.Model): licensing_info = models.TextField(blank=True) homepage = models.URLField(blank=True) bugtracker = models.URLField(blank=True) - author = models.CharField(max_length=100, blank=True) file_path = models.FilePathField(max_length=255)