gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Heatmap: Don't count commits by other authors

Open timokoesters opened this issue 6 years ago • 10 comments

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.

timokoesters avatar Sep 14 '19 06:09 timokoesters

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.

sapk avatar Sep 15 '19 18:09 sapk

Screenshot_20190916_180751 Here's what it looks like.

timokoesters avatar Sep 16 '19 16:09 timokoesters

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.

sapk avatar Sep 16 '19 20:09 sapk

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.

stale[bot] avatar Nov 15 '19 21:11 stale[bot]

I'm still interested in this.

timokoesters avatar Nov 20 '19 21:11 timokoesters

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.

silverwind avatar Mar 25 '20 17:03 silverwind

This feature is completely useless to me in it's current state

Screenshot_20200331_202301

timokoesters avatar Mar 31 '20 18:03 timokoesters

guess Gitea do not think this worth to response?

leaveye avatar Dec 09 '24 07:12 leaveye

Yeah something should be done about it It makes the feature basically useless, like @timokoesters said.

Username404-59 avatar Dec 09 '24 09:12 Username404-59

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

lunny avatar Dec 10 '24 05:12 lunny

any update on this? reviewing my heatmap reminds me this issue.

leaveye avatar Apr 27 '25 15:04 leaveye