zulip/tools
Steve Howell f9808d0c15 tools: Add tools/check-node-fixtures.
This makes sure out fixture data for node tests
is realistic, according to the schemas in
zerver/lib/event_schema.py.

Note that we are still in the process of extracting
schemas from test_events.py -> event_schema.py,
so the checks here are somewhat incomplete as of
now.

One nice thing is that the program will tell us
what checkers are missing, so this can motivate
us to move more checkers to event_schema.py.

I considered just making this happen as part of
tools/test-js-with-node, but it's convenient to
run by itself.  Also, it currently requires
Django (although we could fix that), which makes
it just expensive enough that I wouldn't want
to always run it before the node tests.
2020-07-26 16:07:33 -07:00
..
ci tools/ci: Fix KeyError when running tools/ci/generate-dockerfiles. 2020-07-26 16:03:35 -07:00
documentation_crawler mypy: Type simple generators as Iterator, not Iterable. 2020-06-23 11:29:54 -07:00
droplets python: Convert more "".format to Python 3.6 f-strings. 2020-06-13 15:39:00 -07:00
i18n python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
lib lint: Add DevAuthBackend to capitalized strings. 2020-07-21 13:23:58 -07:00
linter_lib help: Document process for changing organization URL. 2020-07-24 16:12:56 -07:00
node_lib tools: Add tools/check-node-fixtures. 2020-07-26 16:07:33 -07:00
setup provisioning: Use AWS CLI to automate provisioning 2020-07-24 12:40:14 -07:00
test-install test-install: Do not install rabbitmq in base install. 2020-07-06 18:53:38 -07:00
tests hash_reqs: Include python version when generating hash. 2020-07-13 13:06:15 -07:00
wsl tools: Add script to start database services for WSL. 2020-04-11 12:05:33 -07:00
zulip-export api: Remove (sender_)short_name from message APIs. 2020-07-17 11:15:14 -07:00
README.md cleanup: Delete trailing newlines. 2019-08-06 23:29:11 -07:00
__init__.py
build-docs docs: Replace Makefile based on output of newer sphinx-quickstart. 2019-12-02 18:39:33 -08:00
build-release-tarball refactor: Rename bugdown to markdown in misc. files. 2020-06-29 15:10:39 -07:00
cache-zulip-git-version version: Only let `git describe` match tags beginning with a digit. 2019-10-24 14:54:45 -07:00
check-capitalization python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
check-frontend-i18n python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
check-issue-labels check-issue-labels: Fix configparser import. 2020-06-24 19:26:02 -07:00
check-node-fixtures tools: Add tools/check-node-fixtures. 2020-07-26 16:07:33 -07:00
check-openapi eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
check-provision python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
check-templates python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
check-thirdparty python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
clean-branches text: Fix some typos (most of them found and fixed by codespell). 2020-03-27 17:25:56 -07:00
clean-repo
commit-message-lint docs: Use consistent spelling of CircleCI. 2020-04-28 11:26:58 -07:00
commit-msg Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
conf.ini-template
coveragerc validator: Remove unused type_structure system. 2020-06-23 16:30:17 -07:00
create-test-api-docs python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
debug-require-webpack-plugin.ts eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
debug-require.js webpack: Generalize debug-require-webpack-plugin interface. 2020-02-25 14:01:06 -08:00
deploy-branch Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
diagnose python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
documentation.vnufilter requirements: Upgrade Python requirements. 2020-06-25 13:14:37 -07:00
duplicate_commits.json tools: Move duplicate_commits.json file to tools directory. 2020-04-07 16:06:29 -07:00
fetch-contributor-data team: Include users without an associated GitHub profile. 2020-07-24 10:51:47 -07:00
fetch-pull-request tools: Use require_clean_work_tree everywhere. 2020-04-06 17:52:10 -07:00
fetch-rebase-pull-request tools: Use require_clean_work_tree everywhere. 2020-04-06 17:52:10 -07:00
find-unused-css tools: Convert fix-unused-css to look at zulip.scss. 2020-04-21 14:12:57 -07:00
generate-integration-docs-screenshot database: Remove short_name from UserProfile. 2020-07-17 11:15:15 -07:00
lint lint: Use Prettier for JSON files. 2020-07-24 09:42:56 -07:00
message-screenshot.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
pre-commit lint: Add --skip arg to replace --no-gitlint/mypy. 2019-06-18 11:32:04 -07:00
pretty-print-html python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
provision ci: Remove the need of using TRAVIS in env. 2020-04-21 14:46:40 -07:00
push-to-pull-request reset-to-pull-request: Add a usage message. 2020-02-11 14:45:17 -08:00
rebuild-dev-database terminate-psql-sessions: Rely on the caller to set PGHOST, PGUSER. 2020-06-15 21:37:14 -07:00
rebuild-test-database terminate-psql-sessions: Rely on the caller to set PGHOST, PGUSER. 2020-06-15 21:37:14 -07:00
release-tarball-exclude.txt tests: Move zerver/fixtures to zerver/tests/fixtures for clarity. 2018-04-19 21:50:17 -07:00
renumber-migrations renumber-migrations: Skip migration 0261. 2020-06-18 15:42:57 -07:00
reset-to-pull-request tools: Use require_clean_work_tree everywhere. 2020-04-06 17:52:10 -07:00
review python: Convert more percent formatting to Python 3.6 f-strings. 2020-06-14 23:27:22 -07:00
run-dev.py zthumbor: Rename thumbor.conf to thumbor_settings.py. 2020-07-06 18:44:58 -07:00
run-mypy python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
run-tsc tsconfig: Move to top level. 2019-11-04 18:12:11 -08:00
run-yarn-deduplicate yarn.lock: Share duplicate packages with yarn-deduplicate. 2019-09-02 19:30:09 -07:00
semgrep.yml lint: Reformat YAML files with Prettier. 2020-07-14 16:25:31 -07:00
setup-git-repo Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
show-profile-results python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
stop-run-dev python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test-all tests: Make puppeteer tests run in full suites and CircleCI. 2020-06-03 17:39:35 -07:00
test-api database: Remove short_name from UserProfile. 2020-07-17 11:15:15 -07:00
test-backend tests: Remove slow tests detection. 2020-06-30 23:34:53 -07:00
test-documentation test-documentation: Invoke sphinx-build via make instead of directly. 2019-12-02 18:39:33 -08:00
test-help-documentation python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test-js-with-casper
test-js-with-node recent_topics: Support arrow key navigation. 2020-06-20 22:50:47 -07:00
test-js-with-puppeteer puppeteer: Improve --interactive option for test-js-with-puppeteer. 2020-06-17 15:24:14 -07:00
test-locked-requirements python: Fix misuse of Optional types for optional parameters. 2020-06-13 15:31:27 -07:00
test-migrations requirements: Update Python requirements. 2020-06-03 17:23:20 -07:00
test-queue-worker-reload python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test-run-dev python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test-tools python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
update-locked-requirements requirements: Upgrade Thumbor to 7.0.0a5 on Python 3. 2020-07-06 16:09:53 -07:00
update-prod-static python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
update-zuliprc-api-field python: Convert percent formatting to Python 3.6 f-strings. 2020-06-10 15:02:09 -07:00
webpack python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
webpack-helpers.ts eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
webpack.assets.json lint: Format JSON files with Prettier. 2020-07-24 09:42:56 -07:00
webpack.config.ts eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
zanitizer docs: Avoid hardcoded /tmp paths in miscellaneous documentation. 2019-01-15 16:16:12 -08:00
zanitizer_config.pm.sample zanitizer_config.pm.sample: keep_file → scrub_filename 2018-09-23 20:42:27 -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.