Having commit count per author may be useful for writing rules for Fedora Badges.
Before, type GIT_RECEIVE_USER was used as author type for all Git messages. Renaming the type to GIT_USER and adding new GIT_RECEIVE_USER with additional field total_commits, only used for git.receive action. This way, other messages that git.receive do not change and type names stay consistent with their use.
In order to avoid creating new schema versions, the new field is marked optional.
Having commit count per author may be useful for writing rules for Fedora Badges.
Before, type GIT_RECEIVE_USER was used as author type for all Git messages. Renaming the type to GIT_USER and adding new GIT_RECEIVE_USER with additional field total_commits, only used for git.receive action. This way, other messages that git.receive do not change and type names stay consistent with their use.
In order to avoid creating new schema versions, the new field is marked optional.
The related change to messages emitted by Pagure is Pagure pull request #5137