diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-10-06 14:31:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-11 05:33:03 +0100 |
commit | 8b7d846c68f722066d3d31846216816c2ea80841 (patch) | |
tree | b92b99ee3cd0058b625ff33171fcceeff7da6624 /bitbake/lib | |
parent | 9daf6ef908eb7907f30c18a34dded1929ef66671 (diff) | |
download | poky-8b7d846c68f722066d3d31846216816c2ea80841.tar.gz |
bitbake: toaster: Set default columns in recipes tables
The compatible image recipes and software recipes tables
show pretty much all their columns by default. That's a few
too many columns. The default columns in both tables should
be: recipe, version, description, layer and build.
This patch sets the above as the default columns. It also
changes the table heading 'Recipe Version' to just 'Version',
which is shorter and self-explanatory.
[YOCTO #8421]
(Bitbake rev: 1f7bfe5e13bc39bb7eb6e039fe4b6291fc95d531)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tables.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 5cc04a2372..a676ffa98b 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py | |||
@@ -345,8 +345,8 @@ class RecipesTable(ToasterTable, ProjectFiltersMixin): | |||
345 | 345 | ||
346 | def setup_columns(self, *args, **kwargs): | 346 | def setup_columns(self, *args, **kwargs): |
347 | 347 | ||
348 | self.add_column(title="Recipe Version", | 348 | self.add_column(title="Version", |
349 | hidden=True, | 349 | hidden=False, |
350 | field_name="version") | 350 | field_name="version") |
351 | 351 | ||
352 | self.add_column(title="Description", | 352 | self.add_column(title="Description", |
@@ -367,6 +367,7 @@ class RecipesTable(ToasterTable, ProjectFiltersMixin): | |||
367 | 367 | ||
368 | self.add_column(title="Section", | 368 | self.add_column(title="Section", |
369 | help_text="The section in which recipes should be categorized", | 369 | help_text="The section in which recipes should be categorized", |
370 | hidden=True, | ||
370 | orderable=True, | 371 | orderable=True, |
371 | field_name="section") | 372 | field_name="section") |
372 | 373 | ||
@@ -383,10 +384,12 @@ class RecipesTable(ToasterTable, ProjectFiltersMixin): | |||
383 | 384 | ||
384 | self.add_column(title="License", | 385 | self.add_column(title="License", |
385 | help_text="The list of source licenses for the recipe. Multiple license names separated by the pipe character indicates a choice between licenses. Multiple license names separated by the ampersand character indicates multiple licenses exist that cover different parts of the source", | 386 | help_text="The list of source licenses for the recipe. Multiple license names separated by the pipe character indicates a choice between licenses. Multiple license names separated by the ampersand character indicates multiple licenses exist that cover different parts of the source", |
387 | hidden=True, | ||
386 | orderable=True, | 388 | orderable=True, |
387 | field_name="license") | 389 | field_name="license") |
388 | 390 | ||
389 | self.add_column(title="Revision", | 391 | self.add_column(title="Revision", |
392 | hidden=True, | ||
390 | field_name="layer_version__get_vcs_reference") | 393 | field_name="layer_version__get_vcs_reference") |
391 | 394 | ||
392 | 395 | ||