Layer index improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest15 patches 0 repliesNew
- v15 patches 0 repliesSuperseded
Changes in v2 from the cover letter
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.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | Allow blanking out field values in bulk changelayerindex/ layerindex/ layerindex/ +1 more | +22 | 0 replies | |
| 2/15 | update.py: refactor into two separate scriptslayerindex/ layerindex/ | +591 | 0 replies | |
| 3/15 | update.py: allow updating all branches with one commandREADME layerindex/ layerindex/ +1 more | +239 | 0 replies | |
| 4/15 | Fix listing *_git.bbappend as appends for git recipeTODO layerindex/ | +1 | 0 replies | |
| 5/15 | Increase size of Recipe provides and license fieldsTODO layerindex/ layerindex/ | +204 | 0 replies | |
| 6/15 | bulkchange: drop temp paths in multi-patch tarballlayerindex/ | +1 | 0 replies | |
| 7/15 | Upgrade to Django 1.6+README layerindex/ layerindex/ +33 more | +136 | 0 replies | |
| 8/15 | Fix for changes in modern django-reversionlayerindex/ | +23 | 0 replies | |
| 9/15 | Support (and require) Python 3README layerindex/ layerindex/ +7 more | +36 | 0 replies | |
| 10/15 | update_layer.py: rename confusing loop variableslayerindex/ | +20 | 0 replies | |
| 11/15 | update_layer.py: fix handling of renames with newer GitPythonlayerindex/ | +75 | 0 replies | |
| 12/15 | Handle Python 2 and Python 3 branches in the same indexREADME layerindex/ layerindex/ +2 more | +259 | 0 replies | |
| 13/15 | Preemptive auto_now fix for Django 1.8layerindex/ | +5 | 0 replies | |
| 14/15 | update_layer.py: use new-style transaction APIlayerindex/ | +389 | 0 replies | |
| 15/15 | Explicitly specify temporary redirectionlayerindex/ layerindex/ urls.py | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [layerindex-web][PATCH v2 00/15] Layer index improvements
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
Signature · 1 line
2.5.5