zulip/scripts/lib
Alex Vandiver 2218de0399 management: Disable Sentry for management commands run interactively.
This adds `--automated` and `--no-automated` flags to all Zulip
management commands, whose default is based on if STDIN is a TTY.
This enables cron jobs and supervisor commands to continue to report
to Sentry, and manually-run commands (when reporting to Sentry does
not provide value, since the user can see them) to not.

Note that this only applies to Zulip commands -- core Django
commands (e.g. `./manage.py`) do not grow support for `--automated`
and will always report exceptions to Sentry.

`manage.py` subcommands in the `upgrade` and `restart-server` paths
are marked as `--automated`, since those may be run semi-unattended,
and they are useful to log to Sentry.
2024-05-24 10:30:16 -07:00
..
__init__.py
build-groonga provision: Add provision support for Fedora 38. 2023-08-22 11:26:29 -07:00
build-pgroonga build-pgroonga: Upgrade PGroonga from 3.1.0 to 3.1.8. 2024-03-01 17:38:08 -08:00
check-database-compatibility check-database-compatibility: Ignore twofactor typo. 2023-08-23 22:14:26 -07:00
check_rabbitmq_queue.py push_notifications: Shard mobile push notifications. 2024-05-02 14:25:10 -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 typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07: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: Check for a supported version of the OS in shell. 2024-04-16 11:13:33 -07:00
install-node install-node: Upgrade Node.js from 20.12.0 to 20.12.2. 2024-04-25 16:46:03 -07:00
node_cache.py node_cache: Invoke pnpm via corepack. 2024-03-29 09:37:38 -07:00
puppet_cache.py Remove support for Ubuntu 20.04 and Debian 11. 2024-04-01 13:27:39 -07:00
pythonrc.py pythonrc: Add various frequently handy imports. 2024-03-27 12:49:24 -07:00
queue_workers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
setup-apt-repo apt-repos: Temporarily work around Ubuntu 24.04 non-installable gnupg. 2024-03-31 13:51:31 -07:00
setup-yum-repo provision: Add support for Fedora 34. 2021-07-20 12:10:41 -07:00
setup_path.py requirements: Upgrade Python requirements. 2024-01-29 10:41:54 -08:00
setup_venv.py docs: Fix grammar errors found by mwic. 2023-10-09 13:24:09 -07:00
sharding.py nginx: Switch from `$host` to `$http_host` for HTTP/3 compatibility. 2023-07-25 18:20:34 -04:00
supervisor.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
supported-os install: Check for a supported version of the OS in shell. 2024-04-16 11:13:33 -07:00
unpack-zulip ruff: Fix UP032 Use f-string instead of `format` call. 2023-08-02 15:58:55 -07:00
update-git-upstream upgrade-zulip-from-git: Extract code to set zulip upstream remote. 2023-04-19 16:56:14 -07:00
upgrade-zulip typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
upgrade-zulip-from-git Remove support for Ubuntu 20.04 and Debian 11. 2024-04-01 13:27:39 -07:00
upgrade-zulip-stage-2 install: Check for a supported version of the OS in shell. 2024-04-16 11:13:33 -07:00
upgrade-zulip-stage-3 management: Disable Sentry for management commands run interactively. 2024-05-24 10:30:16 -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 ruff: Fix UP036 Version block is outdated for minimum Python version. 2024-04-01 18:32:52 -07:00