gitea icon indicating copy to clipboard operation
gitea copied to clipboard

'Commits since last release' label broken

Open OCram85 opened this issue 3 years ago • 2 comments

Gitea Version

1.5.10

Git Version

2.30.2

Operating System

SLES 15 SP2

How are you running Gitea?

[2x haproxy / keepalived nodes] --- (ponting to traefik reverse proxy) ---> [ multiple docker swarm manager] ---- running ---> [ Single gitea container ]

Database

MySQL

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

The link label on the repo/release page seems to be broken The counter 0 commits

Can't reproduce it 100% on https://gitea.com/xorm/xorm/releases because #18226 isn't fixed on this instance.

The commits were always done via the same gitea workflow -> [Gitea PR] -> [Review] -> [Squash Commit / Merge to master].

Screenshots

image

image

OCram85 avatar Jan 17 '22 13:01 OCram85

OK I think this is working on 1.16.0

Screenshot from 2022-01-17 19-49-46

But what's really interesting is that if you look at your first picture the 1.0.3 release looks correct - except the DefaultBranch is incorrect.

zeripath avatar Jan 17 '22 19:01 zeripath

Broken again in 1.17.2. I've made 1 commit since this release.
grafik

Clicking the link does lead to the correct diff with 1 commit.
grafik

exu-g avatar Sep 13 '22 13:09 exu-g

Come across this one.

Incorrect milestone, and .... whether it has been fixed?

wxiaoguang avatar Feb 21 '23 16:02 wxiaoguang

It should have been fixed by: fix calReleaseNumCommitsBehind (#24148)

wxiaoguang avatar Apr 26 '23 18:04 wxiaoguang