Skip to content

Index repositories after adoption #14304

@LukeMauldin

Description

@LukeMauldin
  • Gitea version (or commit ref): 1.13.1

  • Git version: 2.29

  • Operating system: RHEL8

  • Database (use [x]):

    • [ X ] PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • [ X ] No

Description

Provide a way to manually trigger source code indexing of repositories. In my scenario, I have used the Adopt functionality to import a large number of repositories (over 500) but they are not indexed. If I make a commit then it does appear the indexing functionality is working as expected but it is not practical to make commits to 500+ repos. Need an admin API that would trigger the indexing process.
As an enhancement to the adoption process, indexing could/should be triggered as a part of that process too.

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