zulip/tools/lib
apoorvapendse 5378464f87 provision: Source virtualenv for login shells conditionally.
This commit conditionally adds the source command for
virtualenv in the user's bash profile only when the
system is virtualized.

Checking WSL_DISTRO_NAME in the env vars
is the cheapest option in case of checking
whether the system runs as WSL VM since
it is an in memory operation.
Hence it is checked for first in `is_wsl_instace`.

Fixes #15029.
2025-01-02 09:11:43 -08:00
..
__init__.py Extract tools/lib/template_parser.py. 2016-08-01 16:27:50 -07:00
capitalization.py portico: Improve layout of /go page. 2024-12-17 23:24:00 -08:00
git-tools.bash lint: Add .bash extension for tools/lib/git-tools.bash. 2021-06-25 09:01:13 -07:00
gitlint_rules.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
html_branches.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
pretty_print.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
provision_inner.py provision: Source virtualenv for login shells conditionally. 2025-01-02 09:11:43 -08:00
provision.py upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
sanity_check.py ruff: Fix PLR1714 Consider merging multiple comparisons. 2023-07-23 15:21:33 -07:00
template_parser.py webpack: Enable explicitPartialContext for handlebars-loader. 2024-11-15 20:41:59 -08:00
test_script.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
test_server.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00