Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 47960E00831; Wed, 18 Feb 2015 07:19:08 -0800 (PST) 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,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 * [74.125.82.46 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B3970E00815 for ; Wed, 18 Feb 2015 07:18:57 -0800 (PST) Received: by mail-wg0-f46.google.com with SMTP id a1so1780121wgh.5 for ; Wed, 18 Feb 2015 07:18:56 -0800 (PST) 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=HPrebAb9Gs2yfiyx8i0gSmxCSATvlJ2pzpCxt0Oodwc=; b=NBJi8ubMwioEMnKYv2O7swxtYfRht/EI4iaV5QYhj0/GMQhj0wC9n7vSLfSMiX9zna l3/YLgP2ctDdSU+3TpVk87wIMYomjw0YznWeUPInsDTBoQQONeY2UsHH0uU3QoFVNkNe G/2tMFqV0/4mXAOdFKpJF7uidRpU9lJSpqxKHpmgkV84JY4bTitx8Oq/anbdSomkTxGC ACxW8dutj/ZQJMKSe5oxmsQuP0cPMb6IjFHgbs8KX/JdwvilJuQ7leTIgO18xT8yicPI wIqqedYCduffPzhLMQdi9krKN0tGUrI8BA185UX0NFl46Muqc7tsod+yRHCvGryQ2ayZ rUVQ== X-Gm-Message-State: ALoCoQkd560xo21LnVfR1YaEATYxAuDjzZPpLzyfoqLMwuvlIRdNw9zhT9Hs7p2hb7l0Q48lHwEy X-Received: by 10.194.176.33 with SMTP id cf1mr70256473wjc.19.1424272736677; Wed, 18 Feb 2015 07:18:56 -0800 (PST) Received: from draco.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id dt7sm19810156wib.19.2015.02.18.07.18.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Feb 2015 07:18:56 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Wed, 18 Feb 2015 15:18:51 +0000 Message-Id: <1424272731-15690-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.1.0 Subject: [review-request][PATCH] bitbake: toaster: importlayer Remove description input field 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: Wed, 18 Feb 2015 15:19:08 -0000 This wasn't required or working due to a typo and adds ambiguity between the summary and description. The correct method for changing the description or summary is via the layerdetails page. [YOCTO #7190] Signed-off-by: Michael Wood --- bitbake/lib/toaster/toastergui/static/js/importlayer.js | 1 - bitbake/lib/toaster/toastergui/templates/importlayer.html | 6 ------ bitbake/lib/toaster/toastergui/views.py | 3 --- 3 files changed, 10 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/js/importlayer.js b/bitbake/lib/toaster/toastergui/static/js/importlayer.js index e782bda..9d54286 100644 --- a/bitbake/lib/toaster/toastergui/static/js/importlayer.js +++ b/bitbake/lib/toaster/toastergui/static/js/importlayer.js @@ -136,7 +136,6 @@ function importLayerPageInit (ctx) { name: layerNameInput.val(), vcs_url: vcsURLInput.val(), git_ref: gitRefInput.val(), - summary: $("#layer-summary").val(), dir_path: $("#layer-subdir").val(), project_id: ctx.projectId, layer_deps: layerDepsCsv, diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html b/bitbake/lib/toaster/toastergui/templates/importlayer.html index a4d8ee1..1196e0c 100644 --- a/bitbake/lib/toaster/toastergui/templates/importlayer.html +++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html @@ -84,12 +84,6 @@ - - -
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index b5ff9b1..825cf80 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -2413,9 +2413,6 @@ if toastermain.settings.MANAGED: if layer_created: layer.layer_source = layer_source layer.vcs_url = post_data['vcs_url'] - if post_data.has_key('summary'): - layer.summary = layer.description = post_data['summary'] - layer.up_date = timezone.now() layer.save() else: -- 2.1.0