check-git-repo-avail ignore NoSourceSince

Apps that have NoSourceSince don't need a Repo:.
This commit is contained in:
Jochen Sprickerhof 2021-10-23 21:57:05 +02:00 committed by Jochen Sprickerhof
parent 6f85b8bcfd
commit 19a9366457

View file

@ -35,14 +35,14 @@ for f in files:
print(Fore.RED + msg + Style.RESET_ALL)
errors[f] = msg
continue
if 'NoSourceSince' in data.keys():
continue
url = data.get('Repo')
if not url:
msg = 'ERROR: %s: no Repo: set!' % f
print(Fore.RED + msg + Style.RESET_ALL)
errors[f] = msg
continue
if 'NoSourceSince' in data.keys():
continue
if data.get('RepoType') != 'git':
continue