diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-11-14 10:52:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-15 11:48:52 +0000 |
commit | 9f1e696aba51d7fc50ca562ebbc1b167dc7ad77a (patch) | |
tree | e51111d1f2d2d6fb86197dce76019d8dd6087a62 /bitbake | |
parent | 2445b313a2025a38e0ba9b9654bd428e3eed31e2 (diff) | |
download | poky-9f1e696aba51d7fc50ca562ebbc1b167dc7ad77a.tar.gz |
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 <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 1 | ||||
-rw-r--r-- | bitbake/lib/toaster/bldviewer/templates/recipe.html | 1 | ||||
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 2b0298e99e..a1a91157bb 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -618,7 +618,6 @@ class BuildInfoHelper(object): | |||
618 | recipe_info['licensing_info'] = 'Not Available' | 618 | recipe_info['licensing_info'] = 'Not Available' |
619 | recipe_info['homepage'] = event._depgraph['pn'][pn]['homepage'] | 619 | recipe_info['homepage'] = event._depgraph['pn'][pn]['homepage'] |
620 | recipe_info['bugtracker'] = event._depgraph['pn'][pn]['bugtracker'] | 620 | recipe_info['bugtracker'] = event._depgraph['pn'][pn]['bugtracker'] |
621 | recipe_info['author'] = 'Not Available' | ||
622 | recipe_info['file_path'] = file_name | 621 | recipe_info['file_path'] = file_name |
623 | recipe = self.orm_wrapper.get_update_recipe_object(recipe_info) | 622 | recipe = self.orm_wrapper.get_update_recipe_object(recipe_info) |
624 | if 'inherits' in event._depgraph['pn'][pn].keys(): | 623 | 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 a62437066d..e9a1c1089d 100644 --- a/bitbake/lib/toaster/bldviewer/templates/recipe.html +++ b/bitbake/lib/toaster/bldviewer/templates/recipe.html | |||
@@ -38,7 +38,6 @@ | |||
38 | <td>{{recipe.licensing_info}}</td> | 38 | <td>{{recipe.licensing_info}}</td> |
39 | <td>{{recipe.homepage}}</td> | 39 | <td>{{recipe.homepage}}</td> |
40 | <td>{{recipe.bugtracker}}</td> | 40 | <td>{{recipe.bugtracker}}</td> |
41 | <td>{{recipe.author}}</td> | ||
42 | <td>{{recipe.file_path}}</td> | 41 | <td>{{recipe.file_path}}</td> |
43 | <td> | 42 | <td> |
44 | <div style="height: 5em; overflow:auto"> | 43 | <div style="height: 5em; overflow:auto"> |
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index f60d138fe9..1e82a65f43 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -207,7 +207,6 @@ class Recipe(models.Model): | |||
207 | licensing_info = models.TextField(blank=True) | 207 | licensing_info = models.TextField(blank=True) |
208 | homepage = models.URLField(blank=True) | 208 | homepage = models.URLField(blank=True) |
209 | bugtracker = models.URLField(blank=True) | 209 | bugtracker = models.URLField(blank=True) |
210 | author = models.CharField(max_length=100, blank=True) | ||
211 | file_path = models.FilePathField(max_length=255) | 210 | file_path = models.FilePathField(max_length=255) |
212 | 211 | ||
213 | 212 | ||