From a0c400f946d9d2742bcaac2586843eb50e126f34 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 29 Jan 2019 01:10:12 +0100 Subject: [PATCH] Small tip about the url field in manifest --- package_linter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package_linter.py b/package_linter.py index 3d46c38..d3e74bd 100755 --- a/package_linter.py +++ b/package_linter.py @@ -272,6 +272,9 @@ def check_manifest(path): if "type" not in install_arg: print_error("[YEP-2.1] You should specify the type of the key with %s" % (typ)) + if "url" in manifest and manifest["url"].endswith("_ynh"): + print_warning("'url' is not meant to be the url of the yunohost package, but rather the website or repo of the upstream app itself...") + def check_verifications_done_before_modifying_system(script): """