Skip to content

Support for multiple different repo root dirs #24783

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

Open
csillag opened this issue May 18, 2023 · 2 comments
Open

Support for multiple different repo root dirs #24783

csillag opened this issue May 18, 2023 · 2 comments
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@csillag
Copy link

csillag commented May 18, 2023

Feature Description

Different repositories might have different storage requirements. (speed, size, etc.)
You might want to put some data on SSD, something on HDD, something on RAID, or a combination of the above, etc.

It would be great if one could specify multiple different data ROOT directories, and when creating a new repo (from the web UI or via the API), one could optionally specify which data directory to use for storing the files for this specific new repo.

Screenshots

No response

@csillag csillag added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels May 18, 2023
@csillag
Copy link
Author

csillag commented May 18, 2023

Currently, the only way to achieve this (storing the data files on different devices) is to run multiple instances of gitea, but then the different repositories must be accessed using different URLs. Ideally, the storage options of a given repo should be an internal setting of that repo, and not influence the URL.

@lunny
Copy link
Member

lunny commented May 18, 2023

Ah, yes. #22775 could be the first step towards the requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants