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:
Tim Abbott
2016-07-28 15:43:32 -07:00
parent dc4b89fb08
commit 7e348df198

View File

@@ -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"