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.4k stars 5.43k forks source link

Heatmap not reflecting past days commits #14051

Closed lorenalexm closed 3 years ago

lorenalexm commented 3 years ago

Description

The contribution heatmap does not reflect previous days commits, only adds a mark for the day the commit was pushed.

Example: I make various commits to my local repository over four days and on the fifth day I push to my Gitea instance. The contribution heatmap only adds a single tick for the day that I pushed the local commits to the remote, but does not show any ticks for the four previous days of local work despite commits being made on the local machine.

I would expect that Gitea would create a tick for every contribution made to a repository, regardless of when these changes are pushed. This issue really shows when pushing a repository that is new to a Gitea instance, but has been worked on (or cloned from another repository) for any length of time prior to pushing.

I apologize if this issue has been brought up before, I did a quick search and was unable to find anything.

Screenshots

Screen Shot 2020-12-18 at 8 38 29 AM

lafriks commented 3 years ago

See my comment on duplicate #11861 issue https://github.com/go-gitea/gitea/issues/11861#issuecomment-643162143