mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-09 12:46:42 -05:00
Not all new git tags are listed as release #2999
Closed
opened 2025-11-02 04:56:38 -06:00 by GiteaMirror
·
27 comments
No Branch/Tag Specified
main
release/v1.25
release/v1.24
release/v1.23
release/v1.22
release/v1.21
release/v1.20
release/v1.19
release/v1.18
release/v1.17
release/v1.16
release/v1.15
release/v1.14
release/v1.13
release/v1.12
release/v1.11
release/v1.10
release/v1.9
release/v1.8
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.17.0-rc2
v1.16.9
v1.17.0-rc1
v1.18.0-dev
v1.16.8
v1.16.7
v1.16.6
v1.16.5
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1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
v1.3.2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
$20
$250
$50
$500
backport/done
💎 Bounty
docs-update-needed
good first issue
hacktoberfest
issue/bounty
issue/confirmed
issue/critical
issue/duplicate
issue/needs-feedback
issue/not-a-bug
issue/regression
issue/stale
issue/workaround
lgtm/need 2
modifies/api
modifies/translation
outdated/backport/v1.18
outdated/theme/markdown
outdated/theme/timetracker
performance/bigrepo
performance/cpu
performance/memory
performance/speed
pr/breaking
proposal/accepted
proposal/rejected
pr/wip
pull-request
reviewed/wontfix
💰 Rewarded
skip-changelog
status/blocked
topic/accessibility
topic/api
topic/authentication
topic/build
topic/code-linting
topic/commit-signing
topic/content-rendering
topic/deployment
topic/distribution
topic/federation
topic/gitea-actions
topic/issues
topic/lfs
topic/mobile
topic/moderation
topic/packages
topic/pr
topic/projects
topic/repo
topic/repo-migration
topic/security
topic/theme
topic/ui
topic/ui-interaction
topic/ux
topic/webhooks
topic/wiki
type/bug
type/deprecation
type/docs
type/enhancement
type/feature
type/miscellaneous
type/proposal
type/question
type/refactoring
type/summary
type/testing
type/upstream
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/gitea#2999
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dmolineus on GitHub (Mar 4, 2019).
[x]):Description
I struggle with a strange behaviour. Since Gitea 1.7.0 it happens quite often that not all new tags are not listed on the release page. Sometimes they get added somestimes not. I have no idea why. It beheaves different on the same repository. Sometimes the tags are created sometimes not. Any idea how to find out what's going wrong?
@silverwind commented on GitHub (Mar 4, 2019):
I too think something is up with inconsistent release generation. I have repos that generate a release every tag, but then I also have repos which fail to generate releases since at least half a year ago. Maybe it is related to force pushing over tags? @dmolineus do you also force-push over tags sometimes?
@dmolineus commented on GitHub (Mar 6, 2019):
No, I don't use force-push over tags at the affected repositories.
@lunny commented on GitHub (Mar 17, 2019):
@dmolineus have you found that on https://try.gitea.io?
@ghost commented on GitHub (Mar 19, 2019):
Hi, I get no more updates to releases page after upgrading from 1.5.something to 1.7.4 in one repository. No hint, no idea.
@ghost commented on GitHub (Mar 20, 2019):
master + next branch, simple git-flow style release from next, few commits, annotated tag; doesn't show up:
@lafriks commented on GitHub (Mar 25, 2019):
could you provide exact commands to reproduce that?
@ghost commented on GitHub (Mar 25, 2019):
@ghost commented on GitHub (Mar 25, 2019):
Just added tag
3non-annotated, no difference.@zeripath commented on GitHub (Mar 25, 2019):
I am highly suspicious that this is, yet another, escaping issue. Perhaps related to #6321.
@mrsdizzie commented on GitHub (Mar 27, 2019):
This appears to be a conditional issue with the code that generates the releases and not only about particular tags themselves. If I 'migrate' the example repo here then the releases show up as you'd expect: https://try.gitea.io/mrsdizzie/github-issue-6237-migrate/releases
So it does see those tags as valid releases but isn't generating the releases when the tags are pushed in this case.
@HorlogeSkynet commented on GitHub (May 4, 2019):
Running v1.7 branch and confirming this (strange) issue too...
Occurring with a simple repository, and two tags pushed.
They are effectively present, but no release has been automatically created.
I can run some tests if needed, bye 👋
@HorlogeSkynet commented on GitHub (May 5, 2019):
Hey back, so I've naively reviewed the changes brought by v1.7.0, and it could be a regression added by #5609 (so ping @yasuokav & @HarshitOnGitHub).
Could anyone confirm this (or not) ?
Bye 👋
@lunny commented on GitHub (May 6, 2019):
@HorlogeSkynet I put a comment there. https://github.com/go-gitea/gitea/pull/5609/files#r281054937
@stale[bot] commented on GitHub (Jul 5, 2019):
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.
@dmolineus commented on GitHub (Jul 5, 2019):
Dear stale bot, the issue is not solved yet.
@daniel-meister commented on GitHub (Aug 15, 2019):
Also ran into this issue today; we were able to reproduce the following two cases in our repository:
git push origin master next --tagsdoes not create a releasegit push origin --tagsdoes create a release@HorlogeSkynet commented on GitHub (Aug 25, 2019):
Hey there, this is one more up because the feature has been broken for already three minor versions now...
As we've nailed down the regression cause, this may be an easy fix for anyone familiar with the project/language, or am I getting something wrong here ?
Bye 👋
@varhub commented on GitHub (Oct 3, 2019):
I ended up in same behavior than @daniel-meister with
Gitea Version: 1.7.6.First push to remote like
git push origin --tags mybranchdoes not generate releases.Perhaps push tags of HEAD does not generates release info due there is none branch related to it.
@HorlogeSkynet commented on GitHub (Oct 11, 2019):
We are heading towards v1.10 and this v1.7 regression is still not fixed.
Should we simply get #5609 reverted then ?
@guillep2k commented on GitHub (Oct 11, 2019):
Hi, @HorlogeSkynet . There has been a couple of PRs lately regarding the parsing of tags (for example #7994). I don't know if they fix your particular issue; they might. Don't rely too much in the fact that this issue was not marked as fixed.
If you have upgraded from the 1.7.1 specified at the top at some time, please edit the comment and add some note about the latest version you've tried with.
I'd suggest you test with the latest 1.10.0-dev, or even 1.9.4 in a clean environment. You might find that the issue is indeed fixed. An easy setup is trying directly against try.gitea.io. That server gets the latest version daily.
@silverwind commented on GitHub (Oct 13, 2019):
I don't see any current issues with missing releases/tags. My previous comment came down to the fact that the pusher was neither specifying
--tagsnor--follow-tagstogit push, so they never pushed the tags to the gitea remote.@zeripath commented on GitHub (Oct 13, 2019):
@HorlogeSkynet is this definitely still an issue on master? If so, are you able to come up with a minimal failure case?
The mechanism quoted earlier doesn't fail for me on master. There must be something I'm missing.
Are you able to create a repository on try that shows this?
@HorlogeSkynet commented on GitHub (Oct 13, 2019):
@zeripath Maybe. Maybe not. I have to draft some tags to check this, and currently, I cannot.
@silverwind It was definitely broken at least in March when the v1.7.0 has been drafted, after #5609 got merged (please refer to @lunny's May comments following my findings).
As you can verify there, it was not about Git
follow-tagsflag.@guillep2k I have seen that the
release.gofile has changed a lot since March, so yeah, maybe this has been fixed, and this issue should be closed, and we may all forget this.By the way, do you consider this solved now @dmolineus ?
Bye all 👋
@dmolineus commented on GitHub (Oct 15, 2019):
@HorlogeSkynet I can't reproduce the issue right now. I'm fine to close it (and if it see the issue again I would open a new issue).
@zeripath commented on GitHub (Oct 15, 2019):
OK. Sorry we couldn't find the proximate cause for this. I suspect that the change in #5609 might have revealed a bug that was then later fixed. I do think we need to review and reconsider the releases tab - There's a very recent feature request that covers this - however, as this bug is now fixed in 1.10 I'm going to close this issue.
Sorry once again that we never found out what the problem was exactly, but glad it's fixed now.
@HorlogeSkynet commented on GitHub (Jan 4, 2020):
Hey over there ! I hope you all are doing okay by this beginning of 2020 👌
A simple message for :
Releases:git push --delete origin vX.Y.Z vA.B.C <...> && git push origin --tags.Bye, thanks for all 👋
@camlafit commented on GitHub (Apr 9, 2020):
Hello
It's old but to synthesize solution as less dirty we can do :
gitea admin repo-sync-releasesas explained at https://docs.gitea.io/en-us/faq/#missing-releases-after-migrating-repository-with-tags