mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
git integrations: Expand details in commit push notifications.
We now show a few new things: (1) The number of commits pushed. (2) Who authored the commits (just counts, not which specific ones, for brevity). Add tests for case of multiple committers. Part of #3968.
This commit is contained in:
committed by
Tim Abbott
parent
11878313fb
commit
e7455e276b
@@ -180,6 +180,7 @@ def get_push_tags_body(payload):
|
||||
def get_push_commits_body(payload):
|
||||
# type: (Dict[str, Any]) -> Text
|
||||
commits_data = [{
|
||||
'name': commit['committer']['username'],
|
||||
'sha': commit['id'],
|
||||
'url': commit['url'],
|
||||
'message': commit['message']
|
||||
|
||||
Reference in New Issue
Block a user