From adcebb39f90977ae000df8e50c347ee74d2eaeb0 Mon Sep 17 00:00:00 2001 From: opi Date: Mon, 12 Oct 2015 22:24:21 +0200 Subject: [PATCH] [fix] Use official.json app list. --- data/actionsmap/yunohost.yml | 4 ++-- src/yunohost/app.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/actionsmap/yunohost.yml b/data/actionsmap/yunohost.yml index 958bc8c1f..867404fd0 100644 --- a/data/actionsmap/yunohost.yml +++ b/data/actionsmap/yunohost.yml @@ -318,10 +318,10 @@ app: arguments: -u: full: --url - help: URL of remote JSON list (default http://fapp.yunohost.org/app/list/raw) + help: URL of remote JSON list (default https://yunohost.org/official.json) -n: full: --name - help: Name of the list (default fapp) + help: Name of the list (default yunohost) extra: pattern: &pattern_listname - !!str ^[a-z0-9_]+$ diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 57f7676fc..de6c6bb55 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -72,7 +72,7 @@ def app_fetchlist(url=None, name=None): Keyword argument: name -- Name of the list (default yunohost) - url -- URL of remote JSON list (default https://yunohost.org/list.json) + url -- URL of remote JSON list (default https://yunohost.org/official.json) """ # Create app path if not exists @@ -80,7 +80,7 @@ def app_fetchlist(url=None, name=None): except OSError: os.makedirs(repo_path) if url is None: - url = 'https://yunohost.org/list.json' + url = 'https://yunohost.org/official.json' name = 'yunohost' else: if name is None: