Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5CC2FE00D05; Thu, 25 Feb 2016 10:21:34 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2C94FE00CF0 for ; Thu, 25 Feb 2016 10:21:30 -0800 (PST) Received: by mail-wm0-f48.google.com with SMTP id g62so41454905wme.1 for ; Thu, 25 Feb 2016 10:21:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=3L5Frwd8sd3TDPRwQeOQ0QFMhJfIGlabkbA74FH160U=; b=TeVo16T6d5l9oZpS8O/Ch3d6z1jHYjJEUtQig/ApKPquSI4tQMRNSV0lZ/vMnEO8HC vZ5LNQCQxFSptLqd803eS0fJB37gXfVOZEKP5SgxsDwOr445NHqBkUU+em3J6/FvagvD 7+6gRRvpXtoj+HBkp/uK9SKM0JZztWeu0J9YWxxShAgShyQW5RO1F5+JNSAsT7FzyPiL L3RTni0ZFbHCvb3T3G4sPfWCzpNa6U6YegnCaJHRb/Oxk4rYPKfPTtRkfcoCASqlg8NY a8Ln8Y/bDBDEroSbXLyc+4QLEpowWtUhE4HUUDZ0nWf+FguTUN14yrJAhhpSIf1jAeyG LYHg== 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=3L5Frwd8sd3TDPRwQeOQ0QFMhJfIGlabkbA74FH160U=; b=CfqaBqCmrzlgHXkKkPhplW4ERMeFiKef7eM3hqpNn6nsJrwm27crPx/LBa5TyipC6G HCwau7OVMmiB8s2shCr9kjDTq9AawnxjkXxtjjFCfX64u1n+gYWtom568JDP8ve6wblH CPt1LeCRJJpe+ye0iCmVuHzYvC2+1xvfGNj7czz2LNr3AhAuVjvSEP8PeClSUqAfmtCa BNyCov0tel5ftMMMIZ1TnHc4D4Er+0CYk+Qx7PNIicAWhYdHbthHPQEN4iaQHS2EWGti vnVziwRPS7focCixPjkT/JAKdY1Zg6kTj3kdd71ES5QgovwVB3mMfs1zXLUrtynsr87D pQGA== X-Gm-Message-State: AG10YOT7mLRN3gSxX/k/beQGgmNNu7/1fkRRooc9TSH7ZLPEt304Lrwd8AsAex470u+9lXZE X-Received: by 10.28.111.135 with SMTP id c7mr81765wmi.46.1456424489606; Thu, 25 Feb 2016 10:21:29 -0800 (PST) Received: from draco.icx.intel.com ([83.217.123.106]) by smtp.gmail.com with ESMTPSA id az8sm3084010wjc.17.2016.02.25.10.21.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 10:21:28 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Thu, 25 Feb 2016 18:21:14 +0000 Message-Id: <1456424485-6566-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.1.4 Subject: [PATCH 00/11] Build cancellation 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, 25 Feb 2016 18:21:34 -0000 This is the combination of Sujith's and my work on build cancel. Michael Wood (7): toaster: Move xhr calls for starting and stopping builds toaster: xhr Update the implementation of the build cancellation request toaster: libtoaster Update implementation of startABuild and cancelABuild toaster: bldcontrol models Add a cancelling state the BuildRequest buildinfohelper: Add handler for cancelling a build toaster: mrb_section template Add build cancel button toaster: models Exclude the CANCELLED builds from get_number_of_builds Sujith H (4): toaster: bldcontrol Add forceShutDown function to BitbakeController toaster: update BuildEnvironmentController and BitbakeController toaster: models Add cancelled state to build outcome toaster: tables BuildsTable exclude cancelled builds bitbake/lib/bb/ui/buildinfohelper.py | 19 +++- bitbake/lib/toaster/bldcontrol/bbcontroller.py | 29 ++---- .../toaster/bldcontrol/localhostbecontroller.py | 6 +- .../migrations/0002_add_cancelling_state.py | 19 ++++ bitbake/lib/toaster/bldcontrol/models.py | 27 ++++- .../orm/migrations/0006_add_cancelled_state.py | 19 ++++ bitbake/lib/toaster/orm/models.py | 12 ++- bitbake/lib/toaster/toastergui/api.py | 110 +++++++++++++++++++++ .../toaster/toastergui/static/js/customrecipe.js | 4 +- .../lib/toaster/toastergui/static/js/layerBtn.js | 3 +- .../lib/toaster/toastergui/static/js/libtoaster.js | 41 +++++--- .../toaster/toastergui/static/js/projectpage.js | 4 +- .../toaster/toastergui/static/js/projecttopbar.js | 6 +- .../toaster/toastergui/static/js/recipedetails.js | 4 +- bitbake/lib/toaster/toastergui/tables.py | 48 +-------- bitbake/lib/toaster/toastergui/templates/base.html | 1 + .../toaster/toastergui/templates/mrb_section.html | 102 +++++++++++++------ bitbake/lib/toaster/toastergui/urls.py | 5 + 18 files changed, 327 insertions(+), 132 deletions(-) create mode 100644 bitbake/lib/toaster/bldcontrol/migrations/0002_add_cancelling_state.py create mode 100644 bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py create mode 100644 bitbake/lib/toaster/toastergui/api.py -- 2.1.4