scripts: Tool to find the diff to an original settings.py prod template.

This hits the unauthenticated Github API to get the list of tags,
which is rate-limited to 60 requests per hour.  This means that the
tool can only be run 60 times per hour before it starts to exit with
errors, but that seems like a reasonable limit for the moment.
This commit is contained in:
Alex Vandiver
2021-04-21 15:21:46 -07:00
committed by Tim Abbott
parent a0e18cb06a
commit 4c88da8ed9
2 changed files with 70 additions and 0 deletions

View File

@@ -133,6 +133,14 @@ suggest using that updated template to update
section in `/etc/zulip/settings-new.py` and copy the setting from
`settings.py` into there.
The following tool may help, by finding the most likely version of
the template that your `/etc/zulip/settings.py` was installed
using, and the differences that your file has from that:
```
/home/zulip/deployments/current/scripts/setup/compare-settings-to-template
```
If there are settings which you cannot find documented in
`/etc/zulip/settings-new.py`, check the [changelog][changelog] to see
if they have been removed.