Skip to content

toaster:django_2_2_13207

Reyna, David bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1toaster: migrate to Django-2.2lib/toaster/bldcollector/views.py lib/toaster/bldcontrol/migrations/0001_initial.py lib/toaster/bldcontrol/models.py +37 more+197 -1740 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] toaster:django_2_2_13207

From: David Reyna <[email protected]>

Toaster: Patch to move from deprecated Django-1.x to Django-2.2
* The primary changes are API updated limited to:
1) Move to "django.urls"
2) Explicit "on_delete=models.CASCADE", even in migration files
3) Move from "MIDDLEWARE_CLASSES" to "MIDDLEWARE"
4) And other minor API paperwork
* This patch set has been extensively tested at Wind River.

The following changes since commit 1bf1e1539fb72f0bc594b4b2367482dd13c8c633:

linux-yocto/5.4: configuration tweaks (2020-03-25 10:02:50 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib dreyna/toaster/django_2_2_13207
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dreyna/toaster/django_2_2_13207

David Reyna (1):
toaster: migrate to Django-2.2

 lib/toaster/bldcollector/views.py                  |   2 +-
 lib/toaster/bldcontrol/migrations/0001_initial.py  |  18 ++--
 lib/toaster/bldcontrol/models.py                   |  18 ++--
 lib/toaster/orm/migrations/0001_initial.py         | 100 ++++++++++-----------
 .../orm/migrations/0002_customimagerecipe.py       |   6 +-
 .../orm/migrations/0003_customimagepackage.py      |   2 +-
 lib/toaster/orm/migrations/0004_provides.py        |   4 +-
 .../migrations/0008_refactor_artifact_models.py    |   4 +-
 .../0012_use_release_instead_of_up_branch.py       |   2 +-
 lib/toaster/orm/migrations/0017_distro_clone.py    |   2 +-
 lib/toaster/orm/migrations/0019_django_2_2.py      |  23 +++++
 lib/toaster/orm/models.py                          |  98 ++++++++++----------
 lib/toaster/tests/browser/test_all_builds_page.py  |   2 +-
 .../tests/browser/test_all_projects_page.py        |   2 +-
 .../tests/browser/test_builddashboard_page.py      |   2 +-
 .../browser/test_builddashboard_page_artifacts.py  |   2 +-
 .../browser/test_builddashboard_page_recipes.py    |   2 +-
 .../browser/test_builddashboard_page_tasks.py      |   2 +-
 lib/toaster/tests/browser/test_js_unit_tests.py    |   2 +-
 lib/toaster/tests/browser/test_landing_page.py     |   2 +-
 .../tests/browser/test_layerdetails_page.py        |   2 +-
 .../browser/test_most_recent_builds_states.py      |   2 +-
 .../tests/browser/test_new_custom_image_page.py    |   2 +-
 lib/toaster/tests/browser/test_new_project_page.py |   2 +-
 .../tests/browser/test_project_builds_page.py      |   2 +-
 .../tests/browser/test_project_config_page.py      |   5 +-
 lib/toaster/tests/browser/test_project_page.py     |   2 +-
 lib/toaster/tests/browser/test_sample.py           |   2 +-
 lib/toaster/tests/browser/test_task_page.py        |   2 +-
 lib/toaster/tests/browser/test_toastertable_ui.py  |   2 +-
 lib/toaster/tests/views/test_views.py              |   2 +-
 lib/toaster/toastergui/api.py                      |   2 +-
 .../toastergui/templatetags/project_url_tag.py     |   2 +-
 lib/toaster/toastergui/templatetags/projecttags.py |   4 +-
 lib/toaster/toastergui/typeaheads.py               |   2 +-
 lib/toaster/toastergui/views.py                    |  16 ++--
 lib/toaster/toastergui/widgets.py                  |   2 +-
 .../toastermain/management/commands/buildimport.py |   2 +-
 lib/toaster/toastermain/settings.py                |  17 ++--
 lib/toaster/toastermain/urls.py                    |   4 +-
 40 files changed, 197 insertions(+), 174 deletions(-)
 create mode 100644 bitbake/lib/toaster/orm/migrations/0019_django_2_2.py
Signature · 1 line
1.9.1