Allow for more complex directory structures #4402

Open
opened 2025-11-02 05:49:28 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @berolinux on GitHub (Nov 27, 2019).

As of 1.10.0, gitea assumes all projects are in USERNAME/PROJECTNAME -- sometimes it would be useful to allow subdirectories in PROJECTNAME (e.g. when mirroring/forking the android source from https://android.googlesource.com/, to replicate the original structure, it would be nice to support repositories like USERNAME/device/generic/arm64 instead of having to replace upstream's directory structure altogether).

For this particular use case, it's probably sufficient to allow slashes in a project name.

Originally created by @berolinux on GitHub (Nov 27, 2019). As of 1.10.0, gitea assumes all projects are in USERNAME/PROJECTNAME -- sometimes it would be useful to allow subdirectories in PROJECTNAME (e.g. when mirroring/forking the android source from https://android.googlesource.com/, to replicate the original structure, it would be nice to support repositories like USERNAME/device/generic/arm64 instead of having to replace upstream's directory structure altogether). For this particular use case, it's probably sufficient to allow slashes in a project name.
GiteaMirror added the type/proposal label 2025-11-02 05:49:28 -06:00
Author
Owner

@D3-jwatts commented on GitHub (May 1, 2020):

FWIW, this is absolutely critical for my needs: I manage around 1200 repositories (30% are a single Android project), and without folder structures it would be impossible to navigate. :-(

Otherwise, we've been evaluating Gitea off/on for the last few weeks, and it is beautiful and manages every other requirement we have. Great work so far! 👍

@D3-jwatts commented on GitHub (May 1, 2020): FWIW, this is absolutely critical for my needs: I manage around 1200 repositories (30% are a single Android project), and without folder structures it would be _impossible_ to navigate. :-( Otherwise, we've been evaluating Gitea off/on for the last few weeks, and it is beautiful and manages every other requirement we have. Great work so far! :+1:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4402