Cloning from github repo that contains LFS files
Summary
LFS files are not properly cloned to gitlab from github.
Steps to reproduce
Clone any repo from github that contains LFS files.
A test repo has been created here: https://github.com/Shinrai/gitlab-lfs-test.git
Simply fork it and import.
The same happens when you create a new project from a url.
Expected behavior
LFS files should be cloned to the gitlab repo.
Actual behavior
Files are shown as if they are cloned but when you go to download them or view them they are not available.
Results of GitLab application Check
Results of GitLab environment info
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.1p112
Gem Version: 2.6.6
Bundler Version:1.13.1
Rake Version: 10.5.0
Sidekiq Version:4.1.4
GitLab information
Version: 8.12.0
Revision: 0864ff9
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://gitlab.example.com
HTTP Clone URL: http://gitlab.example.com/some-group/some-project.git
SSH Clone URL: git@gitlab.example.com:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 3.6.0
Repository storage paths:
- default: /nas/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git