zulip/tools
sinwar 3d0b5b14be provision: Avoid spending ~1.5s on compilemessages in no-op case.
This brings the total no-op provision time down to around 7.3s!

Tweaked by tabbott to clean up the code, close file descriptions, and
avoid issues with a somehow corrupted file.

Fixes #5185.
2017-07-01 11:27:54 -07:00
..
deprecated api: Rename get_old_messages to get_messages in the backend. 2017-03-23 23:52:44 -07:00
documentation_crawler docs: Fix lint/whitespace errors in GCI docs. 2017-06-22 09:30:28 -04:00
lib provision: Avoid spending ~1.5s on compilemessages in no-op case. 2017-07-01 11:27:54 -07:00
linter_lib Revert "lint: Don't allow handlerbars within translatable text." 2017-06-30 10:12:31 -04:00
print-all python: Replace os.system with subprocess.call. 2017-05-26 15:03:16 -07:00
setup build_emoji: Close open file objects after reading. 2017-07-01 11:14:24 -07:00
tests linter: Fix bug resulting in <pre> being indented cyclically. 2017-06-13 08:39:59 -04:00
travis lint: Disallow handlebars within {{#tr}}{{/tr}}. 2017-06-30 10:12:31 -04: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 Add __init__.py to tools/ and tools/setup/. 2016-07-20 18:20:37 -07:00
build-deb Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
build-docs tools: Add wrapper tool 'build-docs' for building documentation. 2017-06-14 20:16:02 -07:00
build-release-tarball build-release-tarball: Give helpful message on update-prod-static failure. 2017-05-24 19:17:00 -07:00
check-capitalization tools/check-capitalization: Make error messages more clear. 2017-03-10 10:51:01 -08:00
check-css python: Replace os.system with subprocess.call. 2017-05-26 15:03:16 -07:00
check-frontend-i18n lint: Disallow handlebars within {{#tr}}{{/tr}}. 2017-06-30 10:12:31 -04: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-py3: Display git status --porcelain output. 2016-05-12 16:30:58 -07:00
check-swagger lint: Ban non-unique operationIds in Swagger. 2017-06-26 22:02:26 -04:00
check-templates integrations/codebase.html: Migrate to Markdown. 2017-06-13 16:32:00 -07:00
check-urls Fix several new errors caught by mypy 0.501. 2017-03-03 14:12:52 -08:00
clean-branches tools: Update clean-branches to clean review branches. 2017-06-01 21:55:33 -07:00
clean-emoji-cache tooling: Add tool to clear unused emoji cache. 2017-06-22 19:17:12 -04:00
clean-npm-cache tooling: Add tool to clean unused NPM cache. 2017-06-19 07:55:23 -04:00
clean-repo Remove __pycache__ in tools/clean-repo. 2016-05-24 13:43:49 -07:00
clean-venv-cache clean-venv-cache: Fix python 3 compatibility. 2016-06-27 20:39:22 -07:00
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: Check if commit message is not empty before running gitlint. 2017-06-25 11:29:14 -04: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: Omit some test runner files from coverage. 2017-05-29 15:30:49 -07:00
create-test-api-docs Fix errors in create-test-api-docs. 2017-06-27 08:56:39 -04:00
deploy-branch Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
deployment-lock-ctl Improve shell quoting hygiene 2015-09-25 23:25:08 -04:00
diagnose tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
django-template-graph Add support for running OpenBSD in development environment. 2016-01-21 22:33:55 -08:00
do-destroy-rebuild-database provision: Don't regenerate dev database unnecessarily. 2017-06-02 13:27:34 -07:00
do-destroy-rebuild-test-database Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
fetch-pull-request tools: Add script to see PRs as authors intended. 2017-06-01 21:55:08 -07:00
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 Add hackish tool for finding unused CSS. 2016-04-01 09:34:46 -07:00
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 Move mypy requirements to requirements/ directory. 2016-06-18 16:41:40 -07:00
js-dep-visualizer.py pep8: Add compliance with rule E261 tools/js-dep-visualizer.py. 2017-05-31 17:07:15 -07:00
lint Extract tools/linter_lib/pep8.py 2017-06-05 09:20:21 -07:00
lister.py pep8: Add compliance with rule E261 to lister.py. 2017-05-07 23:21:50 -07:00
minify-js Remove webpack dependency from tools/minify-js. 2017-05-25 16:15:32 -07:00
munge_postgres_logs.pl
optimize-svg tools: Add optimize-svg tool for checking for unoptimized SVG files. 2017-05-30 11:15:56 -07:00
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 replace-tarball-shebang. 2017-06-04 15:06:12 +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 webpack: Add --minify option to run-dev.py for to test minification. 2017-06-13 12:45:40 -07:00
run-graphiti [manual] Rename /home/humbug to /home/zulip. 2013-10-08 08:57:29 -04:00
run-mypy repository: Update information with Codecov migration. 2017-06-20 07:17:39 -04:00
send_github_payloads.py Change shebangs from python2.7 to python. 2016-05-29 05:03:08 -07:00
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 Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
stop_run_dev run-dev: Add pid file to development server. 2017-02-02 21:07:03 -08:00
test-all test-all: Don't run SVG optimizer by default. 2017-05-30 11:19:53 -07:00
test-all-docker Move docker development environment scripts to tools/. 2016-06-27 13:38:06 -07:00
test-api pep8: Add compliance with rule E261 to test-api. 2017-05-18 03:00:32 +05:30
test-backend testing: Fix search key. 2017-06-20 08:35:07 -04:00
test-documentation tools: Add wrapper tool 'build-docs' for building documentation. 2017-06-14 20:16:02 -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 casper: Rename frontend_tests/run to clarify it uses casper. 2015-10-28 10:11:47 -07:00
test-js-with-node node tests: Add 100% coverage for channel.js. 2017-06-30 09:48:04 -04: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 update-prod-static: Add code to copy CSS from node_modules 2017-06-11 10:15:48 -07:00
user_agents_unique Kill Embed.ly integration. 2015-08-20 19:46:48 -07:00
webpack webpack: Add --minify option to run-dev.py for to test minification. 2017-06-13 12:45:40 -07:00
webpack.assets.json webpack: Use `common.js` to inject webpack dependencies in dev. 2017-06-22 19:06:32 -04:00
webpack.config.js webpack: Migrate `common.js` bundle to webpack. 2017-06-22 19:06:32 -04:00
webpack.dev.config.js webpack: Use `common.js` to inject webpack dependencies in dev. 2017-06-22 19:06:32 -04:00
webpack.production.config.js Build and handle jsfiles using webpack instead of django-pipeline. 2017-05-24 18:38:03 -07:00
zanitizer zanitizer: Remove -- argument that confuses some Git verisons 2015-09-25 00:46:00 -07:00
zanitizer_config.pm.sample zanitizer: Support renaming files 2015-09-24 18:10:02 -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 http://zulip.readthedocs.io/en/latest/directory-structure.html.