layerindex-web/layerindex
Liam R. Howlett 752e0152c2 layerindex/tools/import_layer.py: Avoid failing if there is any layer to add
Subdirectories are scanned when adding layers.  If any of the
subdirectories or root directory layers already exist in the database,
then the addition fails.  This changes that behaviour to report the
failure as a warning and remove it from the list.  That way, if a repo
has a new layer added it can be rescanned without issue.  Layers being
rescanned are checked against the vcs_url to ensure there is not a name
collision.  A name collision without the same vcs_url will still produce
a hard failure.

Note that multiple layers with the same vcs_url are supported in the
error reporting even though this should never happen.

Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
2016-10-18 16:42:15 +13:00
..
migrations layerindex/migrations: Add initial migration 2016-10-18 16:41:24 +13:00
static Display recipe blacklist information 2016-05-24 14:22:58 +01:00
templatetags Support (and require) Python 3 2016-06-12 11:33:08 +12:00
tools layerindex/tools/import_layer.py: Avoid failing if there is any layer to add 2016-10-18 16:42:15 +13:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Handle Python 2 and Python 3 branches in the same index 2016-06-12 11:33:08 +12:00
bulkchange.py Support (and require) Python 3 2016-06-12 11:33:08 +12: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
models.py Fix not null error on database migration 2016-07-01 16:45:24 +12: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.py: handle old BBFILES append method in layer.conf 2015-06-17 18:36:37 +01:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py Upgrade to Django 1.6+ 2016-06-12 11:33:08 +12:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
update_layer.py update_layer.py: fix up for bitbake API change 2016-08-31 08:57:37 +12:00
update.py update.py: default to python3 without a defined environment 2016-09-20 20:37:45 +12:00
urls_branch.py Explicitly specify temporary redirection 2016-06-12 11:33:08 +12:00
urls.py Explicitly specify temporary redirection 2016-06-12 11:33:08 +12:00
utils.py Update to Django 1.8 2016-09-20 20:37:45 +12:00
views.py Update to Django 1.8 2016-09-20 20:37:45 +12:00