From 74028074df18d7794761402dced742b6346b423a Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Tue, 12 May 2020 11:00:15 +0530 Subject: [PATCH] fix(get-app): allow ssh urls --- bench/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bench/app.py b/bench/app.py index 8b165b2b..fec7a551 100755 --- a/bench/app.py +++ b/bench/app.py @@ -100,7 +100,9 @@ def remove_from_excluded_apps_txt(app, bench_path='.'): def get_app(git_url, branch=None, bench_path='.', skip_assets=False, verbose=False, postprocess=True, overwrite=False): if not os.path.exists(git_url): - if not check_url(git_url, raise_err=False): + if git_url.startswith('git@'): + pass + elif not check_url(git_url, raise_err=False): orgs = ['frappe', 'erpnext'] for org in orgs: url = 'https://api.github.com/repos/{org}/{app}'.format(org=org, app=git_url)