Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Integrate test data with git-lfs into the main source repo #1978
Follow-up on and closes #1972.
How to migrate from submodule to lfs
We will keep the original submodule in
After a transition period
TODO (after merge)
@bilke What shall we do to migrate our branches to git lfs?
Update: It kind of worked:
> git lfs uninstall > rm -rf Tests/Data > git checkout lb/lfs > git lfs install
But then rebasing any other branch fails, because it tries to checkout the submodule Tests/Data and everything possible go wrong....
Old comment, skip it.
> rm -rf Tests/Data > git checkout lb/lfs Downloading Tests/Data/Elliptic/cube_1x1x1_GroundWaterFlow/cube_1e3_bottom_neumann.vtu (23 KB) Error downloading object: Tests/Data/Elliptic/cube_1x1x1_GroundWaterFlow/cube_1e3_bottom_neumann.vtu (4cc553a): Smudge error: Error downloading Tests/Data/Elliptic/cube_1x1x1_GroundWaterFlow/cube_1e3_bottom_neumann.vtu (4cc553a84b7b0f26a0e7631b51c25af1e8b4baebe1173ee889ee3438a6e7f371): batch response: Post /objects/batch: unsupported protocol scheme "" Errors logged to /home/naumov/w/ogs/s/.git/lfs/objects/logs/20171102T161814.811604628.log Use `git lfs logs last` to view the log. error: external filter 'git-lfs filter-process' failed fatal: Tests/Data/Elliptic/cube_1x1x1_GroundWaterFlow/cube_1e3_bottom_neumann.vtu: smudge filter lfs failed
@endJunction Good! For synchronisation:
Either you know which files to synchronize and simply copy them or running rsync from old to new (e.g.
Edit: Updated the description with migration steps.
If there are no objections to putting tests into git lfs instead of a submodule, this can be merged tonight and the transition begins with all open PRs.
Again, the background for this change is slow checkout of Tests/Data submodule and a not working shallow clone.