Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DB776E00B95; Thu, 22 Sep 2016 10:34:28 -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=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [74.125.82.43 listed in list.dnswl.org] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [74.125.82.43 listed in dnsbl.sorbs.net] * -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 AA434E006E3 for ; Thu, 22 Sep 2016 10:34:23 -0700 (PDT) Received: by mail-wm0-f43.google.com with SMTP id w84so266175434wmg.1 for ; Thu, 22 Sep 2016 10:34:23 -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=nSGhZ9TlTi6VAERTRpDM7Ydaqio2jKRoXduEAX8iIW0=; b=Wj36jG6+kHfJ49l5pQJ3MbStbBfSqXMXOIHaZpCXzqgH56kS13IcR/xU8hkW6pF9Sy owSjNn1TpnF5l6wfVg8sI3ipzJajn8aDQsQE9xJranuqRMAUP0+XRpoy3xQrA4+EXvPB jYzfK0cpGdpeK9TmVNpLkxxQ6bsXHDpyocKi3njwyKcLe0QtAv73HiChpacgpYysC23y wlLANun7nJ/PRnInd9/ZjosREwj7s9Le8m099ylA/25zJAWBeGnjO8fjJ7TAd3rONnMe aYAKJGEFG844Wde3TOZHppukofr/sStYOHwueUwwP9WMOaX9n3RM6/X0fG1x20h8EQ+4 uAxA== 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=nSGhZ9TlTi6VAERTRpDM7Ydaqio2jKRoXduEAX8iIW0=; b=grm/nlH4IIIdxvnjtmwbNvBTkwX5Uc7TXzLsF2TOhl6LcCfCAI/Du3k0XdDQIx/7Rt Z9fF4iNz+The6w9vquyxq5eHUQ/00LKCFZGC6if3x8dsUjMQYRi644p/whX6LJwNDaC8 vwBtvz96PC0hBVIc7EEzR8qhRWwSzmeUHW6hnRr9F29TSjVag5uJKvICjNtwZAYfzd27 Zo6thMZii6chydiksduWWgBwBPw3gmo0Vt8RhjrOH/2Z11f0xLMLoza/BJ02sz8S1BJn 9Vi9Q3ac1U/l0YdZOQWaUvkwdbrOAKMvnQJ3kWrqcsRPD8yy47cJpHNP9S7Pa+RX5ojU 5oJg== X-Gm-Message-State: AE9vXwO/+ADDiB++YiHWwTSzHqWH0BOmTJw3UgHKQOi2TH+IeHX4zyJmq7euhNxMFs3cyR7n X-Received: by 10.194.2.51 with SMTP id 19mr3228739wjr.37.1474565662191; Thu, 22 Sep 2016 10:34:22 -0700 (PDT) Received: from [192.168.0.78] (host31-48-249-102.range31-48.btcentralplus.com. [31.48.249.102]) by smtp.googlemail.com with ESMTPSA id xb6sm3106950wjb.30.2016.09.22.10.34.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Sep 2016 10:34:21 -0700 (PDT) To: "toaster@yoctoproject.org" References: <1474563354-11878-1-git-send-email-michael.g.wood@intel.com> From: Michael Wood Message-ID: Date: Thu, 22 Sep 2016 18:34:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1474563354-11878-1-git-send-email-michael.g.wood@intel.com> Subject: Re: [PATCH 00/10] delete builds,projects,recipes,layers 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, 22 Sep 2016 17:34:28 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit There are two browser tests which fail because the tests need updating. I will send some additional patches to fix this in a follow up/separate series. On 22/09/16 17:55, Michael Wood wrote: > Work to implement deleting of builds projects recipes and layers. > Includes a number of clean ups in affected areas. > > Obsoletes: > -[PATCH 0/4] clean ups, buildinfohelper fix and delete project patches > -[PATCH v2 0/5] Couple of clean ups, fix for local layers in buildinfohelper and api and implementation of delete a project. > > Branch available at poky-contrib michaelw/toaster/delete_buttons > > Michael Wood (10): > toaster: Clean up and convert to rest api project edit and get calls > toaster: move MostRecentBuildsView to its own widget > toaster: libtoaster Add a global notification set/show mechanism > toaster: project page Implement front end feature to delete project > toaster: alerts and modals Avoid modals and alerts overlaying each > other > toaster: Add backend API for deleting a build > toaster: Add front end controls for deleting a build > toaster: importlayer Convert success import to new notification system > toaster: customrecipe Add frontend feature to delete custom image > recipe > toaster: layerdetails Update implementation of delete imported layer > > bitbake/lib/toaster/toastergui/api.py | 312 +++++++++++++-------- > .../toaster/toastergui/static/js/customrecipe.js | 32 +++ > .../toaster/toastergui/static/js/importlayer.js | 59 +++- > .../toaster/toastergui/static/js/layerDepsModal.js | 12 +- > .../toaster/toastergui/static/js/layerdetails.js | 7 +- > .../lib/toaster/toastergui/static/js/libtoaster.js | 42 ++- > .../toaster/toastergui/static/js/projectpage.js | 237 +++------------- > .../toaster/toastergui/static/js/projecttopbar.js | 6 +- > .../lib/toaster/toastergui/static/js/tests/test.js | 7 +- > bitbake/lib/toaster/toastergui/templates/base.html | 1 + > .../toastergui/templates/basebuildpage.html | 138 ++++++--- > .../toastergui/templates/baseprojectpage.html | 6 + > .../toastergui/templates/builddashboard.html | 2 +- > .../toaster/toastergui/templates/customrecipe.html | 35 ++- > .../toaster/toastergui/templates/layerdetails.html | 9 +- > .../lib/toaster/toastergui/templates/project.html | 35 ++- > .../toastergui/templates/projecttopbar.html | 2 +- > bitbake/lib/toaster/toastergui/urls.py | 11 +- > bitbake/lib/toaster/toastergui/views.py | 131 +-------- > bitbake/lib/toaster/toastergui/widgets.py | 141 ++++++++-- > 20 files changed, 679 insertions(+), 546 deletions(-) >