Skip to content

Not all new git tags are listed as release #6237

@dmolineus

Description

@dmolineus
  • Gitea version (or commit ref): 1.7.3
  • Git version: 2.16.5
  • Operating system: Linux (Cent OS 7)
  • Database (use [x]):
    • PostgreSQL
      MySQL
      MSSQL
      SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
      No
      Not relevant
  • Log gist:

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?

Activity

silverwind

silverwind commented on Mar 4, 2019

@silverwind
Member

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

dmolineus commented on Mar 6, 2019

@dmolineus
Author

No, I don't use force-push over tags at the affected repositories.

lunny

lunny commented on Mar 17, 2019

@lunny
Member

@dmolineus have you found that on https://try.gitea.io?

ghost
ghost
lafriks

lafriks commented on Mar 25, 2019

@lafriks
Member

could you provide exact commands to reproduce that?

ghost
ghost
zeripath

zeripath commented on Mar 25, 2019

@zeripath
Contributor

I am highly suspicious that this is, yet another, escaping issue. Perhaps related to #6321.

mrsdizzie

mrsdizzie commented on Mar 27, 2019

@mrsdizzie
Member

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

HorlogeSkynet commented on May 4, 2019

@HorlogeSkynet
Contributor

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

HorlogeSkynet commented on May 5, 2019

@HorlogeSkynet
Contributor

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

lunny commented on May 6, 2019

@lunny
Member

19 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lunny@silverwind@lafriks@camlafit@dmolineus

        Issue actions

          Not all new git tags are listed as release · Issue #6237 · go-gitea/gitea