Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tools: Treat hosted weblate as a bot in contributor counts.

Tim Abbottdf426ae282f5
diff --git a/tools/total-contributions b/tools/total-contributions
index 6e6aa989aa2..2fd5c4a3b31 100755
--- a/tools/total-contributions
+++ b/tools/total-contributions
@@ -17,7 +17,7 @@ def add_log(committer_dict: dict[str, int], input: list[str]) -> None:
committer_name = dataset.split("\t")[1]
commit_count = int(dataset.split("\t")[0])
- if committer_name.endswith("[bot]"):
+ if committer_name.endswith("[bot]") or committer_name == "Hosted Weblate":
# Exclude dependabot[bot] and other GitHub bots.
global bot_commits
bot_commits += commit_count