zulip/scripts/lib
Alex Vandiver ebe930ab2c upgrade: Set an explicit value for PATH.
Previous versions of zulip used `nvm alias default ...` to have `nvm`
prepend the full path to the latest `node` install to the `PATH` in
root's shell.  Unfortunately, this means that `update-prod-static`,
when called from `upgrade-zulip-stage-2` after an upgrade of node in
`install-node`, would still have the full path to the _old_ `node` at
the start of its PATH, because the PATH of `upgrade-zulip-stage-2`
would still be unchanged.

Bootstrap out of this by setting a known-reasonable PATH during
upgrade, and remove the problematic `nvm alias default` behaviour.

Fixes #18258.
2021-05-01 07:16:45 -07:00
..
third install-yarn: Fix buggy status check for the signature. 2018-04-09 15:09:37 -07:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
build-pgroonga pgroonga: Bump pgroonga version to 2.2.8 when building from source. 2021-03-22 19:33:48 -07:00
certbot-maybe-renew shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
check_rabbitmq_queue.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
clean_emoji_cache.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean_node_cache.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean_venv_cache.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
clean_yarn_cache.py clean-unused-caches: Handle non-existent yarn cache. 2021-04-27 10:02:49 -07:00
clean-unused-caches clean-unused-caches: Add script to remove redundant yarn cache. 2021-04-26 16:28:08 -07:00
create-production-venv python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
create-thumbor-venv python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
email-mirror-postfix python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
hash_reqs.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
install install: Set explicit value for PATH. 2021-05-01 07:16:45 -07:00
install-node upgrade: Set an explicit value for PATH. 2021-05-01 07:16:45 -07:00
node_cache.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
pythonrc.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
queue_workers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup_path.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup_venv.py requirements: Upgrade talon fork to 1.4.8. 2021-03-18 17:10:18 -07:00
setup-apt-repo provision: Add support for debian bullseye. 2021-04-15 21:38:31 -07:00
setup-apt-repo-debathena shfmt: Reformat shell scripts with shfmt. 2020-10-15 15:16:00 -07:00
setup-apt-repo-ksplice provision: Add support for debian bullseye. 2021-04-15 21:38:31 -07:00
setup-yum-repo provision: Upgrade support for Fedora to version 33. 2021-03-22 19:34:18 -07:00
sharding.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
unpack-zulip python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
upgrade-zulip upgrade: Show fewer stacktraces. 2021-04-21 09:51:40 -07:00
upgrade-zulip-from-git upgrade: Show fewer stacktraces. 2021-04-21 09:51:40 -07:00
upgrade-zulip-stage-2 upgrade: Set an explicit value for PATH. 2021-05-01 07:16:45 -07:00
zulip_tools.py upgrade: Show fewer stacktraces. 2021-04-21 09:51:40 -07:00