layerindex-web/layerindex/tools
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
..
import_classic_wiki.py layerindex/tools: fix permissions 2013-09-20 06:49:12 +01:00
import_classic.py update_layer.py: fix up for bitbake API change 2016-08-31 08:57:37 +12:00
import_layer.py layerindex/tools/import_layer.py: Avoid failing if there is any layer to add 2016-10-18 16:42:15 +13:00
import_wiki_layers.py Move layers import script to tools subdirectory 2013-08-11 11:28:14 +01:00
update_classic_status.py layerindex/tools: fix permissions 2013-09-20 06:49:12 +01:00