layerindex-web/layerindex
Paul Eggleton ac6b563716 editlayer: allow selecting web interface type
For some repo URLs we can automatically determine the values of all of
the other fields - e.g. for github or git.openembedded.org, and we've
been doing that for a while. However if someone submits a URL for some
other site we don't know what type of interface it uses, and usually
the submitter leaves the fields blank so it falls to the layer index
maintainer to set the values, and then you have to remember what the
correct URL format is which is awkward especially for gitweb.

In order to fix this, add a select field to the form which allows
specifying which type of interface is being used. At the moment only
cgit, gitweb, gitlab and "(custom)" (i.e. the current behaviour) are
supported. This is not a real field but activates javascript code
that sets the other fields and enables/disables the controls.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-10-25 20:33:42 +13:00
..
migrations layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
static editlayer: allow selecting web interface type 2016-10-25 20:33:42 +13:00
templatetags Support (and require) Python 3 2016-06-12 11:33:08 +12:00
tools layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
bulkchange.py layerindex/recipeparse.py: refactor setup_tinfoil, checkout_layer_branch, parse_layer_conf to utils.py 2016-10-18 16:42:16 +13:00
context_processors.py Use Django sites framework to specify website title 2013-12-28 11:03:29 +00:00
forms.py Update to Django 1.8 2016-09-20 20:37:45 +12:00
layerconfparse.py layerindex: Detect dependencies from layer.conf files 2016-10-18 16:42:16 +13:00
models.py layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
querysethelper.py Use functools.reduce instead of reduce 2016-07-04 09:51:21 +12:00
recipedesc.py Support (and require) Python 3 2016-06-12 11:33:08 +12:00
recipeparse.py recipeparse: remove unnecessary else statement 2016-10-18 16:42:16 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
update_layer.py layerindex/update_layer.py: Preserve the recipedependency files 2016-10-18 16:42:16 +13:00
update.py layerindexer: Add layer recommends support 2016-10-18 16:42:16 +13:00
urls_branch.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
urls.py layerindex: Add distro to web interface and model 2016-10-18 16:42:15 +13:00
utils.py views: ensure we only show results once in recipe search 2016-10-19 16:55:33 +13:00
views.py views: ensure exact matches on name are shown first in recipe search 2016-10-19 16:55:42 +13:00