From: Elliot Smith <elliot.smith@intel.com>
To: toaster@yoctoproject.org
Subject: [PATCH 0/3] [v3] Cancel builds when cli is interrupted
Date: Fri, 6 May 2016 12:53:53 +0100 [thread overview]
Message-ID: <cover.1462535482.git.elliot.smith@intel.com> (raw)
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/8515-interrupted_cli_builds
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.
next reply other threads:[~2016-05-06 11:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 11:53 Elliot Smith [this message]
2016-05-06 11:53 ` [PATCH 1/3] buildinfohelper: add method to set current build as CANCELLED Elliot Smith
2016-05-06 11:53 ` [PATCH 2/3] toasterui: capture keyboard interrupts the same way as knotty Elliot Smith
2016-05-06 11:53 ` [PATCH 3/3] toaster: don't show "Rebuild" button for cancelled cli builds Elliot Smith
2016-05-06 14:24 ` [PATCH 0/3] [v3] Cancel builds when cli is interrupted Barros Pena, Belen
2016-05-12 14:11 ` Michael Wood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1462535482.git.elliot.smith@intel.com \
--to=elliot.smith@intel.com \
--cc=toaster@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.