[yocto] [layerindex-web][PATCH 05/10] layerindex: Add distribution to web interface and model.
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Oct 3 15:59:13 PDT 2016
On Mon, 26 Sep 2016 14:25:33 Liam R. Howlett wrote:
> Add the distributions to the index. This looks a lot like the machines
> and allows users to search for a particular distribution.
>
> Signed-off-by: Liam R. Howlett <Liam.Howlett at WindRiver.com>
> ---
> layerindex/admin.py | 11 +++++
> layerindex/models.py | 14 ++++++
> layerindex/recipeparse.py | 5 +++
> layerindex/restviews.py | 10 ++++-
> layerindex/tools/import_classic.py | 2 +
> layerindex/update_layer.py | 46 +++++++++++++++++++-
> layerindex/urls.py | 3 ++
> layerindex/urls_branch.py | 6 ++-
> layerindex/views.py | 29 ++++++++++++-
> templates/layerindex/detail.html | 23 ++++++++++
> templates/layerindex/distributions.html | 76
Sorry, I know it's probably going to be a pain, I'd really like to be using
the term "distro" here rather than "distribution" - that would match up with
our existing variable and path naming, and at the same time will resolve a few
typos in this patch (e.g. "distribuiton").
Also, any change to the structure needs to be accompanied by a migration to
handle existing databases. Since you're working with Django 1.8 you'd be
creating its migrations rather than South's, and we had to start with a clean
slate for that so I can see perhaps why you missed them.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list