Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0E644E00DFA; Thu, 18 Aug 2016 11:49:26 -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: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.44 listed in list.dnswl.org] * -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 Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9BDB3E00DC8 for ; Thu, 18 Aug 2016 11:49:21 -0700 (PDT) Received: by mail-pa0-f44.google.com with SMTP id ti13so8582178pac.0 for ; Thu, 18 Aug 2016 11:49:21 -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=IPioEnMFRNuEc+Mw1v/GQQMC4dDXbSuir40v9ypdMW4=; b=e1zGNsgoJ6xyOv1W6aQqWqHLycAqZe5SvSCafimN9wPAK+4h6Y+Gev038j6F8uzzXp nBTIoVkc4rbEi3fCqdjbWHFCHYeWBHBoz/V1D2+kHI70QMEB1+V8RHK/2g5GvGftfSuf qfob/4kmj/1D759ITiHsqmZEbWWKxPh5X526QInFbHZmbsbHgSUew8qQKcXn1U7eZc27 J0YEMKntdEQdpbTVddCcJb9BsYCSPcttCcX7EzxoeIoG81v7RcA/bJfz+BBB2xHjiHm2 L6QrUjt2hXu37OqfTSKxH5AfyVnZnh2xAORjt/NY0ZHHSoMiZC5AJOD2ZB3ipX2zHWS9 115Q== 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=IPioEnMFRNuEc+Mw1v/GQQMC4dDXbSuir40v9ypdMW4=; b=e6nQK6NFO/nF5TOqOCQkkSVeoa4n0Suu8mOSSm6PqVDPhm5ZcLPB9/XBn1Kb4BvPZ7 jX3guaKiUggclft0/eVzj8kKNnpw40B7jE7WIerk091Q/CmN+nXJrk03D4QJEmbWgXIY up2VVBxntOUPRAZ78PB7lU6JMUkk9PFJ5dV+dIWYZ1GyAn0BwEIQ2mtY6lEkcD4FgwJV jWp5Rc2XcucxQ87U6RPeEQ+oZAEZSZxpC8r6lwVeDLKaxe4sXEtvfM11DLlPUheT+T7j MjzffL0OLTiKYKJnfKM9XvxP4K/DI5jepsPH/JyGfOWamV23tDbuDsXye3F14yYF2wJm tZvQ== X-Gm-Message-State: AEkooutEaMNzInJGxGQADY2L1MjU6BN1hDucdRONeXesbg9zaad4kulBotL5Qdv3NssXUKlt X-Received: by 10.66.49.67 with SMTP id s3mr6686894pan.100.1471546160791; Thu, 18 Aug 2016 11:49:20 -0700 (PDT) Received: from orion.ger.corp.intel.com (fmdmzpr02-ext.fm.intel.com. [192.55.55.37]) by smtp.gmail.com with ESMTPSA id w64sm496095pfb.93.2016.08.18.11.49.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Aug 2016 11:49:20 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Thu, 18 Aug 2016 19:49:05 +0100 Message-Id: <1471546154-20891-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v2 0/9] toaster next patches 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, 18 Aug 2016 18:49:26 -0000 Michael and Sujith's current patches Changes since v1 Added an additional 2 patches to fix the local poky directory (sourcedir) git assumption, this is so that if you've downloaded or are shipping poky or openembedded-core/bitbake you do not have to have downloaded it using git clone. Added a patch to allow the intermediate BRLayer objects to have no value for the git information, when this was previously tested the layers were imported using the UI which ended up setting the git information to empty strings thus keeping it happy. If we load this information via a fixture then we won't have this info. Note that this adds the required new migration file for the BRLayer model changes. Michael Wood (6): toaster: layerdetails clean ups after integrating local layer changes toaster: Fix oe-core fixture toaster: Move Custom image recipe rest api to api file toaster: tests Add selenium test layer source switching layer details page toaster: Allow git information to be null for BRLayer toaster: localhostbecontroller Remove git assumption Sujith H (3): toaster: add switch of git and not-git layers imported toaster: layerdetails js changes for switching layers toaster: update api to include local_source_dir .../toaster/bldcontrol/localhostbecontroller.py | 24 +- .../management/commands/checksettings.py | 10 +- .../migrations/0007_brlayers_optional_gitinfo.py | 29 ++ bitbake/lib/toaster/bldcontrol/models.py | 11 +- bitbake/lib/toaster/orm/fixtures/oe-core.xml | 16 +- bitbake/lib/toaster/orm/fixtures/poky.xml | 6 + bitbake/lib/toaster/orm/fixtures/settings.xml | 17 +- .../tests/browser/test_layerdetails_page.py | 32 +- bitbake/lib/toaster/toastergui/api.py | 475 ++++++++++++++++++++- .../lib/toaster/toastergui/static/css/default.css | 2 + .../toaster/toastergui/static/js/layerdetails.js | 134 +++++- .../toaster/toastergui/templates/layerdetails.html | 168 +++++--- bitbake/lib/toaster/toastergui/urls.py | 18 +- bitbake/lib/toaster/toastergui/views.py | 447 +------------------ 14 files changed, 828 insertions(+), 561 deletions(-) create mode 100644 bitbake/lib/toaster/bldcontrol/migrations/0007_brlayers_optional_gitinfo.py -- 2.7.4