mirror of
https://github.com/frappe/bench.git
synced 2025-02-09 14:18:28 +00:00
less verbose app install (#369)
This commit is contained in:
parent
4eef5d1b1a
commit
7946d17cc1
@ -49,6 +49,9 @@ def write_appstxt(apps, bench_path='.'):
|
|||||||
return f.write('\n'.join(apps))
|
return f.write('\n'.join(apps))
|
||||||
|
|
||||||
def get_app(git_url, branch=None, bench_path='.', build_asset_files=True, verbose=False):
|
def get_app(git_url, branch=None, bench_path='.', build_asset_files=True, verbose=False):
|
||||||
|
#less verbose app install
|
||||||
|
if '/' not in git_url:
|
||||||
|
git_url = 'https://github.com/frappe/' + git_url
|
||||||
#Gets repo name from URL
|
#Gets repo name from URL
|
||||||
repo_name = git_url.rsplit('/', 1)[1].rsplit('.', 1)[0]
|
repo_name = git_url.rsplit('/', 1)[1].rsplit('.', 1)[0]
|
||||||
logger.info('getting app {}'.format(repo_name))
|
logger.info('getting app {}'.format(repo_name))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user