From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from burlywood.birch.relay.mailchannels.net (burlywood.birch.relay.mailchannels.net [23.83.209.26]) by mail.openembedded.org (Postfix) with ESMTP id A1D2F731B9 for ; Mon, 22 Aug 2016 15:42:44 +0000 (UTC) X-Sender-Id: wwwh|x-authuser|elliot@townx.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 75B70A249A; Mon, 22 Aug 2016 15:42:42 +0000 (UTC) Received: from uscentral428.accountservergroup.com (ip-10-229-10-199.us-west-2.compute.internal [10.229.10.199]) by relay.mailchannels.net (Postfix) with ESMTPA id B40ACA2739; Mon, 22 Aug 2016 15:42:41 +0000 (UTC) X-Sender-Id: wwwh|x-authuser|elliot@townx.org Received: from uscentral428.accountservergroup.com (uscentral428.accountservergroup.com [10.45.13.172]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.6); Mon, 22 Aug 2016 15:42:42 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|elliot@townx.org X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1471880562064:821329112 X-MC-Ingress-Time: 1471880562064 Received: from [176.249.240.35] (port=48672 helo=localhost.localdomain) by uscentral428.accountservergroup.com with esmtpa (Exim 4.87) (envelope-from ) id 1bbrN2-0002ZA-FF; Mon, 22 Aug 2016 11:42:40 -0400 From: Elliot Smith To: bitbake-devel@lists.openembedded.org Date: Mon, 22 Aug 2016 16:42:28 +0100 Message-Id: <1471880556-9232-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 2.7.4 X-AuthUser: elliot@townx.org Subject: [PATCH 1/9] toaster: add switch of git and not-git layers imported X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 15:42:45 -0000 From: Sujith H This patch updates the layerdetails html file to add the feature of switching imported layers between directories and git repositories. [YOCTO #9913] Signed-off-by: Sujith H Signed-off-by: Elliot Smith --- .../toaster/toastergui/templates/layerdetails.html | 125 +++++++++++++++++---- 1 file changed, 101 insertions(+), 24 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 029c93b..3e13756 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html @@ -84,11 +84,16 @@
@@ -97,6 +102,21 @@
+ + + {% if layerversion.id not in projectlayers %} + + {% else %} + + {% endif %} + +
- - {% if layerversion.id not in projectlayers %} - - {% else %} - - {% endif %} -
-
+ {% if layerversion.layer.local_source_dir %} +

Layer source code location

+
+
+ Path to the layer directory +
+
+ {{layerversion.layer.local_source_dir}} +
+
+ {% else %} +
Repository URL @@ -139,11 +157,9 @@
- - - + {% if layerversion.dirpath %}
Repository subdirectory @@ -158,12 +174,9 @@
- - - - + {% endif %}
Git revision @@ -174,11 +187,75 @@
- - - +
+ {% endif %} + {% if layerversion.layer_source == layer_source.TYPE_IMPORTED %} + + {% endif %} + +
Layer dependencies -- 2.7.4