Merge pull request #13 from YunoHost/update_repo

Updating repository of already known applications
This commit is contained in:
yalh76 2022-04-06 01:32:11 +02:00 committed by GitHub
commit ce19acde62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,7 @@ class AppCatalog():
public_commit=app["git"]["revision"]) public_commit=app["git"]["revision"])
db.session.add(known_app) db.session.add(known_app)
else: else:
known_app.repo = app["url"]
print("Updating already known app {}".format(name)) print("Updating already known app {}".format(name))
maintainers_info = app["manifest"].get("maintainer", app["manifest"].get("developer", None)) maintainers_info = app["manifest"].get("maintainer", app["manifest"].get("developer", None))