Package: git-buildpackage
Version: 0.9.13
Severity: important
X-Debbugs-CC: Mattia Rizzolo <mat...@debian.org>

Dear maintainer,

I noticed that the pristine-tar tarball id for the source is incorrect
if the set of orig-tarballs are imported with

  gbp-import-orig XXX.orig.tar.xz --components YYY

For example, after importing the opencv tarball, I have to manually
fix the reference for the main component, while the id "contrib"
component is correct:

  opencv_3.4.5+dfsg.orig.tar.xz.id          INCORRECT
  opencv_3.4.5+dfsg.orig-contrib.tar.xz.id  CORRECT

https://salsa.debian.org/science-team/opencv/commit/a0bd84b30b388b9811bc300e9a62801cf89c8966

It seems that the /tree/ hash is the correct one for the master
component (Mattia tought me this but I don't understand what's going on):

  git cat-file -p upstream  # /tree/ main component

Reply via email to