From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D0256E00D3D; Thu, 12 May 2016 07:11:32 -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 * [74.125.82.43 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-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5CDE3E00D38 for ; Thu, 12 May 2016 07:11:28 -0700 (PDT) Received: by mail-wm0-f43.google.com with SMTP id n129so261246153wmn.1 for ; Thu, 12 May 2016 07:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=gJKLShR/G1b1PoSViJk0QcJrP6G0PcVlrz1hS5sKsmo=; b=wRtKHPsyG8icfRHZK3WBc5GUOC2altFX28SX6xePwOs1+3GkpS298qT4YdU9rGdQ13 sUgvQ0nvmX0SY7v/wGYN+aoydY207RTsgM5feetSlAOex8fpvK/1XLO3miBtTLdLLcqq YN+xW7Qwbo1r3TBAUJn8fuseFJxuaN0ENHEGi9bCuE/Bx8jXUNhCQf88WRpFlT1JwfjU hC5NQfbhIJpvAxZjAACq79XHKcWd2Chm/UC9KqZYgGsYD4e4BH9aBW+q3VDeOgEjIesG W14ewaRwC1+106QZ7BhshRAemdpFnS7y/dp4rkwnBYDI3RZ++BLUazKsAerAnZu2Gx1m DGrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=gJKLShR/G1b1PoSViJk0QcJrP6G0PcVlrz1hS5sKsmo=; b=TJ+T7jHtfdovu9NfR6d/RxPaUL/yPpHZ404dZcpJrAYzIgIPMunZuj8nxSDBEpAf/g 16jtN7BLmX+WMuVDi9oOAna0pXFLArC112+c1mACXKb4CMNJG0jwqtCPdVghlCMUvkkD kgK7WAjlD6Mc1EGybxph4eSN/S901nfNqQNEh34LlJHPRw0T9Dldjnfl7x/rWKs15rTP 87yIqNw0IUnn6emBnY+dNt2a5RhVkicm47Ly/lYXbi71PLpPxqKIfL3nHelAeulNmFEP /l3qhbWKi7n9JrJ7SCKNuswoeSAvuU05Rri4gl2D+YqzpQ0aOuf06wQkUyruAfILIIxf ChGA== X-Gm-Message-State: AOPr4FWzbLURQPVXUOMZnz9Xb6TS3ij19oCkl6IVxvtuJ2gYSM6QzKcoyJbfU14fKAbB8jZX X-Received: by 10.28.10.7 with SMTP id 7mr6363379wmk.43.1463062288079; Thu, 12 May 2016 07:11:28 -0700 (PDT) Received: from [192.168.2.143] ([83.217.123.106]) by smtp.googlemail.com with ESMTPSA id y3sm13634446wji.40.2016.05.12.07.11.27 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 May 2016 07:11:27 -0700 (PDT) To: toaster@yoctoproject.org References: From: Michael Wood Message-ID: <57348F0F.9060203@intel.com> Date: Thu, 12 May 2016 15:11:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Subject: Re: [PATCH 0/3] [v3] Cancel builds when cli is interrupted 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, 12 May 2016 14:11:32 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sent upstream and push to toaster-next Thanks, Michael On 06/05/16 15:24, Barros Pena, Belen wrote: > > On 06/05/2016 12:53, "toaster-bounces@yoctoproject.org on behalf of Elliot > Smith" elliot.smith@intel.com> wrote: > >> If a bitbake build is running on the command line and is interrupted >> (e.g. by >> Ctrl-c), capture the interrupt and shut down the bitbake server. Also set >> the outcome to CANCELLED so the build displays correctly in the Toaster >> UI. >> >> The following changes since commit >> c8ea873d9883f8cdabb6ccadd31bd9967a0f0111: >> >> toaster: tweaks to recipe file downloads (2016-04-29 14:21:32 +0100) >> >> are available in the git repository at: >> >> git://git.yoctoproject.org/poky-contrib >> elliot/toaster/8515-interrupted_cli_builds >> >> http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/85 >> 15-interrupted_cli_builds > This works for me. Thanks! > > Belén > >> Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8515 >> >> Elliot Smith (3): >> buildinfohelper: add method to set current build as CANCELLED >> toasterui: capture keyboard interrupts the same way as knotty >> toaster: don't show "Rebuild" button for cancelled cli builds >> >> bitbake/lib/bb/ui/buildinfohelper.py | 10 +++++++++ >> bitbake/lib/bb/ui/toasterui.py | 17 ++++++++++++++- >> .../toaster/toastergui/templates/mrb_section.html | 25 >> ++++++++++++---------- >> 3 files changed, 40 insertions(+), 12 deletions(-) >> >> -- >> 1.9.3 >> >> --------------------------------------------------------------------- >> Intel Corporation (UK) Limited >> Registered No. 1134945 (England) >> Registered Office: Pipers Way, Swindon SN3 1RJ >> VAT No: 860 2173 47 >> >> This e-mail and any attachments may contain confidential material for >> the sole use of the intended recipient(s). Any review or distribution >> by others is strictly prohibited. If you are not the intended >> recipient, please contact the sender and delete all copies. >> >> -- >> _______________________________________________ >> toaster mailing list >> toaster@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/toaster