#632856 gbp should try harder to guess the orig tarballs name

#632856#5
Date:
2011-07-06 13:41:49 UTC
From:
To:
Hello Joey,

In bug #507322, you've mentioned that pristine-tar should just work with
..tgz archives. That does not seem to be the case.

make[1]: Leaving directory `/home/rrs/Community/Packaging/smp-utils'
dh_clean
gbp:warn: Unknown compression type of pristine-tar data for
smp-utils_0.96.orig.tar.tgz, assuming gzip
gbp:info: Orig tarball 'smp-utils_0.96.orig.tar.gz' not found at
'/var/tmp/Debian/Tarballs/'
fatal: Path 'smp-utils_0.96.orig.tar.gz.delta' does not exist in 'refs/heads/pristine-tar'
/usr/bin/pristine-tar: git show refs/heads/pristine-tar:smp-utils_0.96.orig.tar.gz.delta failed
gbp:error: /usr/bin/pristine-tar returned 128
gbp:error: Couldn't run '/usr/bin/pristine-tar'

18:17:35 rrs@champaran:~/Community/Packaging/smp-utils (test)$ git help import-orig

18:58:47 rrs@champaran:~/Community/Packaging/smp-utils (test)$ git checkout pristine-tar
Switched to branch 'pristine-tar'

18:58:50 rrs@champaran:~/Community/Packaging/smp-utils (pristine-tar)$ ls
smp-utils_0.96.orig.tar.tgz.delta  smp-utils_0.96.orig.tar.tgz.id


pristine-tar should look for tar.tgz.delta, in this case.

#632856#10
Date:
2011-07-06 13:53:02 UTC
From:
To:
I think this should be assigned to git-buildpackage. pristine-tar worked
fine when committing manually.

    19:20:33 rrs@champaran:/tmp/foo (master)$ pristine-tar commit
    /tmp/smp_utils-0.96.tgz
    /usr/bin/pristine-tar: committed smp_utils-0.96.tgz.delta to branch
    pristine-tar
    19:20:39 rrs@champaran:/tmp/foo (master)$ git checkout pristine-tar
    Switched to branch 'pristine-tar'
    19:20:43 rrs@champaran:/tmp/foo (pristine-tar)$ ls
    smp_utils-0.96.tgz.delta  smp_utils-0.96.tgz.id


Ritesh

#632856#15
Date:
2011-07-06 16:07:10 UTC
From:
To:
severity 632856 wishlist
retitle 632856 gbp should try harder to guess the orig tarballs name
thanks

Hi Ritesh,

The name of the orig.tar.gz is wrong and git-buildpackage currently
isn't guessing. Is that what you'd expect?
Cheers,
 -- Guido