All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] database clean ups
@ 2016-07-07 17:21 Michael Wood
  2016-07-07 17:21 ` [PATCH v2 1/9] toaster: loadconf remove Loading LayerSources Michael Wood
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Michael Wood @ 2016-07-07 17:21 UTC (permalink / raw)
  To: toaster

Preparation work for fixing a number of issues with adding layers (non-git and otherwise) and creating initial configuration by cleaning up some of the redundant/awkward/complex bits of the database.

This branch is available on poky-contrib michaelw/toaster/database_clean_ups

changes in v2
 - Removed redundant tests and functions from loadconf
 - Fixed issue with non-showing of layerdetails sidebar
 - Rebased on current toaster-next and fixed up conflicts
 - Handle the case where the layerindex update finds multiples of the same
 layer (unique layers are softly enforced so an old database may have duplicates for example)

Michael Wood (9):
  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

 bitbake/lib/bb/ui/buildinfohelper.py               |   6 +-
 bitbake/lib/toaster/bldcollector/admin.py          |  22 +-
 .../bldcontrol/management/commands/loadconf.py     |  89 +---
 bitbake/lib/toaster/bldcontrol/tests.py            |  19 -
 .../toaster/orm/management/commands/lsupdates.py   | 295 +++++++++++-
 .../0008_delete_layer_source_references.py         | 118 +++++
 .../orm/migrations/0009_delete_layersource.py      |  17 +
 .../0010_use_release_instead_of_up_branch.py       |  60 +++
 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, 686 insertions(+), 784 deletions(-)
 create mode 100644 bitbake/lib/toaster/orm/migrations/0008_delete_layer_source_references.py
 create mode 100644 bitbake/lib/toaster/orm/migrations/0009_delete_layersource.py
 create mode 100644 bitbake/lib/toaster/orm/migrations/0010_use_release_instead_of_up_branch.py
 delete mode 100644 bitbake/lib/toaster/orm/tests.py

-- 
2.7.4



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-07-08 10:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-07 17:21 [PATCH v2 0/9] database clean ups Michael Wood
2016-07-07 17:21 ` [PATCH v2 1/9] toaster: loadconf remove Loading LayerSources Michael Wood
2016-07-07 17:21 ` [PATCH v2 2/9] toaster: bldcollector admin Remove LayerSourceAdmin Michael Wood
2016-07-07 17:21 ` [PATCH v2 3/9] toaster: models Remove LayerSource models and replace with enum Michael Wood
2016-07-07 17:21 ` [PATCH v2 4/9] toaster: lsupdates Add layerindex fetcher Michael Wood
2016-07-08 10:45   ` Michael Wood
2016-07-07 17:21 ` [PATCH v2 5/9] toaster: Replace references to LayerSource models Michael Wood
2016-07-07 17:21 ` [PATCH v2 6/9] toaster: tests: Remove references to LayerSource model Michael Wood
2016-07-07 17:21 ` [PATCH v2 7/9] toaster: lsupdates Add progress information and clean up logging Michael Wood
2016-07-07 17:21 ` [PATCH v2 8/9] toaster: orm Remove the layerindex specific up_branch fields Michael Wood
2016-07-07 17:21 ` [PATCH v2 9/9] toaster: admin Add Layer_Version to the admin-able models Michael Wood

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.