Skip to content

Releases are deleted when mirror repository is synchronized #22066

Closed
@kotovalexarian

Description

@kotovalexarian

Description

By some reason the created releases are deleted when mirror repository is synchronized even when the tags have not been recreated.

Steps

  1. Sign-in to Gitea
  2. Click "+"
  3. Click "New Migration"
  4. Click "GitHub"
  5. Put https://github.com/tailix/libkernaux in the field "Migrate / Clone From URL"
  6. Check "This repository will be a mirror"
  7. Click the button "Create repository"
  8. Click "7 tags" in the bar (the number may be different)
  9. Click "New release" on tag "v0.6.1"
  10. Put foobar in the field "Title"
  11. Click "Publish release"
  12. Click on the tab "Settings"
  13. Click the button "Synchronize Now"
  14. Wait a few (2-5) minutes
  15. Refresh the page

Expected

You should see the label "Releases [1]" (the number as a badge) among the tabs.

Got

You see the label "Releases" (without a number) among the tabs.


Gitea Version

1.17.3 (self-hosted), 1.19.0+dev-166-g0a85537c7 (try.gitea.io)

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.37.2

Operating System

Ubuntu 22.10

How are you running Gitea?

https://try.gitea.io & self-hosted

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions