Feature Request: Activate mirroring of LFS data #39

Open
opened 2025-10-31 15:28:46 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @ArmainAP on GitHub (Aug 15, 2025).

Currently all repositories mirror without LFS data by default.
If you want to mirror LFS data, you have to manually activate it post migration and do a sync job.

This is quite dangerous, as many users might backup their repositories only to find out later that they are missing the LFS pointers.

Originally created by @ArmainAP on GitHub (Aug 15, 2025). Currently all repositories mirror without LFS data by default. If you want to mirror LFS data, you have to manually activate it post migration and do a sync job. This is quite dangerous, as many users might backup their repositories only to find out later that they are missing the LFS pointers.
GiteaMirror added the help wanted label 2025-10-31 15:28:46 -05:00
Author
Owner

@arunavo4 commented on GitHub (Aug 16, 2025):

@ArmainAP This I did not realise this thanks. will check it out. But I am quite busy at the moment with other issues. Would appreciate a Community PR on this issue.

@arunavo4 commented on GitHub (Aug 16, 2025): @ArmainAP This I did not realise this thanks. will check it out. But I am quite busy at the moment with other issues. Would appreciate a Community PR on this issue.
Author
Owner

@ArmainAP commented on GitHub (Aug 16, 2025):

No worries! At least it is visible for now. I might try to look into it tomorrow.

Any tips or advice for starting out considering I am not familiar with the code base?

@ArmainAP commented on GitHub (Aug 16, 2025): No worries! At least it is visible for now. I might try to look into it tomorrow. Any tips or advice for starting out considering I am not familiar with the code base?
Author
Owner

@arunavo4 commented on GitHub (Aug 16, 2025):

There is readme and the docs also a contribution markdown file. that should be a good start.

@arunavo4 commented on GitHub (Aug 16, 2025): There is readme and the docs also a contribution markdown file. that should be a good start.
Author
Owner

@arunavo4 commented on GitHub (Aug 28, 2025):

@ArmainAP I have added it by adding the lfs flag to the api call when creating the mirror on gitea as provided on thier docs. But i have not had the time to test it.

you need to have LFS turned on (LFS_START_SERVER = true in Gitea config) feel free to test it out v3.3.0

@arunavo4 commented on GitHub (Aug 28, 2025): @ArmainAP I have added it by adding the `lfs` flag to the api call when creating the mirror on gitea as provided on thier docs. But i have not had the time to test it. you need to have LFS turned on (`LFS_START_SERVER = true` in Gitea config) feel free to test it out v3.3.0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea-mirror#39