Read only metadata of apps given on the command line

This commit is contained in:
Jochen Sprickerhof 2022-07-19 08:48:47 +02:00
parent 66018d3f09
commit 8ab1d53318
No known key found for this signature in database
GPG key ID: 5BFFDCC258E69433
9 changed files with 12 additions and 27 deletions

View file

@ -1117,10 +1117,7 @@ def main():
srclib_dir = os.path.join(build_dir, 'srclib')
extlib_dir = os.path.join(build_dir, 'extlib')
# Read all app and srclib metadata
pkgs = common.read_pkg_args(options.appid, True)
allapps = metadata.read_metadata(pkgs, sort_by_time=True)
apps = common.read_app_args(options.appid, allapps, True)
apps = common.read_app_args(options.appid, allow_version_codes=True, sort_by_time=True)
for appid, app in list(apps.items()):
if (app.get('Disabled') and not options.force) or not app.get('RepoType') or not app.get('Builds', []):