zulip/tools
Jason Michalski a22d6d2c2a test-backend: Enable test coverage in multi-process mode.
We enable data_suffix option when creating Coverage instances which
causes the output files to include the hostname, pid, and random id.
Before each run erase is called which clears all existing coverage data
files. And then at the end of the test run use the combine method which
merges the reports.

We collect coverage in the main process which collects data from
imports and also when running in single process mode. In the workers we
collect coverage in run_subsuite. This creates more stats files than
strictly required but I don't see a better place to save the stats when
stopping workers.

Note that this has the side effect of enabling parallel testing in
Travis CI.
2017-05-23 18:25:13 -07:00
..
deprecated api: Rename get_old_messages to get_messages in the backend. 2017-03-23 23:52:44 -07:00
documentation_crawler pep8: Add compliance with rule E261 to check_help_documentation.py. 2017-05-07 23:21:50 -07:00
lib mypy: Add type to info dictionary. 2017-05-22 11:19:06 -07:00
print-all lint: Remove old jslint linter. 2016-12-02 18:49:42 -08:00
setup Fix emoji cache setup when not using provision.py. 2017-05-22 11:08:43 -07:00
tests pep8: Add compliance with rule E261 to test_template_parser.py. 2017-05-07 23:21:50 -07:00
travis Rename tools/lint-all to tools/lint. 2017-04-21 14:57:47 -07:00
zulip-export message: Remove unused old gravatar_hash field from message dicts. 2017-05-09 22:33:27 -07:00
README.md docs: Add README.md files for scripts/ and tools/. 2017-01-17 11:01:27 -08:00
__init__.py
build-api-tarball Always start python via shebang lines. 2016-11-26 14:46:37 -08:00
build-deb
build-release-tarball build-release-tarball: Error on uncommitted changes. 2017-03-10 11:49:49 -08:00
check-capitalization tools/check-capitalization: Make error messages more clear. 2017-03-10 10:51:01 -08:00
check-css linter: Add support for automatic checking for 4 space indents in CSS. 2017-03-21 13:40:05 -07:00
check-issue-labels Add tool for scanning issues without area labels. 2017-02-03 09:59:35 -08:00
check-provision lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
check-py3
check-templates Remove unnecessary ignore files. 2017-05-15 11:51:21 -07:00
check-urls Fix several new errors caught by mypy 0.501. 2017-03-03 14:12:52 -08:00
clean-branches
clean-repo
clean-venv-cache
commit-message-lint lint: Fix gitlint checking commits in master but not in the branch. 2017-04-25 16:52:52 -07:00
commit-msg lint: Add checks for commit messages using gitlint. 2017-04-21 13:45:12 -07:00
compile-handlebars-templates pep8: Add compliance with rule E261 to compile-handlebars-templates. 2017-05-18 03:00:32 +05:30
conf.ini-template Add tool for scanning issues without area labels. 2017-02-03 09:59:35 -08:00
coveragerc coverage: Don't require test coverage for __unicode__ methods. 2017-03-14 17:07:18 -07:00
create-test-api-docs pep8: Add compliance with rule E261 to create-test-api-docs. 2017-05-18 03:00:32 +05:30
deploy-branch
deployment-lock-ctl
diagnose tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
django-template-graph
do-destroy-rebuild-database Always start python via shebang lines. 2016-11-26 14:46:37 -08:00
do-destroy-rebuild-test-database
fetch-rebase-pull-request git tools: Make error messages more clear. 2017-05-08 10:51:59 -07:00
find-add-class tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
find-unused-css
get-handlebar-vars pep8: Add compliance with rule E261 to get-handlebar-vars. 2017-05-18 03:00:32 +05:30
html-grep pep8: Add compliance with rule E261 to html-grep. 2017-05-18 03:00:32 +05:30
install-mypy
js-dep-visualizer.py Update JS dependency configuration. 2017-05-08 22:04:56 -07:00
lint webhooks/airbrake: Use Markdown macros for documentation. 2017-05-22 18:19:14 -07:00
lister.py pep8: Add compliance with rule E261 to lister.py. 2017-05-07 23:21:50 -07:00
minify-js pep8: Add compliance with rule E261 to minify-js. 2017-05-18 03:00:32 +05:30
munge_postgres_logs.pl
pre-commit Rename tools/lint-all to tools/lint. 2017-04-21 14:57:47 -07:00
provision provision: Simplify messaging in tools/provision. 2017-01-19 14:55:22 -08:00
renumber-migrations mypy: Fix casing for List type. 2017-05-23 10:42:44 -07:00
replace-tarball-shebang pep8: Add compliance with rule E261 to replace-tarball-shebang. 2017-05-18 03:00:32 +05:30
reset-to-pull-request git tools: Make error messages more clear. 2017-05-08 10:51:59 -07:00
review python: Fix remaining bare excepts in codebase. 2017-03-05 16:17:04 -08:00
run-dev-queue-processors run-dev-queue-processors: Remove dead code. 2017-02-19 13:11:19 -08:00
run-dev.py github: Warn if GitHub settings are not filled. 2017-04-04 18:03:33 -07:00
run-graphiti
run-mypy tools/run-mypy: Add flags. 2017-05-23 12:02:57 -07:00
send_github_payloads.py
setup-git-repo lint: Add checks for commit messages using gitlint. 2017-04-21 13:45:12 -07:00
show-profile-results.py mypy: Upgrade to new package name and version 0.571. 2017-02-10 23:53:44 -08:00
start-dockers
stop_run_dev run-dev: Add pid file to development server. 2017-02-02 21:07:03 -08:00
test-all Rename tools/lint-all to tools/lint. 2017-04-21 14:57:47 -07:00
test-all-docker
test-api pep8: Add compliance with rule E261 to test-api. 2017-05-18 03:00:32 +05:30
test-backend test-backend: Enable test coverage in multi-process mode. 2017-05-23 18:25:13 -07:00
test-documentation test-documentation: Add pretty success/failure output. 2016-10-25 11:41:12 -07:00
test-help-documentation.py tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
test-js-with-casper
test-js-with-node tools: Convert test-js-with-node to Python. 2017-04-05 12:02:49 -07:00
test-migrations test-migrations: Suggest 'renumber-migrations'. 2017-04-17 20:54:47 -07:00
test-queue-worker-reload missed-emails-sending: Move email sending to separate queue worker. 2017-03-07 20:08:40 -08:00
test-run-dev tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
test-tools pep8: Add compliance with rule E261 to test-tools. 2017-05-18 03:00:32 +05:30
test_user_agent_parsing.py pep8: Add compliance with rule E261 to test_user_agent_parsing.py. 2017-05-07 23:21:50 -07:00
update-authors-json tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
update-prod-static Add typeahead for syntax highlighting languages. 2017-04-28 17:22:59 -07:00
user_agents_unique
webpack tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
webpack.config.js dev-proxy-logging: Add client ip transference to proxy server. 2016-12-21 17:18:02 +06:00
webpack.production.config.js eslint: Fix comma-dangle rules in JS support files. 2016-12-03 15:00:24 -08:00
zanitizer
zanitizer_config.pm.sample

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 http://zulip.readthedocs.io/en/latest/directory-structure.html.