-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
move lfs to S3 (minio) #5530
Comments
Is it to store lfs data via gitea in minio or use minio as external lfs backend ? I haven't tested but external lfs backend can be set manually via :
|
I think he means store lfs files to s3 storage server but not local disk. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
Rather than the minio library, which only supports S3 like providers, we can choose a library that supports multiple different cloud storage services (And S3 clones), wrapping it's configuration in Gitea's configuration. And if that library also supports local files, even better, as there will be no need to maintain two implementations. The local file implementation will have to scale properly, that is, support splitting the objects into subdirectories as currently done. And there is also the issue of migrating existing data if needed. This needs to be something that the Gitea developers are comfortable using and having a proper license. Here are a few options:
(There may be more) The configuration format for this is highly affected by the chosen library. There is also.the issue of what key format to use. Cloud storage doesn't need the subdirectory splitting trick, though it probably doesn't hurt them either, and still using it there might allow easier migration using a simple recursive cp to the cloud storage provider. I would love to hear Gitea's maintainers take on this. |
I agree that having some sort of object storage support for LFS would be really nice. S3-compatible APIs are one option, but really, having a generic API that allows us to plug in any cloud provider would be better. |
Was there any progress on this ? |
I believe this would be taken care of by #9567 |
Awesome, thanks |
How about this going? Any plan to merge or not |
See my PR #11387 |
@lunny Cool, Thanks |
It would be nice to have minio backend for lfs
The text was updated successfully, but these errors were encountered: