Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8E169E00951; Wed, 20 Jul 2016 06:48:18 -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.42 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-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 04123E00855 for ; Wed, 20 Jul 2016 06:48:16 -0700 (PDT) Received: by mail-wm0-f42.google.com with SMTP id f65so176572434wmi.0 for ; Wed, 20 Jul 2016 06:48:16 -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=ofQXM8swv3/YAP0JgKDb1sCvLCkvhK7Uc1R1QtnfV2s=; b=lmjKu+5n4ZQBWbLpA53ShngDzMcTk94c+aj2gsdt+PVLhC4dRtTQwoQL98BUQLjGud jEv3QJ1HTtT+fPqbRaig+Mu+uY381elhEN97bDo4wnfo1yzSAaceoLeC1MDXrSyUfrsf 1pz+5Mt09QXggjaIbbMkv6BDYQRyIfyViZIaw6G73TKFtKebz0jPowsiRdiZQR72BMkW X5d11udl3yx+TndP86VaxZGr2fQYxLZKcN7wGiwKX823720ECnbUbjMnmNnlpV1AdSAh 2V+jz3tb15wT869Xtti0U6wVjaESkdaCZe/wI/4OMe0tHW/he7OgNdJmgi/nI2qj0mjO BkIw== 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=ofQXM8swv3/YAP0JgKDb1sCvLCkvhK7Uc1R1QtnfV2s=; b=C4ajW18bR0pf+lC7F97V+LEPodTmqr0I3/05bA994JoRRoc4jC4eSXMr5Mz0yJzP90 gek/KZcDOfUOHyIOUpSLER8o8qiBoeKM1MrRdZKaRAMnyMg7pASarvgnocZXUinoL2f3 PtXn3Yu6Xsa688AnBK6vKdNJUHej/4QSirHQwXL0rub2+kK/bv9q9aQipWV+B+hiGs/y E6rtaiGLOIaZUhL7CUfjCX6RObNNpbaXzozqUCEBAOcxFYDzYZlsOYwBKCj8kdvDFQki SoXdzNd/837ZJNV5qwdbHnXZa6hipSmJchsMCtQdH+C6r1DTou/Sel3edRXE0MbKH6Iq 8Hxg== X-Gm-Message-State: ALyK8tLhg1IUVjc0b61mYPqLexa5YfhgJBSzQgq3+/EzNEzj3PmcdpayvDoRwVPU7M8P94Pg X-Received: by 10.28.128.207 with SMTP id b198mr12130196wmd.56.1469022495889; Wed, 20 Jul 2016 06:48:15 -0700 (PDT) Received: from localhost.localdomain (host109-153-40-30.range109-153.btcentralplus.com. [109.153.40.30]) by smtp.gmail.com with ESMTPSA id d64sm5206662wmc.22.2016.07.20.06.48.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Jul 2016 06:48:14 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Wed, 20 Jul 2016 14:48:02 +0100 Message-Id: <1469022492-19823-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v3 00/10] michaelw/toaster/database_clean_ups_v3 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: Wed, 20 Jul 2016 13:48:18 -0000 Changes in v3 - Fixed local project loading by restoring some of the old code (see toaster: loadconf Partially add back some of the layerSource parsing) - Rebased on latest toaster-next and re-ordered the migrations Michael Wood (10): toaster: loadconf remove Loading LayerSources toaster: bldcollector admin Remove LayerSourceAdmin toaster: models Remove LayerSource models and replace with enum toaster: lsupdates Add layerindex fetcher toaster: Replace references to LayerSource models toaster: tests: Remove references to LayerSource model toaster: lsupdates Add progress information and clean up logging toaster: orm Remove the layerindex specific up_branch fields toaster: admin Add Layer_Version to the admin-able models toaster: loadconf Partially add back some of the layerSource parsing bitbake/lib/bb/ui/buildinfohelper.py | 6 +- bitbake/lib/toaster/bldcollector/admin.py | 22 +- .../bldcontrol/management/commands/loadconf.py | 116 +++-- bitbake/lib/toaster/bldcontrol/tests.py | 19 - .../toaster/orm/management/commands/lsupdates.py | 297 +++++++++++- .../0010_delete_layer_source_references.py | 118 +++++ .../orm/migrations/0011_delete_layersource.py | 17 + .../0012_use_release_instead_of_up_branch.py | 62 +++ bitbake/lib/toaster/orm/models.py | 506 +++++---------------- bitbake/lib/toaster/orm/tests.py | 180 -------- .../tests/browser/test_layerdetails_page.py | 5 +- bitbake/lib/toaster/toastergui/api.py | 6 +- .../fixtures/toastergui-unittest-data.xml | 60 +-- .../toaster/toastergui/static/js/layerdetails.js | 2 +- .../toaster/toastergui/templates/layerdetails.html | 16 +- bitbake/lib/toaster/toastergui/tests.py | 5 +- bitbake/lib/toaster/toastergui/views.py | 64 ++- 17 files changed, 743 insertions(+), 758 deletions(-) create mode 100644 bitbake/lib/toaster/orm/migrations/0010_delete_layer_source_references.py create mode 100644 bitbake/lib/toaster/orm/migrations/0011_delete_layersource.py create mode 100644 bitbake/lib/toaster/orm/migrations/0012_use_release_instead_of_up_branch.py delete mode 100644 bitbake/lib/toaster/orm/tests.py -- 2.7.4