zulip/tools
Steve Howell dc1795a3da node tests: Find files in Python.
The code to run single files was added
in c15695e514,
and it's just kinda strange code.

We already do a lot of file logic in Python
to check for line-coverage, so it's easier
to just have all the logic in Python.

This adds a new feature--you can now specify
the actual file:

    ./tools/test-js-with-node frontend_tests/node_tests/people.js

(This is helpful if you just want to use
shell autocomplete.)

Another minor change is that if you specify
individual files, we won't sort them.  This is
important when you're trying to hunt down test
leaks.

Finally, we have a nicer message if we can't find
the file.
2020-09-03 07:57:58 -04:00
..
ci casper: Remove few traces of casper. 2020-08-30 17:16:02 -07:00
documentation_crawler mypy: Type simple generators as Iterator, not Iterable. 2020-06-23 11:29:54 -07:00
droplets python: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -07:00
i18n python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
lib provision: Convert "".format to Python 3.6 f-strings. 2020-09-02 17:27:14 -07:00
linter_lib python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
node_lib js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -07:00
setup python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
test-install memcached: Switch from pylibmc to python-binary-memcached. 2020-08-06 12:51:14 -07:00
tests test_hash_reqs: Use mock from unittest. 2020-09-02 11:26:12 -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 docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -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: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -07:00
check-frontend-i18n python: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -07:00
check-issue-labels python: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -07:00
check-node-fixtures minor: Improve error message for check-node-fixtures. 2020-08-14 10:40:29 -04:00
check-openapi js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
check-provision python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
check-templates docs: Update many references to Casper. 2020-08-30 17:16:02 -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: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
debug-require-webpack-plugin.ts debug-require: Throw errors for unknown and unloaded modules. 2020-07-29 11:17:24 -07:00
debug-require.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07: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 python: Catch JSONDecodeError instead of ValueError when decoding JSON. 2020-08-12 11:59:59 -07:00
lint python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
message-screenshot.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -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 provision: Check for old Ubuntu or Python before starting Python. 2020-09-02 17:27:14 -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
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 python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
run-mypy python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -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 casper: Remove few traces of casper. 2020-08-30 17:16:02 -07:00
test-api python: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -07:00
test-backend python: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -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: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
test-js-with-node node tests: Find files in Python. 2020-09-03 07:57:58 -04:00
test-js-with-puppeteer python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
test-locked-requirements python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -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: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -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: Remove redundant dest for argparse arguments. 2020-09-02 11:04:10 -07:00
webpack.assets.json js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -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.