mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
This changeset is prepartory work for doing something reasonable with analytics data during the zulip -> zulip data import process (and potentially e.g. slack -> Zulip as well). To support that, we need to make it possible to do our analytics calculations for a single realm. We do this while maintaining backwards compatibility and avoiding massive duplicated code by adding an optional `realm` argument to the entrypoints to the analytics system, especially process_count_stat. More work involving restructuring FillState will be required for this to be actually usable for its intented purpose, but this commit is a nice checkpoint along the way. Tweaked by tabbott to adjust comments and disable InstallationCount updates when a realm argument is specified. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| counts.py | ||
| fixtures.py | ||
| time_utils.py | ||