go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.12k stars 5.41k forks source link

Problem with adopting unadopted Repositories #31631

Open muhamad opened 2 months ago

muhamad commented 2 months ago

Description

Steps to reproduce it as it happened with me:

  1. Create an organization with normal name like online.
  2. In the filesystem go to repos directory and create directory with name online.
  3. Put not less than 60 bare repository in that directory (I've 280 bar repo which are later be mirrored).
  4. In Gitea go to Site Administration ->Code Assets -> Repositories then click on Unadopted Repositories.
  5. In the search box write online then press search icon.
  6. In the list of repositories start adopting them by pressing Adopt Files.
  7. when you reach the 15th repository the adopted repositories from 1st to 14th will start getting listed again one by one when continuing adopting other repositories.

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

git version 2.45.0.windows.1

Operating System

Windows 10 Pro 22H2

How are you running Gitea?

As a windows service, but issue can be produced running as standalone application

Database

SQLite

muhamad commented 1 month ago

Up to not get forgotten.