#638993 git-import-orig: destdir for --uscan hardcoded

#638993#5
Date:
2011-08-23 14:53:19 UTC
From:
To:
git-import-orig's --uscan options always leaves the orig tarball (and
a symlink) in ../, since do_uscan() has the options hardcoded:
['uscan', '--symlink', '--destdir=..', '--dehs']

(I'd prefer --rename over --symlink but that's a matter of taste.)

But the hardcoded --destdir looks improvable to me, since there is
already a tarball-dir option for .gbp.conf; I guess it's only used by
git-buildpackage to look for the orig.tar.gz at the moment, but it
might be easy to also use it for git-import-orig to place the tarball
right there.

Cheers,
gregor

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-buildpackage depends on:
ii  devscripts                   2.11.0      scripts to make the life of a Debi
ii  git [git-core]               1:1.7.5.4-1 fast, scalable, distributed revisi
ii  python                       2.6.7-3     interactive high-level object-orie
ii  python-dateutil              1.4.1-4     powerful extensions to the standar
ii  python2.6                    2.6.7-4     An interactive high-level object-o

Versions of packages git-buildpackage recommends:
ii  cowbuilder                    0.64       pbuilder running on cowdancer
ii  pristine-tar                  1.14       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
ii  python-notify                 0.1.1-3    Python bindings for libnotify
ii  unzip                         6.0-5      De-archiver for .zip files

- -- no debconf information
iQIcBAEBCAAGBQJOU77bAAoJELs6aAGGSaoGJHgQAJU0M2TnYB6mtzCozjcwUUIr
+AmHjTAh5W0SOSJ2yjfHoWSS8Wzxu9QWPIXSOeDl0NNU4XhpbpVVkAon7/hngxfU
TnihEMFe8VVjfj99YR/EUp41gOE2HW2LczRSxyQigKmWYALSWR/qbVXeRsZbBP3h
UsqG4SLirucJ+50nqf251dUlCditUCoJDAslDiUBVUYfxDfkIY3M+nou/X1B9Gam
bzAJuciERMXb8DDDC2slSat07Yhf8BcQGHSj0J4WXB5efup6JWeVNcHLk23X3cLI
OKkpsAqh3nl7cui59J1yAj0dBYa/e0JvyuT9Hs04hDWycOXL8N8l/CIBL/vqxwfa
MqCzCSIg8jPna2IOHSLUla4rukN5Q8wb0WpXxT0FEtxNuabMMC41Cy5E6f5lprv/
sJFwu2e2UGZL5U5StcKXPtUPz9vW0f23N5siScMp8x8apOvcu6zSo48a8guJF5fo
Q659V63i+syw/IutDxIKLmg4aQk7o8ZrLQIdmi0dmHMqBiYgx1jSLRQFVo1VONcx
eS71DzuLKuGS28HqjNBGthYvf2IpezRHix0P9XH3sSkCExV0Uoi0UjRy7X8ZVQom
QGADraMxpbyXNf7NV0UESWFgDSEwZG46TwhOsgkcS9HGg5fNK5+yT5ZbL1j8MBvG
akx9LuUHHkpsrbE04vft
=6AEB
-----END PGP SIGNATURE-----

#638993#10
Date:
2018-05-12 20:52:32 UTC
From:
To:
options; for example, i usually run "uscan --verbose --force-download
--repack --rename --destdir ~/deb/tarballs/" and i'm not really happy with
the `import-orig --uscan` result as that breaks my workflow.

would you think you could add a config-file option for uscan (maybe even
defaulting to "--symlink --destdir=.. --dehs") so that users can customize
it?

thanks!

#638993#15
Date:
2026-05-10 11:05:48 UTC
From:
To:
Hello,

I would also be interested in having gbp import-orig --uscan follow
the "tarball-dir" option. I'm ending up with a lot of leftover tarballs
in different directories because of the current situation.

Kind regards,
Laurent Bigonville