Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BCFE8E008BA; Thu, 22 Sep 2016 09:56:07 -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: * -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 * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.169 listed in list.dnswl.org] Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 55A9FE00444 for ; Thu, 22 Sep 2016 09:56:02 -0700 (PDT) Received: by mail-pf0-f169.google.com with SMTP id 21so32453703pfy.0 for ; Thu, 22 Sep 2016 09:56:02 -0700 (PDT) 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=bKNvfC07ZDuwbqGp59xFNJQIvrvMlSwERoDYgQwUOSg=; b=Xz4Nq28MRR5ReSlLTdfx7w20KKaw+okxrqjT0C0cA+NR7G1EYsFFOQouLmCMfCeflP cxBkSrs92aoF9MPtXJDsI2P8Pd5f+ONOWVCrW3M1yEay7z/iilebqPGAwSs9gsZHkXk0 PMuhXDPAtfniz288iHjB74vHMVK74fJhoYugay0ohY0Q1uLxrMqK1fLcuK0xGSoabXtf eovWxGeBXa6TzjXP/H23/6iZY3nkFm1X8EoEno99y3sPD0z8umirPeJtQJCUS67aQBzY ZwwlL0grE3DNCspQgLUNOKLqdx2fpchaF9ORocLO7xUdyJ6CJuuidjNNGrHJmYPxIef1 X6ow== 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=bKNvfC07ZDuwbqGp59xFNJQIvrvMlSwERoDYgQwUOSg=; b=UwqsQFy85+mhAqTKDSccmYD3DzdCfMty3jux3oXP9I9bP/aGzoKfAUrDWn20zvdyjB BnWn36KzN70b6coQSjiUGhIT88AAiSZ9P6J3uzrM5oUGTkdQhqDQoVSobLGEtudyY0ap spDtnGjhyT+LeBn3ChR8qzsKr1zJVT1KVxgJmcWuR83Uw/Pp++vS+KGQqGRSL/ErE+hR UwtpFIyfBezg3N2VCfyXIN8MuXvAe3VIBArcTeScLJRu2dbc9WQqLf4/JjiC6SKprU0D RbOH0YB1a0ixsAAFkW1iyIM+79zGd9g1sHmqgP4j5cZuQLwUS/RZy1ayyKuo+K00ecZA PtSQ== X-Gm-Message-State: AE9vXwO+2EBIj3+4urfqxQ+RP+Bgzl+Cd5ebzuUbdedwvxZW/6oimHnmCLebjxE017oYKmGn X-Received: by 10.98.112.197 with SMTP id l188mr4812778pfc.151.1474563362089; Thu, 22 Sep 2016 09:56:02 -0700 (PDT) Received: from orion.ger.corp.intel.com ([192.55.55.41]) by smtp.gmail.com with ESMTPSA id uj8sm5458889pab.5.2016.09.22.09.56.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Sep 2016 09:56:01 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Thu, 22 Sep 2016 17:55:44 +0100 Message-Id: <1474563354-11878-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [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 16:56:07 -0000 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(-) -- 2.7.4