mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
This will give help up write new digest only if the db rebuild succeeds. We were relying on the caller to be successful in building db, this was hacky and unreliable. We write new db digest once the caller succeeds, this ensures that we write new digest after every successful attempt. This fixes the anomality we were facing that Databases were rebuild on the 2nd provision attempt with no changes to files or migrations. This was happening because we didn't write a new digest for db after the first provision (The case of DB didn't exist). During the 1st provision, we check the template_status() of Database both Dev and Test, but database_exists() of Databases obviously returned false, and we rebuild the database, but forgot to write_new_digest and hence the anomaly in the second provision explained above. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| capitalization.py | ||
| git-tools.bash | ||
| gitlint-rules.py | ||
| html_branches.py | ||
| pretty_print.py | ||
| provision_inner.py | ||
| provision.py | ||
| sanity_check.py | ||
| template_parser.py | ||
| test_script.py | ||
| test_server.py | ||