zulip/scripts/lib
Alex Vandiver ec4bfd7c78 install: Use the initially-cloned repo as the base /srv/zulip.git.
This ensures that the next `upgrade-zulip-from-git` has access to the
commit history of the initial install, if it was from a forked
repository.  `/home/zulip/deployments/current` and `/srv/zulip.git`
are not quite organized into the steady-state that they will have
after one `upgrade-zulip-from-git`:
 - `/home/zulip/deployments/current` is its own clone, not a worktree
 - `/srv/zulip.git` has an origin of `/home/zulip/deployments/current`
 - `remote.origin.mirror` is set on `/srv/zulip.git`
 - `remote.origin.fetch` is `+refs/*:refs/*`

All but the first are automatically cleaned up by
`upgrade-zulip-from-git` when it is next run, using the code added in
30457ecd02.  The additional complexity of making an existing
independent clone into a worktree seem not worth solving the first
point.
2023-06-24 07:43:04 -07:00
..
__init__.py
build-pgroonga build-pgroonga: Upgrade PGroonga from 2.3.6 to 3.0.3. 2023-05-18 11:52:22 -07: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
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
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: Use the initially-cloned repo as the base /srv/zulip.git. 2023-06-24 07:43:04 -07:00
install-node install: Use set -x when installing node, shellcheck, shfmt, tx. 2023-05-10 12:15:34 -07:00
node_cache.py node_cache: Disable pnpm update check. 2023-05-02 12:29:38 -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
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: Retry, with backoff, to connect to supervisor socket. 2023-05-12 13:14:27 -07:00
unpack-zulip
update-git-upstream upgrade-zulip-from-git: Extract code to set zulip upstream remote. 2023-04-19 16:56:14 -07:00
upgrade-zulip python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
upgrade-zulip-from-git upgrade-zulip-from-git: CWD will be the cache directory. 2023-04-24 17:19:27 -07:00
upgrade-zulip-stage-2 upgrade-zulip: The "git rev-parse" command can parse "git describe" output directly. 2023-06-24 07:43:04 -07: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 zulip_tools: Add a get_config_bool to match Puppet logic. 2023-05-11 15:54:15 -07:00