zulip/scripts
Anders Kaseorg cd485ef162 ruff: Partially reformat Python with Ruff 0.9 (2025 style).
These are the changes that are backwards compatible with the 2024
style.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 653b0b0436)
2025-03-17 14:10:29 -07:00
..
lib ruff: Partially reformat Python with Ruff 0.9 (2025 style). 2025-03-17 14:10:29 -07:00
nagios ruff: Fix PLC0206 Extracting value from dictionary without calling .items(). 2025-01-07 09:31:11 -08:00
setup apt-repos: Use PGroonga binaries on Ubuntu 24.04. 2024-09-11 11:04:31 -07:00
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
get-django-setting python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
log-search python: Simplify with str.removeprefix, str.removesuffix. 2025-03-17 14:10:29 -07:00
purge-old-deployments ruff: Partially reformat Python with Ruff 0.9 (2025 style). 2025-03-17 14:10:29 -07:00
README.md docs: Apply bullet style changes from Prettier. 2021-09-08 12:06:24 -07:00
refresh-sharding-and-restart sharding: Configure Tornado sharding with nginx map. 2022-09-15 16:07:50 -07:00
reload-clients reload-clients: Log how many reload events were actually sent. 2024-03-01 09:31:20 -08:00
restart-server management: Disable Sentry for management commands run interactively. 2024-05-24 10:30:16 -07:00
start-server scripts: Add a start-server as well. 2021-04-21 10:24:08 -07:00
stop-server start-server/restart-server: Drop privileges if necessary. 2024-02-07 12:33:00 -08:00
upgrade-zulip upgrade: Modify upgrade scripts to handle failure. 2021-06-23 08:42:20 -07:00
upgrade-zulip-from-git upgrade: Modify upgrade scripts to handle failure. 2021-06-23 08:42:20 -07:00
zulip-puppet-apply ruff: Fix SIM115 Use a context manager for opening files. 2024-11-21 10:28:36 -08:00

This directory contains scripts that:

  • Generally do not require access to Django or the database (those are "management commands"), and thus are suitable to run operationally.

  • Are useful for managing a production deployment of Zulip (many are also used in a Zulip development environment, though development-only scripts live in tools/).

For more details, see https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.