From affb4fd6938def7e76fc88f269bcba205a2511f7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 22 May 2019 19:16:12 +0200 Subject: [PATCH] adding labriqueinternet as autorized repository --- package_linter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 2ad12f4..b3f9903 100755 --- a/package_linter.py +++ b/package_linter.py @@ -332,8 +332,10 @@ class App(): if "id" in manifest: repo = "https://github.com/YunoHost-Apps/%s_ynh" % (manifest["id"]) is_not_added_to_org = urlopen(repo)['code'] == 404 + brique = "https://github.com/labriqueinternet/%s_ynh" % (manifest["id"]) + is_not_added_to_brique = urlopen(brique)['code'] == 404 - if is_not_added_to_org: + if is_not_added_to_org and is_not_added_to_brique: print_warning("[YEP-1.7] You should add your app in the YunoHost-Apps organisation.") # YEP 1.8 Publish test request