Refreshing upstream LFS objects
===============================

The pypi source tarball does not contains docs or tests, so we want to
take source from the upstream git repo at
https://github.com/nschloe/meshplex.git

If git-buildpackage (gbp import-orig) is used to import the upstream
git tarball, then it may fail if LFS objects are not accessible.

LFS objects (test mesh files in test/meshes) can be fetched via the
following procedure (adapt for the upstream release you're trying to
import. The example here accesses upstream tag 0.16.5).

  NEW_MESHPLEX_VERSION_TAG=0.16.5
  git remote add upstream-git https://github.com/nschloe/meshplex.git
  git fetch upstream-git tag ${NEW_MESHPLEX_VERSION_TAG} --no-tags
  git lfs fetch upstream-git refs/tags/${NEW_MESHPLEX_VERSION_TAG}
 
It's important to use --no-tags to fetch to just the one reference
from upstream, unless you want the entire upstream tag history.

After this, LFS objects will be available in .git/lfs/objects/, and
can be accessed by gbp import-orig.
