Ensure services are also present within a tag

This commit is contained in:
decentral1se 2021-04-08 14:53:50 +02:00
parent abbe6ddd1a
commit fd97d41524
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -13,7 +13,7 @@ from os.path import basename, exists, expanduser
from pathlib import Path
from re import findall, search
from shlex import split
from subprocess import check_output, DEVNULL
from subprocess import DEVNULL, check_output
from sys import exit
from requests import get
@ -200,7 +200,7 @@ def get_app_versions(app_path, cached_apps_json):
if service in ("null", "---"):
continue
if tag in existing_tags:
if tag in existing_tags and service in cached_apps_json[app_name]["versions"][tag]:
log.info(f"Skipping {tag} because we've already processed it")
existing_versions = cached_apps_json[app_name]["versions"][tag][service]
service_versions[service] = existing_versions