mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Display a warning when inconsistencies between names/ids are found
This commit is contained in:
parent
31e990ea61
commit
2e4eaacf3a
1 changed files with 6 additions and 0 deletions
|
@ -301,6 +301,12 @@ for app, info in apps_list.items():
|
||||||
print("-> Error: unsupported VCS and/or protocol")
|
print("-> Error: unsupported VCS and/or protocol")
|
||||||
continue
|
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:
|
try:
|
||||||
result_dict[manifest['id']] = {
|
result_dict[manifest['id']] = {
|
||||||
'git': {
|
'git': {
|
||||||
|
|
Loading…
Add table
Reference in a new issue