Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A pull-mirror repository is not marked as such until after migration completes #19294

Closed
petergardfjall opened this issue Apr 1, 2022 · 2 comments
Labels

Comments

@petergardfjall
Copy link
Contributor

Description

Right now, a pull-mirror repo does not get properly marked as such until after the initial mirroring completes. That is, while it is being (mirror-)cloned, which can take quite some time depending on the size of the upstream repo, it will show up both in the API and in the UI as a regular repo.

  • The first screenshot below shows the repo just after starting a pull-mirror migration. The repo is not marked as a mirror.

  • The second screenshot below shows the repo a few minutes later when the mirror-cloning is complete. The repo is now marked as a mirror.

Gitea Version

main branch

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

during-mirroring
after-mirroring

Git Version

tip of main branch

Operating System

Ubuntu 20.04

How are you running Gitea?

Local binary.

Database

PostgreSQL

@petergardfjall
Copy link
Contributor Author

Proposed fix in #19295

@petergardfjall
Copy link
Contributor Author

Fix merged.

@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant