zulip/tools/lib
Aditya Bansal 1205e02c64 provisioning: Don't rebuild DB if running migrations is sufficient.
This results in a significant optimization in the performance of
re-provisioning Zulip if all that you're doing is rebasing onto a
newer version of master (which just adds new migrations).

The change carries some risk of generating unpleasant-to-debug
situations, because if we merge a buggy migration and then later fix
it, some clients may not have a properly migrated database (and also,
this changes how populate_db commutes with migrations).  But it seems
worth it, given how much time is currently wasted by not having this.

Fixes: #9512.
2018-06-06 13:43:59 -07:00
..
__init__.py
capitalization.py emails: Move user role logic for followup_day1 to notifications.py. 2018-05-26 07:29:58 -07:00
css_parser.py mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -07:00
find_add_class.py lint: Exempt "opts." from addClass checks. 2018-04-26 08:42:47 -07:00
gitlint-rules.py lint: Allow revert commit messages in gitlint. 2018-02-13 09:21:01 -08:00
graph.py Remove inheritance from object. 2017-11-06 08:53:48 -08:00
html_branches.py Remove inheritance from object. 2017-11-06 08:53:48 -08:00
html_grep.py Remove inheritance from object. 2017-11-06 08:53:48 -08:00
pretty_print.py linter: Fix issue with check-templates output. 2018-05-24 12:42:32 -07:00
provision.py provisioning: Don't rebuild DB if running migrations is sufficient. 2018-06-06 13:43:59 -07:00
sanity_check.py tools/lib: Text-wrap long lines exceeding 110. 2017-11-10 16:24:09 -08:00
template_parser.py linter: Make multiline handlebar singleton tags use 2 space indentation. 2018-04-07 20:08:38 -07:00
test_script.py provision_version: Move to under UUID_VAR_PATH. 2017-10-17 21:15:58 -07:00
test_server.py test_fixtures: Add run_generate_fixtures_if_required function. 2018-06-06 13:37:35 -07:00