[Proposal] Gitea repository storage abstract #25070
Labels
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
type/refactoring
Existing code has been cleaned up. There should be no new functionality.
type/summary
This issue aggregates a bunch of other issues
Current status
Gitea's repositories are stored in a single directory that is configured via app.ini.
#24783 would like hot/cold storage. i.e. repo archived repository will be stored in a HDD but the hot repository will be stored in SSD
#22532 would like to store the repository in different directories with a hash
#13791 request a distributed git storages like gitaly
The problems
setting.Repository.RepoRootPath
has been used by many places which fixed the usage to visit the repositorymodules/git.Command
has an optionDir
which fixed the git command run directoryResolution
setting.Repository.RepoRootPath
directlygit.Command
to visit the abstract levelOthers
Some ideas are storing git repositories with repository id but not
username/reponame
, how to handle it?The text was updated successfully, but these errors were encountered: