Number of commits from push listed on the start page is wrong #7745

Closed
opened 2025-11-02 07:35:13 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @whannes on GitHub (Aug 24, 2021).

The number of commits from a push listed on the start page refers to the number of items in the list rather than the actual number of commits:
grafik
grafik

Originally created by @whannes on GitHub (Aug 24, 2021). The number of commits from a push listed on the start page refers to the number of items in the list rather than the actual number of commits: ![grafik](https://user-images.githubusercontent.com/41183585/130639194-aa33d3ef-791a-4549-bf05-c85f49485e38.png) ![grafik](https://user-images.githubusercontent.com/41183585/130639526-df232bd5-103b-40b5-9278-6cce5a148830.png) - Gitea version: 1.15.0 (https://github.com/go-gitea/gitea/releases/download/v1.15.0/gitea-1.15.0-linux-amd64) - Git version: 2.20.0 - Operating system: CentOS 7 with PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 07:35:13 -06:00
Author
Owner

@lunny commented on GitHub (Aug 24, 2021):

I also found the bug. Even if you push one commit, but it will always display recent 5 commits.

@lunny commented on GitHub (Aug 24, 2021): I also found the bug. Even if you push one commit, but it will always display recent 5 commits.
Author
Owner

@zeripath commented on GitHub (Aug 24, 2021):

Found the fix - I'll have a PR up imminently.


Nope I'm wrong here - I was looking at old data where the Len was present. The problem we now face is that the action table is being incorrectly created without the full Len data.

@zeripath commented on GitHub (Aug 24, 2021): Found the fix - I'll have a PR up imminently. --- Nope I'm wrong here - I was looking at old data where the Len was present. The problem we now face is that the action table is being incorrectly created without the full Len data.
Author
Owner

@zeripath commented on GitHub (Aug 24, 2021):

OK This is a regression from #16282

This will need a migration and/or a doctor script to fix.

@zeripath commented on GitHub (Aug 24, 2021): OK This is a regression from #16282 ~~This will need a migration and/or a doctor script to fix.~~
Author
Owner

@zeripath commented on GitHub (Aug 24, 2021):

Unfortunately I think the correct length for these actions is unrecoverable. ☹️

@zeripath commented on GitHub (Aug 24, 2021): Unfortunately I think the correct length for these actions is unrecoverable. :frowning_face:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7745