zulip/tools
Aditya Bansal f7c11d1747 test_fixtures: Refactor to have template_database_status API.
In this commit we are essentially just refactoring the function
is_template_database_current to be called template_database_status
and adjusting the return values accordingly.
This is essentially a preparatory commit for the upcoming commits
which will essentially enable us to not throw away entire DB and
rebuild from scratch if only running migrations could do the job.
2018-06-06 13:37:35 -07:00
..
circleci circleci: Add a base image for Ubuntu Bionic. 2018-05-31 18:51:32 -07:00
documentation_crawler doc tests: Add portico pages to tools/test-help-documentation. 2018-04-21 21:51:32 -07:00
droplets droplets: Do shutdown command along with clear history. 2018-05-14 08:12:43 -07:00
lib test_fixtures: Refactor to have template_database_status API. 2018-06-06 13:37:35 -07:00
linter_lib lint: Check for occurrences of `.includes` except in `frontend_tests/`. 2018-06-03 14:30:22 -07:00
setup generate-fixtures: Export DJANGO_SETTINGS_MODULE=zproject.test_settings. 2018-05-23 11:32:40 +05:30
test-install test-install: Do a dist-upgrade in prepare-base. 2018-03-06 19:43:02 -08:00
tests linter: Enforce 2 space indents on tags spread over multiple lines. 2018-04-07 20:08:44 -07:00
travis tests: Disable test-queue-worker-reload test. 2018-06-05 09:24:03 -07:00
zulip-export zulip-export: Convert to using argparse from optparse. 2017-11-10 15:54:02 -08:00
README.md docs: Update links to ReadTheDocs to always use https. 2017-11-16 10:59:24 -08:00
__init__.py
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: Improve help/error output. 2017-11-16 22:19:58 -08:00
check-capitalization check-capitalization: Include banned words in overall output. 2018-03-16 16:59:02 -07:00
check-css tools: Change use of typing.Text to str. 2018-05-13 17:17:32 -07:00
check-frontend-i18n tools: Change use of typing.Text to str. 2018-05-13 17:17:32 -07:00
check-issue-labels tools: Change use of typing.Text to str. 2018-05-13 17:17:32 -07:00
check-provision check-provision: Replace optparse with argparse. 2017-09-30 09:32:46 -07:00
check-swagger lint: Ban non-unique operationIds in Swagger. 2017-06-26 22:02:26 -04:00
check-templates linter: Make duplicate html tag id detection work with archives. 2018-05-02 15:23:33 -07:00
check-urls tools: Remove print_function. 2017-09-29 15:44:56 -07:00
clean-branches tools: Update clean-branches to clean review branches. 2017-06-01 21:55:33 -07:00
clean-repo clean-repo: Revert optimization to .pyc removal. 2017-07-30 17:24:55 -07:00
commit-message-lint commit-message-list: Don't print anything if no commits. 2018-03-02 11:51:08 -08: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 Add basic widgets framework (JS side). 2018-05-16 15:13:33 -07:00
conf.ini-template
coveragerc webhooks: Add generic exception for unexpected webhook events. 2018-05-22 08:30:19 -07:00
create-test-api-docs tools: Revert to Python 2 typing syntax for now. 2017-12-13 10:38:15 -08:00
deploy-branch
deployment-lock-ctl
diagnose requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
django-template-graph
do-destroy-rebuild-database test_fixtures: Move test_db_status state under UUID_VAR_PATH. 2017-10-17 21:15:58 -07:00
do-destroy-rebuild-test-database
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: Revert to Python 2 typing syntax for now. 2017-12-13 10:38:15 -08:00
find-unused-css
generate-custom-icon-webfont Generate custom-icon-webfont on each provision or update-prod-static. 2017-11-20 16:36:49 -08:00
get-handlebar-vars tools: Revert to Python 2 typing syntax for now. 2017-12-13 10:38:15 -08:00
html-grep tools: Revert to Python 2 typing syntax for now. 2017-12-13 10:38:15 -08:00
inline-email-css Text-wrap the remaining long lines exceeding 110. 2017-11-15 10:58:03 -08:00
js-dep-visualizer.py settings: Remove obsolete default_desktop_notifications setting. 2018-04-28 13:46:07 -07:00
lint minor: Fix typo in tools/lint. 2018-05-16 13:19:28 -04:00
list-outdated-packages tools: Add tool for listing outdated pip packages. 2018-05-24 15:16:02 -07:00
lister.py mypy: Use Python 3 type syntax in tools/lister.py. 2017-12-05 16:32:18 -08:00
minify-js tools: Remove print_function. 2017-09-29 15:44:56 -07:00
munge-postgres-logs tools: Remove `.pl` extension from user script. 2017-10-11 12:52:36 -07:00
optimize-svg tools: Add optimize-svg tool for checking for unoptimized SVG files. 2017-05-30 11:15:56 -07:00
pre-commit linter: Replace --pep8 with new --frontend/--backend options. 2017-08-27 13:50:53 -07:00
pretty-print-html tools: Remove print_function. 2017-09-29 15:44:56 -07:00
provision provision: Fix unescaped reference to vagrant. 2018-05-05 10:48:37 -07:00
push-to-pull-request push-to-pull-request: Broaden one error message. 2018-06-01 16:52:18 -07:00
push-translations i18n: Retrieve mobile translations. 2018-01-29 12:49:51 -08: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 refactor: Remove six.moves.input import. 2017-11-07 10:51:44 -08:00
replace-tarball-shebang tools: Text-wrap long lines exceeding 110. 2017-11-10 16:24:09 -08:00
replacer replacer: Run as script with python 3. 2017-10-05 10:07:54 -07:00
reset-to-pull-request git tools: Make error messages more clear. 2017-05-08 10:51:59 -07:00
review tools: Remove print_function. 2017-09-29 15:44:56 -07:00
run-dev-queue-processors tools: Remove absolute_import in most tools. 2017-09-29 12:28:43 -07:00
run-dev.py test_server: Don't continuously recompile handlebars templates. 2018-05-30 20:16:06 -07:00
run-mypy mypy: Remove logic for linecoverage report. 2018-06-01 11:14:32 -07:00
send-github-payloads tests: Move zerver/fixtures to zerver/tests/fixtures for clarity. 2018-04-19 21:50:17 -07:00
setup-git-repo lint: Add checks for commit messages using gitlint. 2017-04-21 13:45:12 -07:00
show-profile-results mypy: Remove ignores for a few typeshed bugs fixed upstream. 2017-10-27 17:09:00 -07:00
start-dockers
stop-run-dev tools: Consistently use hyphen in user script names. 2017-10-11 12:52:36 -07:00
sync-translations i18n: Run process-mobile-i18n when syncing translations. 2018-03-02 08:59:00 -08:00
tagmessages translation: Make new tagmessages script a bit easier to run. 2018-02-15 13:38:09 -08:00
test-all tools/test-all: Fix small desync with CI scripts. 2018-02-01 11:38:51 -08:00
test-all-docker
test-api test-api: Add a PROVISION_VERSION --force option. 2018-04-27 17:21:12 -07:00
test-backend test_fixtures: Refactor to have template_database_status API. 2018-06-06 13:37:35 -07:00
test-documentation circleci: Skip checking links in documentation for now. 2018-01-09 10:53:13 -08:00
test-help-documentation doc tests: Add portico pages to tools/test-help-documentation. 2018-04-21 21:51:32 -07:00
test-js-with-casper
test-js-with-node Revert "node tests: Change timezone for node tests." 2018-05-25 08:52:13 -07:00
test-locked-requirements tools: Rewrite `test-locked-requirements` to be more performant. 2017-11-20 15:35:47 -08:00
test-migrations test-migrations: Add django_two_factor migrations to exclude list. 2018-05-03 12:23:25 -07:00
test-queue-worker-reload tools: Change use of typing.Text to str. 2018-05-13 17:17:32 -07:00
test-run-dev test-run-dev: Clean up some basic Python style. 2018-01-30 16:08:43 -08:00
test-tools tools: Revert to Python 2 typing syntax for now. 2017-12-13 10:38:15 -08:00
update-authors-json update-authors-json: Pretty-print output with sorted keys. 2018-06-01 16:39:04 -07:00
update-locked-requirements requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
update-prod-static update-prod-static: Don't copy/minify templates and styles. 2018-06-01 16:39:35 -07:00
webpack webpack: Add ALLOWED_HOSTS list for zulipdev.com and friends. 2018-05-20 18:12:28 -07:00
webpack.assets.json webpack: Move font and pygments CSS to common.css. 2018-05-27 23:19:40 -07:00
webpack.config.ts webpack: Use more consistent bundle naming scheme. 2018-06-03 16:49:59 -07: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 https://zulip.readthedocs.io/en/latest/overview/directory-structure.html.