Skip to content

Instantly share code, notes, and snippets.

@EricCousineau-TRI
Created December 20, 2022 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricCousineau-TRI/827bd669da73c76a0d793464bd46cb82 to your computer and use it in GitHub Desktop.
Save EricCousineau-TRI/827bd669da73c76a0d793464bd46cb82 to your computer and use it in GitHub Desktop.
# https://wiki.debian.org/Packaging/SourcePackage
apt-cache policy python3-pyassimp
# Focal
vim /etc/apt/sources.list
# Uncomment line: deb-src http://archive.ubuntu.com/ubuntu/ focal universe
apt update
apt-cache showsrc python3-pyassimp
# See "Vcs-Git"
# Trace to: https://salsa.debian.org/debian/assimp/-/tree/debian/5.0.1_ds0-1
git clone -o upstream https://github.com/assimp/assimp
cd assimp
git remote add debian https://salsa.debian.org/debian/assimp.git
git fetch debian --tags
git fetch debian debian/5.0.1_ds0-1
# Note that source in this tree is *still the same as upstream*.
# Now get the source.
cd /tmp
apt-get source python3-pyassimp
cd assimp-5.0.1~ds0
# *Now* we see the changes applied to the source.
# They actually live in
# https://salsa.debian.org/debian/assimp/-/tree/debian/5.0.1_ds0-1/debian/patches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment