Feature Request: Activate mirroring of LFS data #39

Closed
opened 2026-10-05 01:36:48 +02:00 by adam · 4 comments
Owner

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.

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. <!-- github-sync-id:3325151719 -->
adam closed this issue 2026-10-05 01:36:48 +02:00
Author
Owner

@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.

@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. <!-- github-comment-id:3193435025 -->
Author
Owner

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?

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? <!-- github-comment-id:3193444132 -->
Author
Owner

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

There is readme and the docs also a contribution markdown file. that should be a good start. <!-- github-comment-id:3193755914 -->
Author
Owner

@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

@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 <!-- github-comment-id:3233910728 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#39