Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DD4E7E00930; Tue, 31 Mar 2015 07:51:34 -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=-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 * [192.55.52.88 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2A1F2E008D4 for ; Tue, 31 Mar 2015 07:51:29 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 31 Mar 2015 07:51:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,501,1422950400"; d="scan'208";a="700845012" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga002.fm.intel.com with ESMTP; 31 Mar 2015 07:51:28 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.247]) by IRSMSX153.ger.corp.intel.com ([169.254.9.182]) with mapi id 14.03.0224.002; Tue, 31 Mar 2015 15:51:27 +0100 From: "Barros Pena, Belen" To: "Wood, Michael G" , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [review-request][PATCH 1/2] bitbake: toaster: BuildButton target input allow building targets with tasks Thread-Index: AQHQa8Ip/4WNu986iEmorfDGvpqKTA== Date: Tue, 31 Mar 2015 14:51:26 +0000 Message-ID: References: <1427471395-10007-1-git-send-email-michael.g.wood@intel.com> In-Reply-To: <1427471395-10007-1-git-send-email-michael.g.wood@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.8.150116 x-originating-ip: [10.237.224.31] MIME-Version: 1.0 Subject: Re: [review-request][PATCH 1/2] bitbake: toaster: BuildButton target input allow building targets with tasks 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: Tue, 31 Mar 2015 14:51:34 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 27/03/2015 15:49, "Michael Wood" wrote: >Allow the input for targets to contain tasks in the form target:task > >[YOCTO #7501] This works great.=20 Thanks! Bel=E9n > >Signed-off-by: Michael Wood >--- > bitbake/lib/toaster/toastergui/static/js/base.js | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/bitbake/lib/toaster/toastergui/static/js/base.js >b/bitbake/lib/toaster/toastergui/static/js/base.js >index 777ab43..f57e4d9 100644 >--- a/bitbake/lib/toaster/toastergui/static/js/base.js >+++ b/bitbake/lib/toaster/toastergui/static/js/base.js >@@ -88,10 +88,9 @@ function basePageInit (ctx) { > if (!newBuildTargetInput.val()) > return; >=20 >- if (!selectedTarget) >- selectedTarget =3D { name: newBuildTargetInput.val() }; >+ var selectedTargetName =3D newBuildTargetInput.val(); > /* fire and forget */ >- libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, >selectedTarget.name, null, null); >+ libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, >selectedTargetName, null, null); > window.location.replace(ctx.projectPageUrl+ctx.projectId); > }); >=20 >--=20 >2.1.0 > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster