From 4833b6b2b290dc156e7776f34b7da02f13bed324 Mon Sep 17 00:00:00 2001 From: opi Date: Wed, 23 Mar 2016 08:53:44 +0100 Subject: [PATCH] [enh] Use dedicated app list domain. --- data/actionsmap/yunohost.yml | 2 +- src/yunohost/app.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/actionsmap/yunohost.yml b/data/actionsmap/yunohost.yml index a8eabdbee..bff87d4e8 100644 --- a/data/actionsmap/yunohost.yml +++ b/data/actionsmap/yunohost.yml @@ -334,7 +334,7 @@ app: arguments: -u: full: --url - help: URL of remote JSON list (default https://yunohost.org/official.json) + help: URL of remote JSON list (default https://app.yunohost.org/official.json) -n: full: --name help: Name of the list (default yunohost) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 1e77949c2..9855012f1 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -80,7 +80,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/official.json) + url -- URL of remote JSON list (default https://app.yunohost.org/official.json) """ # Create app path if not exists @@ -88,7 +88,7 @@ def app_fetchlist(url=None, name=None): except OSError: os.makedirs(repo_path) if url is None: - url = 'https://yunohost.org/official.json' + url = 'https://app.yunohost.org/official.json' name = 'yunohost' else: if name is None: