From 2e4eaacf3acc7e338302520426572fc73ea89d55 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 17 Dec 2018 19:10:20 +0100 Subject: [PATCH] Display a warning when inconsistencies between names/ids are found --- list_builder.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/list_builder.py b/list_builder.py index 610372ae..2538718c 100755 --- a/list_builder.py +++ b/list_builder.py @@ -301,6 +301,12 @@ for app, info in apps_list.items(): print("-> Error: unsupported VCS and/or protocol") continue + if manifest["id"] != app or manifest["id"] != repo.replace("_ynh", ""): + print("Warning: IDs different between community.json, manifest and repo name") + print(" Manifest id : %s" % manifest["id"]) + print(" Name in community json : %s" % app) + print(" Repo name : %s" % repo.replace("_ynh", "")) + try: result_dict[manifest['id']] = { 'git': {