zulip/tools
Anders Kaseorg c93f53b463 test-all: Fix shellcheck warnings.
In tools/test-all line 7:
TEMP=`getopt -o f --long force -- "$@"`
     ^-- SC2006: Use $(..) instead of legacy `..`.

In tools/test-all line 24:
    echo "Running $@"
                  ^-- SC2145: Argument mixes string and array. Use * or separate argument.

In tools/test-all line 26:
        printf "\n\e[31;1mFAILED\e[0m $@\n"
               ^-- SC2059: Don't use variables in the printf format string. Use printf "..%s.." "$foo".
                ^-- SC1117: Backslash is literal in "\n". Prefer explicit escaping: "\\n".
                  ^-- SC1117: Backslash is literal in "\e". Prefer explicit escaping: "\\e".
                                ^-- SC1117: Backslash is literal in "\e". Prefer explicit escaping: "\\e".
                                      ^-- SC2145: Argument mixes string and array. Use * or separate argument.
                                        ^-- SC1117: Backslash is literal in "\n". Prefer explicit escaping: "\\n".

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-08-03 09:15:27 -07:00
..
circleci circleci: Add a base image for Ubuntu Bionic. 2018-05-31 18:51:32 -07:00
documentation_crawler Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
droplets droplets: Do shutdown command along with clear history. 2018-05-14 08:12:43 -07:00
lib tools/lib/provision.py: Avoid shelling out for mkdir, touch. 2018-07-25 16:54:46 -07:00
linter_lib lint: Exclude frontend_tests/node_tests from $().text rule. 2018-07-20 12:13:56 -07:00
setup generate-test-credentials: Fix shellcheck warnings. 2018-08-03 09:15:27 -07:00
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 search: Duplicate HTML template content for search area. 2018-07-23 11:29:10 -07:00
check-urls Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02: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 scripts: Use shell quoting when displaying commands to be run. 2018-07-30 22:39:08 -07:00
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 do-destroy-rebuild-test-database: Fix shellcheck warnings. 2018-08-03 09:15:26 -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 fetch-rebase-pull-request: Fix shellcheck warnings. 2018-08-03 09:15:26 -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 find-unused-css: Fix shellcheck warnings. 2018-08-03 09:15:26 -07:00
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 Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02: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 Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
lint stylelint: Start using stylelint to lint our css. 2018-07-25 15:03:35 -07: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 pointless uses of shell=True. 2018-07-30 22:39:06 -07:00
munge-postgres-logs tools: Remove `.pl` extension from user script. 2017-10-11 12:52:36 -07:00
optimize-svg optimize-svg: Fix shellcheck warnings. 2018-08-03 09:15:27 -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 shellcheck warnings. 2018-08-03 09:15:27 -07:00
push-to-pull-request push-to-pull-request: Fix shell usage in an error path. 2018-07-23 23:19:27 -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 tools: Only files starting with same migration number conflict. 2018-07-10 21:09:34 +05:30
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 reset-to-pull-request: Fix shellcheck warnings. 2018-08-03 09:15:27 -07:00
review tools/review: Don’t pretend to emulate shell=True either. 2018-07-30 22:39:08 -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: Add a place to put type stubs. 2018-07-12 14:10:09 +05:30
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 start-dockers: Fix shellcheck warnings. 2018-08-03 09:15:27 -07:00
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 test-all: Fix shellcheck warnings. 2018-08-03 09:15:27 -07:00
test-all-docker
test-api test-api: Pass non-admin client to the test helpers. 2018-07-11 23:54:00 +05:30
test-backend import: Add gitter import file in zerver/data_import directory. 2018-08-01 11:52:14 -07:00
test-documentation circleci: Skip checking links in documentation for now. 2018-01-09 10:53:13 -08:00
test-emoji-name-scripts tools/test-emoji-name-scripts: Avoid shelling out for cp. 2018-07-19 10:43:37 -07:00
test-help-documentation tools/test-help-documentation: Avoid shelling out for mkdir. 2018-07-19 10:43:37 -07:00
test-js-with-casper
test-js-with-node Extract search_util.js module. 2018-07-30 11:25:32 -07:00
test-locked-requirements tools/test-locked-requirements: Avoid shelling out for cp, mkdir. 2018-07-25 16:54:46 -07: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/test-queue-worker-reload: Avoid shelling out for touch. 2018-07-25 16:54:46 -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 tools/update-authors-json: Avoid shelling out for cp. 2018-07-19 10:43:37 -07:00
update-locked-requirements requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
update-prod-static simplebar: Add simplebar dependency for help page scrolling. 2018-07-11 20:04:55 +05:30
webpack webpack: Add ALLOWED_HOSTS list for zulipdev.com and friends. 2018-05-20 18:12:28 -07:00
webpack-helpers.ts webpack: Transition app.js to be compiled by webpack. 2018-07-05 11:03:08 +02:00
webpack.assets.json Revert "webpack: Combine archive-style bundle into archive." 2018-07-24 16:00:26 -07:00
webpack.config.ts simplebar: Add simplebar dependency for help page scrolling. 2018-07-11 20:04:55 +05:30
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.