zulip/tools
Josh Klar 3a0620a40c tools: Reimplement CI failure script without using CircleCI endpoint.
Using curl to POST to the CircleCI workflow endpoint on CZO:

- Doesn't work on zulip/zulip@main (CZO runs a revert)
- Sets a bad example for other orgs
- Robs us of an opportunity to dogfood our own zulip/github-actions-zulip

Refactor the Actions workflows in this repo to report failure states
using the Zulip Action, and reimplement the related helper scripts in
Python, since they'd previously mostly shelled out to Python anyway.
2022-12-05 14:33:15 -05:00
..
ci tools: Reimplement CI failure script without using CircleCI endpoint. 2022-12-05 14:33:15 -05:00
documentation_crawler tools: Remove obsolete `_set_error_state` method in linter spider. 2022-11-09 11:54:19 -08:00
droplets droplets: Add a tool to clean up old hostnames in DNS. 2022-04-28 11:30:47 -07:00
i18n python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
lib ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
linter_lib custom_check: Remove exclusions for comment annotations check. 2022-11-18 10:08:24 -08:00
node_lib
oneclickapps oneclick: Wait in a loop until the image build droplet gets an IP. 2022-11-18 12:45:08 -08:00
setup emoji: Import modules relative to ZULIP_PATH. 2022-12-04 22:11:24 -08:00
test-install install: Support Ubuntu 22.04. 2022-02-25 14:49:07 -08:00
tests ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
wsl
zulip-export python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
README.md
__init__.py
build-docs tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
build-release-tarball release: Support -rc1 style suffixes for releases. 2022-11-15 12:50:41 -08:00
cache-zulip-git-version build-release-tarball: Override merge-base for full official releases. 2022-11-15 12:50:41 -08:00
check-capitalization tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
check-frontend-i18n docs: Capitalize Handlebars consistently. 2022-06-27 13:35:10 -07:00
check-issue-labels docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
check-openapi dependencies: Upgrade Prettier to 3.0.0-alpha.4. 2022-11-02 16:50:37 -07:00
check-provision tools: Rename force argument to skip-provision-check 2021-03-03 09:17:49 -08:00
check-schemas check_schema: Ignore operation field in schema validation for openapi. 2021-03-22 23:45:42 -07:00
check-templates template_parser: Spell “Handlebars” correctly. 2022-09-09 00:34:36 -07:00
check-thirdparty check-thirdparty: License under GPLv2+. 2022-06-26 17:33:11 -07:00
clean-branches Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
commit-message-lint commit-message-lint: Take release branches into account. 2022-07-22 10:39:05 -07:00
commit-msg requirements: Install gitlint from its Debian package. 2021-09-17 17:05:18 -07:00
conf.ini-template
coveragerc ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
create-test-api-docs python: Remove locally dead code. 2021-08-19 01:51:37 -07:00
debug-require-webpack-plugin.ts debug-require-webpack-plugin: Handle missing chunkGraph. 2021-10-17 07:15:09 -07:00
debug-require.js webpack: Upgrade to Webpack 5. 2021-09-14 17:02:03 -07:00
deploy-branch Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
diagnose provision: Avoid distutils; keep PROVISION_VERSION as a tuple. 2022-07-20 22:03:30 -07:00
documentation.vnufilter dependencies: Upgrade JavaScript dependencies. 2022-10-11 10:50:57 -07:00
duplicate_commits.json
fetch-contributor-data python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
fetch-pull-request tools: Avoid `readlink -f` in *-pull-request scripts. 2021-04-30 14:57:13 -07:00
fetch-rebase-pull-request Rename default branch to ‘main’. 2021-09-06 12:56:35 -07:00
find-unused-css
generate-integration-docs-screenshot actions: Split out zerver.actions.create_user. 2022-04-14 17:14:35 -07:00
lint ruff: Enable import sorting, replacing isort. 2022-11-16 09:29:11 -08:00
message-screenshot.js tools: Add support for generating integration screenshots remotely. 2021-04-19 10:44:43 -07:00
pre-commit tools: Rename force argument to skip-provision-check 2021-03-03 09:17:49 -08:00
provision docs: Rename setup-vagrant.md -> setup-recommended.md. 2022-09-15 15:54:14 -07:00
push-to-pull-request scripts: Pass --retry 3 to curl. 2022-11-08 08:07:36 -08:00
rebuild-dev-database
rebuild-test-database
release release: Support -rc1 style suffixes for releases. 2022-11-15 12:50:41 -08:00
release-tarball-exclude.txt
renumber-migrations python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
reset-to-pull-request tools: Avoid `readlink -f` in *-pull-request scripts. 2021-04-30 14:57:13 -07:00
review python: Use Python 3.8 shlex.join function. 2022-04-27 12:57:49 -07:00
run-codespell run-codespell: Update codespell exclude list. 2022-08-30 17:36:21 -07:00
run-dev.py mypy: Enable local_partial_types. 2022-07-06 17:33:13 -07:00
run-mypy tools: Support running mypy daemon for better performance. 2022-07-06 17:33:13 -07:00
run-tsc
run-yarn-deduplicate
semgrep.yml ruff: Enable some new errors. 2022-12-04 22:11:24 -08:00
setup-git-repo
show-profile-results python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
stop-run-dev python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tail-ses ruff: Fix B011 Do not `assert False` (`python -O` removes these calls). 2022-11-03 12:10:15 -07:00
test-all test-all: Pass --skip-external-links to documentation tests. 2022-03-07 11:54:01 -08:00
test-api actions: Split out zerver.actions.realm_settings. 2022-04-14 17:14:37 -07:00
test-backend email_notifications: Complete test coverage for module. 2022-08-25 13:04:51 -07:00
test-documentation
test-help-documentation tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
test-js-with-node list_widget: Add functions to add and remove a rendered item in the list. 2022-11-08 13:27:48 -08:00
test-js-with-puppeteer python: Use Python 3.8 shlex.join function. 2022-04-27 12:57:49 -07:00
test-locked-requirements test-locked-requirements: Rename may_be_setup_cache to maybe_set_up_cache. 2022-01-12 13:21:35 -08:00
test-migrations requirements: Upgrade Python requirements. 2021-04-15 21:47:33 -07:00
test-queue-worker-reload actions: Delete zerver.lib.actions. 2022-04-14 17:14:38 -07:00
test-run-dev test-run-dev: Fix log file opening. 2021-08-02 15:53:52 -07:00
test-tools tools: Use root-based absolute import for tools.lib, etc. 2021-07-05 12:21:52 -07:00
total-contributions tools: Update source repos in total-contributions. 2022-10-31 16:27:31 -07:00
update-locked-requirements requirements: Remove unused mypy.txt lock file. 2022-09-08 11:08:06 -07:00
update-prod-static computed_settings: Set STATICFILES_DIRS to an existing absolute path. 2022-08-26 15:55:59 -07:00
update-zuliprc-api-field python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
upload-release upload: Replace boto3.Session with boto3.session.Session. 2022-07-30 06:46:34 -07:00
webpack webpack: Increase Node.js heap size on low-memory systems. 2021-09-22 16:01:01 -07:00
webpack.assets.json portico: Add page to list open organizations. 2022-08-30 16:02:06 -07:00
webpack.dev-assets.json development: Add CSS file for emails page in dev server. 2022-11-30 17:35:22 -08:00
zanitizer zanitizer: Reformat with perltidy. 2021-03-24 12:12:04 -07:00
zanitizer_config.pm.sample zanitizer: Reformat with perltidy. 2021-03-24 12:12:04 -07:00

README.md

This directory contains scripts that are used in building, managing, testing, and other forms of work in a Zulip development environment. Note that tools that are also useful in production belong in scripts/ or should be Django management commands.

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