gitlab-mirrors
gitlab-mirrors copied to clipboard
lfs objects are not mirrored
I believe it wouldn't be very hard to add this although gitlab mirror seems to have a long discussion about it as well. Maybe the 90% success simplistic case would suffice?
Can you elaborate on how one would mirror git lfs
? I'm not to familiar with it. PRs are also welcome.
Also, I have no idea what the 90% success simplistic case
is referencing.
@samrocketman I think 90% success simplistic case
means a simple solutions will make 90% happy and the complicated solution to get that last 10%.
@nicholas-itpedia I don't use git lfs
and don't know what the "90% case" is technically (i.e. what commands are the 90% case?). If you have links to how others are mirroring git lfs
objects I would be happy to take a look.
For instance @agonycoder mentions GitLab has a long discussion about it. Could I have a link to that discussion for reading?
this link may help.
https://help.github.com/enterprise/2.8/user/articles/duplicating-a-repository/#mirroring-a-repository-that-contains-git-large-file-storage-objects
I stumbled accross this issue while trying out gitlab-mirrors.
I implemented a quick and dirty attempt at using Git LFS in the provided scripts (see https://github.com/wrightsg/gitlab-mirrors/tree/git-lfs-support) based on the instructions in the link provided by @wangzw
I have tested initial mirrorring using the add_mirror.sh
script and updating using the git-mirrors.sh
script.
I am not really a Git LFS expert and these changes most likely to not cover all cases. Maybe someone with more experience can weigh in.