mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Small tip about the url field in manifest
This commit is contained in:
parent
0587845acb
commit
a0c400f946
1 changed files with 3 additions and 0 deletions
|
@ -272,6 +272,9 @@ def check_manifest(path):
|
||||||
if "type" not in install_arg:
|
if "type" not in install_arg:
|
||||||
print_error("[YEP-2.1] You should specify the type of the key with %s" % (typ))
|
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):
|
def check_verifications_done_before_modifying_system(script):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue