From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: yocto@yoctoproject.org
Subject: [layerindex-web][PATCH v2 00/15] Layer index improvements
Date: Thu, 9 Jun 2016 01:19:53 +1200 [thread overview]
Message-ID: <cover.1465391621.git.paul.eggleton@linux.intel.com> (raw)
Refactor the update script to hopefully make it more robust, allow
multiple branches to be updated with one command, support Python 3
and Django 1.6 and fix a few other issues.
Changes since v1:
The Python 3 change hit while the original patchset was in review,
which has broken parsing of master. It's just as well I did the
refactoring of the update script, because that was critical to
allow branches requiring Python 2 and others requiring Python 3
to be able to be parsed within the same index. This new version
handles this, supports (and requires) Python 3 itself, and as a
follow on now uses Django 1.6 and updated versions of other
Django-related components, along with a few pre-emptive fixes for
Django 1.8 which I intend to upgrade to after the dust settles on
this set of changes.
The following changes since commit b80833e1c9d2e8d4bd15903810bc981dd3a9c19e:
TODO: drop some completed items (2016-05-30 15:28:20 +1200)
are available in the git repository at:
git://git.yoctoproject.org/layerindex-web paule/fixes
http://git.yoctoproject.org/cgit.cgi/layerindex-web/log/?h=paule/fixes
Paul Eggleton (15):
Allow blanking out field values in bulk change
update.py: refactor into two separate scripts
update.py: allow updating all branches with one command
Fix listing *_git.bbappend as appends for git recipe
Increase size of Recipe provides and license fields
bulkchange: drop temp paths in multi-patch tarball
Upgrade to Django 1.6+
Fix for changes in modern django-reversion
Support (and require) Python 3
update_layer.py: rename confusing loop variables
update_layer.py: fix handling of renames with newer GitPython
Handle Python 2 and Python 3 branches in the same index
Preemptive auto_now fix for Django 1.8
update_layer.py: use new-style transaction API
Explicitly specify temporary redirection
README | 53 +-
TODO | 2 -
layerindex/admin.py | 1 +
layerindex/bulkchange.py | 29 +-
layerindex/forms.py | 32 +-
.../0011_auto__add_field_branch_updates_enabled.py | 198 +++++++
...ld_recipe_license__chg_field_recipe_provides.py | 202 +++++++
...ronment__add_field_branch_update_environment.py | 218 ++++++++
layerindex/models.py | 78 ++-
layerindex/recipedesc.py | 4 +-
layerindex/restviews.py | 4 +-
layerindex/templatetags/addurlparameter.py | 2 +-
layerindex/tools/import_layer.py | 2 +-
layerindex/update.py | 528 ++----------------
layerindex/update_layer.py | 616 +++++++++++++++++++++
layerindex/urls.py | 20 +-
layerindex/urls_branch.py | 5 +-
layerindex/utils.py | 13 +-
layerindex/views.py | 59 +-
manage.py | 20 +-
requirements.txt | 38 +-
settings.py | 2 +-
templates/404.html | 2 +-
templates/base.html | 22 +-
templates/base_toplevel.html | 3 +-
templates/layerindex/about.html | 2 +-
templates/layerindex/bulkchange.html | 2 +-
templates/layerindex/bulkchangereview.html | 8 +-
templates/layerindex/bulkchangesearch.html | 8 +-
templates/layerindex/classic_base.html | 10 +-
templates/layerindex/classicrecipedetail.html | 2 +-
templates/layerindex/classicrecipes.html | 10 +-
templates/layerindex/classicstats.html | 4 +-
templates/layerindex/detail.html | 14 +-
templates/layerindex/duplicates.html | 1 -
templates/layerindex/editlayernote.html | 2 +-
templates/layerindex/layers.html | 8 +-
templates/layerindex/machines.html | 10 +-
templates/layerindex/profile.html | 2 +-
templates/layerindex/recipedetail.html | 12 +-
templates/layerindex/recipes.html | 12 +-
templates/layerindex/reviewdetail.html | 14 +-
templates/layerindex/reviewlist.html | 2 +-
templates/registration/activate.html | 2 +-
templates/registration/activation_email.txt | 2 +-
templates/registration/login.html | 4 +-
.../registration/password_reset_complete.html | 2 +-
templates/registration/password_reset_email.html | 2 +-
urls.py | 6 +-
49 files changed, 1557 insertions(+), 737 deletions(-)
create mode 100644 layerindex/migrations/0011_auto__add_field_branch_updates_enabled.py
create mode 100644 layerindex/migrations/0012_auto__chg_field_recipe_license__chg_field_recipe_provides.py
create mode 100644 layerindex/migrations/0013_auto__add_pythonenvironment__add_field_branch_update_environment.py
create mode 100644 layerindex/update_layer.py
--
2.5.5
next reply other threads:[~2016-06-08 13:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 13:19 Paul Eggleton [this message]
2016-06-08 13:19 ` [layerindex-web][PATCH v2 01/15] Allow blanking out field values in bulk change Paul Eggleton
2016-06-08 13:19 ` [layerindex-web][PATCH v2 02/15] update.py: refactor into two separate scripts Paul Eggleton
2016-06-08 13:19 ` [layerindex-web][PATCH v2 03/15] update.py: allow updating all branches with one command Paul Eggleton
2016-06-08 13:19 ` [layerindex-web][PATCH v2 04/15] Fix listing *_git.bbappend as appends for git recipe Paul Eggleton
2016-06-08 13:19 ` [layerindex-web][PATCH v2 05/15] Increase size of Recipe provides and license fields Paul Eggleton
2016-06-08 13:19 ` [layerindex-web][PATCH v2 06/15] bulkchange: drop temp paths in multi-patch tarball Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 07/15] Upgrade to Django 1.6+ Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 08/15] Fix for changes in modern django-reversion Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 09/15] Support (and require) Python 3 Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 10/15] update_layer.py: rename confusing loop variables Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 11/15] update_layer.py: fix handling of renames with newer GitPython Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 12/15] Handle Python 2 and Python 3 branches in the same index Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 13/15] Preemptive auto_now fix for Django 1.8 Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 14/15] update_layer.py: use new-style transaction API Paul Eggleton
2016-06-08 13:20 ` [layerindex-web][PATCH v2 15/15] Explicitly specify temporary redirection Paul Eggleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1465391621.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.