mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +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))
|
||||
|
||||
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
|
||||
repo_name = git_url.rsplit('/', 1)[1].rsplit('.', 1)[0]
|
||||
logger.info('getting app {}'.format(repo_name))
|
||||
|
Loading…
Reference in New Issue
Block a user