go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.19k stars 5.42k forks source link

Heatmap: Don't count commits by other authors #8178

Open timokoesters opened 5 years ago

timokoesters commented 5 years ago

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.

sapk commented 5 years ago

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.

timokoesters commented 5 years ago

Screenshot_20190916_180751 Here's what it looks like.

sapk commented 5 years ago

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.

stale[bot] commented 4 years ago

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.

timokoesters commented 4 years ago

I'm still interested in this.

silverwind commented 4 years ago

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.

timokoesters commented 4 years ago

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

Screenshot_20200331_202301