gitea
gitea copied to clipboard
Heatmap: Don't count commits by other authors
Description
I noticed this when I started mirroring a public project. All mirrored commits count as a contribution from me on the heatmap even when someone else wrote the commit.
I think it is similar to #7285. In fact, Gitea doesn't attach the commit to you but create an activity of syncing mirror. Commits of mirrored repo are not parsed.
Here's what it looks like.
Yes that what I mean. Currently you get a activity to the owner user each time gitea check the remote and there is a commit to fetch. In this case, the commit are not parsed like a push and are not attributed the commiter.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
I'm still interested in this.
Also noticed this. Contribution is attributed to the pusher, not the actual author (which is what one usually wants). I often push changes via a bot account and these don't show up on the graph.
This feature is completely useless to me in it's current state

guess Gitea do not think this worth to response?
Yeah something should be done about it It makes the feature basically useless, like @timokoesters said.
Let's clarify which behaviors should be counted.
- [ ] 👍 Your emails as a committer of the pushing commit
- [ ] 💯 Your emails as an author of the the pushing commit
- [ ] 🎉 You pushed the commits
- [ ] ❤️ Include mirror repositories
- [ ] 🥇 Include imported repositories
- [ ] Others
any update on this? reviewing my heatmap reminds me this issue.