Skip to content

Mass import existing repositories from file system #11473

@replay111

Description

@replay111
  • Gitea version (or commit ref): 1.11.5
  • Git version: 2.26.x
  • Operating system: Centos 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

Hi - I was asking about this functionality soooome time ago, but suggestion to use "migration" is quite difficult to me.
My case is: I have main repo hosted on gitlab.com - but it is replicated locally to server (git clone --mirror). So when I have it locally I wanted to run some nice interface to be able to use it locall but without changes. All changes and review done by developers have to go to public repository.
I was using for some time gitlab as "let's say" read-only interface localy. But this solution is have, veeery heavy, and I wonder if there is possibility to use gitea for such case.

I just need to start gitea and expose about 500 git projects. Thing is I dont want to change anything inside clonned repository I just want to read them from disk and show on the interface, and also I do not want to do that manually (first: more than 500 is a quite a lot of work, second: if new repo appear on gitlab.com I will have to add it manually - I prefer more automatic way)

So I am just asking if gitea offer some nice/neat sollution for such case :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions