mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
deploy-zulip-from-git: Cleanup git_repo_url computation.
Now we assume the main GitHub zulip.git if a repo isn't specified.
This commit is contained in:
@@ -12,10 +12,10 @@ LOCAL_GIT_CACHE_DIR = '/srv/zulip.git'
|
||||
|
||||
ZULIP_COM = config_file.get('machine', 'deploy_type') in ['zulip.com-prod',
|
||||
'zulip.com-staging']
|
||||
if ZULIP_COM:
|
||||
git_url = "git@git.zulip.net:eng/zulip.git"
|
||||
else:
|
||||
try:
|
||||
git_url = config_file.get('deployment', 'git_repo_url')
|
||||
except (configparser.NoSectionError, configparser.NoOptionError):
|
||||
git_url = "https://github.com/zulip/zulip.git"
|
||||
|
||||
os.environ["PYTHONUNBUFFERED"] = "y"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user