Hi,
On Sun, Dec 30, 2018 at 11:06:54AM +0000, Mo Zhou wrote:
> 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:

By incorrect I _assume_ you mean it's pointing to the wrong tree? gbp
basically passes on data to pristine tar - it doesn't calculate these
things by itself so I would again _assume_ it's pointing pristine-tar to
the wrong git tree? Which tree is it pointing as in your case and which
tree should it point at?
The whole machinery is in use by e.g. thunderbird since some time so I
don't think it completely bogus.
 -- Guido

> 
>   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