zulip/scripts/lib
Anders Kaseorg 126f3b5f47 node_cache: Work around pnpm install issue in Docker for Mac.
On Docker for Mac with the gRPC FUSE or VirtioFS file sharing
implementations, we nondeterministically get errors like this from
pnpm install:

    pnpm: ENOENT: no such file or directory, copyfile '/srv/zulip/.pnpm-store/v3/files/7d/6b44bb658625281b48194e5a3d3a07452bea1f256506dd16f7a21941ef3f0d259e1bcd0cc6202642bf1fd129bc187e6a3921d382d568d312bd83f3023979a0' -> '/srv/zulip/node_modules/.pnpm/regexpu-core@5.3.2/node_modules/_tmp_3227_7f867a9c510832f5f82601784e21e7be/LICENSE-MIT.txt'

    Subcommand of ./lib/provision.py failed with exit status 1: /usr/local/bin/pnpm install --frozen-lockfile
    Actual error output for the subcommand is just above this.

Work around this using --package-import-method=copy.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-03-21 19:52:17 -07:00
..
__init__.py
build-pgroonga scripts: Pass --retry 3 to curl. 2022-11-08 08:07:36 -08:00
check-database-compatibility check-database-compatibility: Drop .py from script name. 2023-03-03 18:02:37 -08:00
check_rabbitmq_queue.py python: Use ‘not in’ for negated membership tests 2022-09-17 11:48:33 -07:00
clean_emoji_cache.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
clean_node_cache.py dependencies: Switch to pnpm. 2023-03-20 15:48:29 -07:00
clean_unused_caches.py dependencies: Switch to pnpm. 2023-03-20 15:48:29 -07:00
clean_venv_cache.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
create-production-venv python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
email-mirror-postfix ruff: Fix RUF004 exit() is only available in the interpreter. 2022-12-04 22:11:24 -08:00
fix-standalone-certbot puppet: Fix standalone certbot configurations. 2022-01-24 12:13:44 -08:00
hash_reqs.py python: Convert last type comments to annotations. 2022-03-24 20:32:39 -07:00
install install-node: Upgrade Node.js to 18.14.0; manage Yarn with Corepack. 2023-02-09 15:50:47 -08:00
install-node dependencies: Switch to pnpm. 2023-03-20 15:48:29 -07:00
node_cache.py node_cache: Work around pnpm install issue in Docker for Mac. 2023-03-21 19:52:17 -07:00
puppet_cache.py puppet: Pin with sha256sum verification. 2023-02-28 00:04:39 -05:00
pythonrc.py ruff: Fix M001 Unused `noqa` directive. 2022-11-03 12:10:15 -07:00
queue_workers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup-apt-repo setup-apt-repo: Make hashes file not contain full path. 2022-03-12 17:24:19 -08:00
setup-yum-repo provision: Add support for Fedora 34. 2021-07-20 12:10:41 -07:00
setup_path.py ruff: Enable new lints DTZ, ISC, PIE, PLW, Q, S, SIM. 2023-01-04 16:25:07 -08:00
setup_venv.py install-node: Upgrade Node.js to 18.14.0; manage Yarn with Corepack. 2023-02-09 15:50:47 -08:00
sharding.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
supervisor.py supervisor: 'foo:*' also matches 'foo'. 2022-03-31 10:41:41 -07:00
unpack-zulip python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
upgrade-zulip python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
upgrade-zulip-from-git upgrade-zulip: Print the old and new versions during upgrades. 2023-02-10 15:53:10 -08:00
upgrade-zulip-stage-2 check-database-compatibility: Drop .py from script name. 2023-03-03 18:02:37 -08:00
warn-rabbitmq-nodename-change puppet: Always set the RabbitMQ nodename to zulip@localhost. 2022-01-25 01:48:02 +00:00
zulip_tools.py dependencies: Switch to pnpm. 2023-03-20 15:48:29 -07:00