Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1C334E00815; Thu, 19 Feb 2015 02:59:52 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B3673E0034A for ; Thu, 19 Feb 2015 02:59:46 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 19 Feb 2015 02:55:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,512,1418112000"; d="scan'208";a="668550318" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga001.fm.intel.com with ESMTP; 19 Feb 2015 02:59:44 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.236]) by IRSMSX108.ger.corp.intel.com ([169.254.11.218]) with mapi id 14.03.0195.001; Thu, 19 Feb 2015 10:58:29 +0000 From: "Barros Pena, Belen" To: "Damian, Alexandru" , "Wood, Michael G" Thread-Topic: [Toaster] [review-request][PATCH] bitbake: toaster: importlayer Remove description input field Thread-Index: AQHQS61a89AjwBXPg0qIRaCWnES5nZz3zp+A Date: Thu, 19 Feb 2015 10:58:28 +0000 Message-ID: References: <1424272731-15690-1-git-send-email-michael.g.wood@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.7.141117 x-originating-ip: [10.237.224.31] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: [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: Thu, 19 Feb 2015 10:59:52 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <689383F195D8DD458F29F7674C73AA0B@intel.com> Content-Transfer-Encoding: quoted-printable I know this was taken, but the revision label is missing the class project-form, which sets the correct spacing :/ I've pushed a patch to http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=3Dbbarrosp= /7 190&id=3Dd6a7416c8e9efe4222fa54d8ff9d96076d56a00a Any chance you can take it with Michael's patch? Thanks!! Bel=E9n On 18/02/2015 19:00, "Damian, Alexandru" wrote: >Taken for submission, > >Thank you, >Alex > > > >On Wed, Feb 18, 2015 at 3:18 PM, Michael Wood > wrote: > >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 =3D layer_source > layer.vcs_url =3D post_data['vcs_url'] >- if post_data.has_key('summary'): >- layer.summary =3D layer.description =3D >post_data['summary'] >- > layer.up_date =3D timezone.now() > layer.save() > else: >-- >2.1.0 > >-- >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster > > > > > > >--=20 >Alex Damian >Yocto Project > >SSG / OTC=20 > > >