Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 92F43E00DC8; Thu, 26 May 2016 08:12:37 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW 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] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.179 listed in list.dnswl.org] Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 33973E00DB8 for ; Thu, 26 May 2016 08:12:33 -0700 (PDT) Received: by mail-pf0-f179.google.com with SMTP id y69so31795913pfb.1 for ; Thu, 26 May 2016 08:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=3auDzU6JGBqW4TrQLGJbMhjN1AWkrlIcr0eVnmuvho8=; b=Wcxxjaz/GYPICfltzYsTGCftAZ40b4eSduXp66q6CiTNx/4gR6L3Qyz0irv28hwSyy Tgfpr92xpLodLNqdS3dHxtN1BYdhWG4P1wZIXO7n+rgnDLiJX1JL5qxfU9FA2hcAjIE1 SOupXJkIyWXKSZ4b7hncm6YgG2EimBNH6yjYHl2FtDx/ymv8273RfZFi+Fv35703LOW9 kAR5/ANK5qV4Gw+KQ6YFATi3QY3Gdg53vcJav5MwK1ViJPVyLVnxR1qh2xO+5DSK/p8d G3/Zgx1TJYh28b10KGq7VwII1o8cyExtAM90gPxudQpV+c0uP4JcwKN0/OvukO5cZNSJ W/OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=3auDzU6JGBqW4TrQLGJbMhjN1AWkrlIcr0eVnmuvho8=; b=SNwYX4S8N8GEcxezWN5BU4PPWE4m6G5K3uABg50sTWDTSf3yY5r1QISPrZIC4gxoI2 PmWr5ZAMnYBwNjUSfD+sx9EyvdwVGKpq1WHpcJO7RBZC+ZVovraJ89Tuwb3fXrsEof6I Cu/N9CZu+dpRRmGEYpU+hCoicvxzVg6Nq22szNNT4xsxNvPDnOV4Gh1aNAi7Gl8+ZYjb Syv2w3SZHaxlP8PI1aZnnHDFXxITVWkrHzscznptbwGToQbMw8ldSsiHda94QZqv63q+ N7UHQju3Kg1Ufbw2t5CmbxjV2m7NIAu1I97VYZnMLOlg+lAFgcxa/aK2VgtWZBaKkwl7 zhiQ== X-Gm-Message-State: ALyK8tIyeM3OZupMr9b5PnOqXcUo3zWo9KQjwBZ84oec6pVDt3mU+FVvxseQGqyEHzfx1BKa X-Received: by 10.98.64.21 with SMTP id n21mr4349949pfa.161.1464275553050; Thu, 26 May 2016 08:12:33 -0700 (PDT) Received: from orion.ger.corp.intel.com ([192.55.54.45]) by smtp.gmail.com with ESMTPSA id l67sm6888008pfi.10.2016.05.26.08.12.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 May 2016 08:12:32 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Thu, 26 May 2016 16:12:18 +0100 Message-Id: <1464275547-30446-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v2 0/9] Port build tables to ToasterTables 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: Thu, 26 May 2016 15:12:37 -0000 Port the main build tables in the build analysis area to ToasterTables. This is the table for Installed packages, Tasks, Recipes, Packages, Time, CPU usage and Disk I/O Changes in v2 - Addressed issues identified by Belen in v1 apart from 'Size' reporting question where we are no just having both as columns if applicable - Reworked the display of dependencies popover Michael Wood (9): toaster: ToasterTable widget add an 'a' to Name in Exception class toaster: port table for Built packages to ToasterTable toaster: port Built recipes table to toastertables toaster: port Task tables to ToasterTables widget toaster: port Installed packages table to ToasterTable toaster: table.js Add the ability to highlight a particular row toaster: tests Add new build tables to tests toaster: widgets ToasterTable Catch template rendering exceptions toaster: Rework displaying package dependencies across Toaster bitbake/lib/toaster/orm/models.py | 61 +- bitbake/lib/toaster/toastergui/buildtables.py | 574 ++++++++++++++++++ .../fixtures/toastergui-unittest-data.xml | 91 ++- bitbake/lib/toaster/toastergui/static/js/table.js | 9 + bitbake/lib/toaster/toastergui/tables.py | 25 +- .../toastergui/templates/basebuildpage.html | 26 +- .../lib/toaster/toastergui/templates/bpackage.html | 108 ---- .../toastergui/templates/builddashboard.html | 4 +- .../templates/buildinfo-toastertable.html | 25 + .../toaster/toastergui/templates/buildtime.html | 4 - .../lib/toaster/toastergui/templates/recipes.html | 113 ---- .../templates/snippets/gitrev_popover.html | 8 + .../snippets/pkg_dependencies_popover.html | 44 +- .../snippets/pkg_revdependencies_popover.html | 46 +- .../lib/toaster/toastergui/templates/target.html | 115 +--- bitbake/lib/toaster/toastergui/templates/task.html | 2 +- .../lib/toaster/toastergui/templates/tasks.html | 143 ----- .../toaster/toastergui/templatetags/projecttags.py | 8 + bitbake/lib/toaster/toastergui/tests.py | 40 +- bitbake/lib/toaster/toastergui/urls.py | 46 +- bitbake/lib/toaster/toastergui/views.py | 654 +-------------------- bitbake/lib/toaster/toastergui/widgets.py | 31 +- 22 files changed, 934 insertions(+), 1243 deletions(-) create mode 100644 bitbake/lib/toaster/toastergui/buildtables.py delete mode 100644 bitbake/lib/toaster/toastergui/templates/bpackage.html create mode 100644 bitbake/lib/toaster/toastergui/templates/buildinfo-toastertable.html delete mode 100644 bitbake/lib/toaster/toastergui/templates/buildtime.html delete mode 100644 bitbake/lib/toaster/toastergui/templates/recipes.html create mode 100644 bitbake/lib/toaster/toastergui/templates/snippets/gitrev_popover.html delete mode 100644 bitbake/lib/toaster/toastergui/templates/tasks.html -- 2.7.4