File: README.source

package info (click to toggle)
python-meshplex 0.17.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 668 kB
  • sloc: python: 3,626; makefile: 13
file content (24 lines) | stat: -rw-r--r-- 1,024 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.