zulip/scripts/lib
Greg Price 64c608a51a install: Clarify how we set locale during install, and why.
This updates commit 11ab545f3 "install: Set the locale ..."
to be somewhat cleaner, and to explain more in the commit message.

In some environments, either pip itself fails or some packages fail to
install, and setting the locale to en_US.UTF-8 resolves the issue.

We heard reports of this kind of behavior with at least two different
sets of symptoms, with 1.7.0 or its release candidates:
  https://chat.zulip.org/#narrow/stream/general/subject/Trusty.201.2E7.20Upgrade/near/302214
  https://chat.zulip.org/#narrow/stream/production.20help/subject/1.2E6.20to.201.2E7/near/306250

In all reported cases, commit 11ab545f3 or equivalent fixed the issue.

Setting LC_CTYPE is redundant when also setting LC_ALL, because LC_ALL
overrides all `LC_*` environment variables; so skip that.  Also move
the line in `install` to a more appropriate spot, and adjust the
comments.
2017-11-22 18:11:20 -08:00
..
third deps: Change npm to yarn for reliablity, security, and speed. 2017-08-05 12:29:06 -07:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
cd_exec scripts: Add cd_exec library helper. 2017-07-21 17:28:20 -07:00
certbot-maybe-renew certbot: Use --deploy-hook to get the cert actually served. 2017-11-15 21:50:41 -08:00
check-upstart install: Add clear error message if upstart is installed on Xenial. 2016-11-29 19:16:26 -08:00
clean-emoji-cache scripts: Rearrange the arguments of `purge_unused_caches()`. 2017-09-24 04:37:31 -07:00
clean-npm-cache scripts: Rearrange the arguments of `purge_unused_caches()`. 2017-09-24 04:37:31 -07:00
clean-unused-caches caches: Suppress unnecessary output when cleaning caches. 2017-09-25 16:34:03 -07:00
clean-venv-cache clean-venv-cache: Fix an exception with unusual deployment dirs. 2017-10-31 00:01:09 -07:00
create-production-venv requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
create-thumbor-venv requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
create-zulip-admin Add script to create admin from CLI. 2017-09-27 20:15:41 -07:00
docker-functions.sh Fix various typos. 2017-11-09 16:26:38 +01:00
email-mirror-postfix email-mirror-postfix: Replace optparse with argparse. 2017-11-21 21:34:38 -08:00
hash_reqs.py scripts: Remove import print_function. 2017-09-29 15:43:30 -07:00
install install: Clarify how we set locale during install, and why. 2017-11-22 18:11:20 -08:00
install-node deps: Change npm to yarn for reliablity, security, and speed. 2017-08-05 12:29:06 -07:00
node_cache.py mypy: Set type parameters for IO to Any in scripts/lib/node_cache.py. 2017-11-04 19:47:44 -07:00
pythonrc.py scripts: Remove import print_function. 2017-09-29 15:43:30 -07:00
queue_workers.py scripts: Remove import print_function. 2017-09-29 15:43:30 -07:00
setup-apt-repo setup-apt-repo: Fix failure to rerun properly on provision failure. 2017-09-12 07:08:54 -07:00
setup_path_on_import.py linter: Add lint rule banning 'import os.path' 2017-09-22 10:32:21 -07:00
setup_venv.py thumbor: Add dependencies and virtualenv setup script. 2017-11-16 22:38:29 -08:00
unpack-zulip scripts: Remove import print_function. 2017-09-29 15:43:30 -07:00
upgrade-zulip refactor: Replace mkdir_p functions with Python 3 builtin. 2017-10-25 11:06:11 -07:00
upgrade-zulip-stage-2 install: Clarify how we set locale during install, and why. 2017-11-22 18:11:20 -08:00
zulip_tools.py scripts: Text-wrap long lines exceeding 110. 2017-11-10 16:22:26 -08:00