[yocto] [layerindex-web][PATCH 00/31] Distro comparisons (cover letter only)
Paul Eggleton
paul.eggleton at linux.intel.com
Wed Aug 8 07:09:59 PDT 2018
This set of changes builds upon the OE-Classic support we had previously
to enable importing data from other Linux distributions (or indeed other
operating systems) and linking and comparing the packages there to recipes
in OE. The initial support is just for importing RPM spec files, using
the assumption that they can be brought down locally (and scripts to
fetch them are provided for Fedora and any nominated Github organisation).
There is also basic support for importing Debian package info from a
running system (i.e. from the output of apt-cache show "*").
However, the data is not specific and in theory a script could be
written to import from just about any system.
The following changes since commit fca74f3ac3c6536c50cb0a518fe78447a284dc55:
Update TODO list (2018-08-06 12:36:31 +0200)
are available in the Git repository at:
git://git.yoctoproject.org/layerindex-web paule/otherdistro
http://git.yoctoproject.org/cgit.cgi//log/?h=paule/otherdistro
Paul Eggleton (31):
forms: clear out comparison recipe/layerbranch if status doesn't accept them
Add a script to import layers from an existing layer index
update_classic_status: fix matching on wrong layer
Add partial path macro for vcs URL fields
Add support for other distro comparisons
Add script to import from other distros
update_classic_status: update for other distro comparisons
update_classic_status: set cover_pn from pn for direct match
update_classic_status: use source URLs to match python/perl recipes
update_classic_status: look for certain prefixes in order to match
update_classic_status: add skip option
Allow searching for uncategorised recipes in the comparison search
Enhance filtering comparisons
views: fix unknown categories comparison stats graph to include "Not available"
Add "needs attention" flag for comparison recipes
Add support for importing Debian package info
Support reversed other distro recipe list / filtering
Support selecting more than one layer in other distro comparison search form
Support excluding inherited classes from other distro comparison reversed query
Add basic CSV export for other distro comparisons
Add ability to store extra URLs to be displayed for comparison recipes
rrs: show link to other distro comparison pages
Rename LayerItem classic field to comparison
Fix comparison layers showing up in dependencies list in edit layer page
Add ability to trigger comparison updates manually from UI
Add script to fetch all repos under a github organisation
Add script to fetch Fedora package sources
Show source URLs on recipe detail page
README: add setup info for other distro comparisons
Add side-by-side comparison detail and enhanced selection
Show links to include files on recipe detail
README | 82 ++-
TODO | 2 -
layerindex/admin.py | 6 +
layerindex/context_processors.py | 4 +-
layerindex/forms.py | 37 +-
layerindex/migrations/0015_comparison.py | 24 +
.../migrations/0016_classicrecipe_delete.py | 19 +
.../0017_classicrecipe_needs_attention.py | 19 +
.../migrations/0018_layerrecipeextraurl.py | 26 +
.../0019_layeritem_classic_comparison.py | 25 +
layerindex/migrations/0020_update_manual.py | 50 ++
layerindex/models.py | 113 +++-
layerindex/static/css/additional.css | 20 +
layerindex/tasks.py | 23 +
layerindex/templatetags/extrafilters.py | 35 ++
layerindex/tools/fedora-fetch.py | 170 ++++++
layerindex/tools/github-fetch.py | 135 +++++
layerindex/tools/import_classic.py | 2 +-
layerindex/tools/import_classic_wiki.py | 2 +-
layerindex/tools/import_layers.py | 251 ++++++++
layerindex/tools/import_otherdistro.py | 564 ++++++++++++++++++
layerindex/tools/lib/__init__.py | 0
layerindex/tools/lib/rpmmacros.py | 53 ++
layerindex/tools/update_classic_status.py | 187 +++++-
layerindex/update.py | 8 +-
layerindex/urls.py | 48 +-
layerindex/urls_branch.py | 5 +-
layerindex/utils.py | 3 +
layerindex/views.py | 502 ++++++++++++++--
templates/base.html | 2 +
templates/base_toplevel.html | 16 +-
templates/layerindex/classchecklist.html | 21 +
templates/layerindex/classic_base.html | 33 +-
templates/layerindex/classicrecipedetail.html | 184 ++----
templates/layerindex/classicrecipes.html | 324 +++++++++-
templates/layerindex/classicrecipes_csv.txt | 2 +
templates/layerindex/classicstats.html | 16 +-
.../layerindex/comparisonrecipebase.html | 229 +++++++
.../layerindex/comparisonrecipeselect.html | 119 ++++
.../comparisonrecipeselectdetail.html | 98 +++
templates/layerindex/layerchecklist.html | 21 +
templates/layerindex/recipedetail.html | 29 +
templates/layerindex/task.html | 47 ++
templates/layerindex/updatedetail.html | 9 +
templates/layerindex/updatelist.html | 3 +-
templates/rrs/recipedetail.html | 13 +-
46 files changed, 3296 insertions(+), 285 deletions(-)
create mode 100644 layerindex/migrations/0015_comparison.py
create mode 100644 layerindex/migrations/0016_classicrecipe_delete.py
create mode 100644 layerindex/migrations/0017_classicrecipe_needs_attention.py
create mode 100644 layerindex/migrations/0018_layerrecipeextraurl.py
create mode 100644 layerindex/migrations/0019_layeritem_classic_comparison.py
create mode 100644 layerindex/migrations/0020_update_manual.py
create mode 100644 layerindex/templatetags/extrafilters.py
create mode 100755 layerindex/tools/fedora-fetch.py
create mode 100755 layerindex/tools/github-fetch.py
create mode 100755 layerindex/tools/import_layers.py
create mode 100755 layerindex/tools/import_otherdistro.py
create mode 100644 layerindex/tools/lib/__init__.py
create mode 100644 layerindex/tools/lib/rpmmacros.py
create mode 100644 templates/layerindex/classchecklist.html
create mode 100644 templates/layerindex/classicrecipes_csv.txt
create mode 100644 templates/layerindex/comparisonrecipebase.html
create mode 100644 templates/layerindex/comparisonrecipeselect.html
create mode 100644 templates/layerindex/comparisonrecipeselectdetail.html
create mode 100644 templates/layerindex/layerchecklist.html
create mode 100644 templates/layerindex/task.html
--
2.17.1
More information about the yocto
mailing list