Skip to content

Django 1.11 upgrade (cover letter only)

Paul Eggleton yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 16 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 16 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [layerindex-web][PATCH 00/16] Django 1.11 upgrade (cover letter only)

Django 1.8 has gone out of support upstream, so here are the necessary changes to upgrade to Django 1.11.x (the next LTS release). Along the way I switched the Bulk Change feature to use OE's code for patching recipes, since that part was broken by the upgrade (and possibly broken otherwise).

I've posted the cover letter only to avoid too much noise for folks that aren't interested - see the branch for details.

The following changes since commit 611c96883c35240d3c291951146154d828745774:

requirements.txt: use the most recent Django 1.8 version (2018-03-26 08:29:27 +1300)

are available in the Git repository at:

git://git.yoctoproject.org/layerindex-web paule/django-upgrade
http://git.yoctoproject.org/cgit.cgi//log/?h=paule/django-upgrade

Paul Eggleton (16):
views: replace mimetype with content_type
settings.py: switch to django.template.context_processors Make manage.py executable and tidy shebang
Use new TEMPLATES setting
Replace usage of model._meta.get_all_field_names() Stop using string name for publish view in urls.py urls*: Use new urlpatterns list syntax templatetags/addurlparameter: remove unused reference
templates: replace use of = with ==
views: fix history tracking to work with current django-reversion
urls: add required exception parameter for page_not_found
views: Adapt to template rendering API change
utils: add function to add meta/lib/oe to sys.path bulkchange.py: fix regression
bulkchange.py: use oe.recipeutils code to patch recipes requirements.txt: bump Django and other dependency versions

 README                                     |   4 +-
 layerindex/admin.py                        |  12 +--
 layerindex/bulkchange.py                   | 134 ++---------------------------
 layerindex/querysethelper.py               |   2 +-
 layerindex/recipeparse.py                  |  14 ---
 layerindex/templatetags/addurlparameter.py |   2 +-
 layerindex/urls.py                         |  10 +--
 layerindex/urls_branch.py                  |   4 +-
 layerindex/utils.py                        |  12 +++
 layerindex/views.py                        |  92 +++++++++++---------
 manage.py                                  |   4 +-
 requirements.txt                           |  16 ++--
 settings.py                                |  42 ++++-----
 templates/base_toplevel.html               |   4 +-
 templates/layerindex/detail.html           |   6 +-
 templates/layerindex/duplicates.html       |   4 +-
 templates/layerindex/editlayer.html        |   8 +-
 templates/layerindex/history.html          |   8 +-
 templates/layerindex/reviewdetail.html     |   6 +-
 urls.py                                    |   7 +-
 20 files changed, 139 insertions(+), 252 deletions(-)
 mode change 100644 => 100755 manage.py
Signature · 1 line
2.14.3