Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6A527E00D28; Fri, 2 Oct 2015 09:31:35 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.20 listed in list.dnswl.org] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CC7EFE00B5E for ; Fri, 2 Oct 2015 09:31:29 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 02 Oct 2015 09:31:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,624,1437462000"; d="scan'208";a="818035909" Received: from bbarrosp-mac03.isw.intel.com ([10.237.224.30]) by fmsmga002.fm.intel.com with ESMTP; 02 Oct 2015 09:31:28 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Fri, 2 Oct 2015 17:31:15 +0100 Message-Id: <1443803475-18469-1-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 2.3.8 (Apple Git-58) Subject: [PATCH] toastergui: Set default columns in recipes tables X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 16:31:35 -0000 From: Belen Barros Pena The compatible image recipes and software recipes tables show pretty much all their columsn by default. That's a bit 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] Signed-off-by: Belen Barros Pena --- bitbake/lib/toaster/toastergui/tables.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 5cc04a2..a676ffa 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py @@ -345,8 +345,8 @@ class RecipesTable(ToasterTable, ProjectFiltersMixin): def setup_columns(self, *args, **kwargs): - self.add_column(title="Recipe Version", - hidden=True, + self.add_column(title="Version", + hidden=False, field_name="version") self.add_column(title="Description", @@ -367,6 +367,7 @@ class RecipesTable(ToasterTable, ProjectFiltersMixin): self.add_column(title="Section", help_text="The section in which recipes should be categorized", + hidden=True, orderable=True, field_name="section") @@ -383,10 +384,12 @@ class RecipesTable(ToasterTable, ProjectFiltersMixin): self.add_column(title="License", 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", + hidden=True, orderable=True, field_name="license") self.add_column(title="Revision", + hidden=True, field_name="layer_version__get_vcs_reference") -- 2.3.8 (Apple Git-58)