Package: git-buildpackage Version: 0.6.31 Severity: normal Can you please add some example documentation for the --filter option ?
>From what has been documented, it does not seem to behave accordingly. I'm trying to import-orig and upstream tarball that contains a "debian/" folder, which I am trying to filter out. No matter what option I try out, it just does not seem to be working. rrs@learner:/tmp/sg3-utils (upstream)$ gbp import-orig --filter debian/ ../sg3-utils_1.41.orig.tar.xz What is the upstream version? [1.41] gbp:info: Importing '../sg3-utils_1.41.orig.tar.xz' to branch 'upstream' (filtering out ['debian/'])... gbp:info: Source package is sg3-utils gbp:info: Upstream version is 1.41 gbp:info: Merging to 'master' rrs@learner:/tmp/sg3-utils (master)$ gbp import-orig --filter="debian/*" ../sg3-utils_1.41.orig.tar.xz What is the upstream version? [1.41] gbp:info: Importing '../sg3-utils_1.41.orig.tar.xz' to branch 'upstream' (filtering out ['debian/*'])... gbp:info: Source package is sg3-utils gbp:info: Upstream version is 1.41 gbp:info: Merging to 'master' In both cases, the result is the same. It goes and touches files in debian/, overwriting them with the ones that upstream has shipped. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.0.7+ (SMP w/4 CPU cores) Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages git-buildpackage depends on: ii devscripts 2.15.5 ii git 1:2.1.4-2.1 ii man-db 2.7.0.2-5 ii python 2.7.9-1 ii python-dateutil 2.2-2 ii python-pkg-resources 17.0-1 ii python-six 1.9.0-3 Versions of packages git-buildpackage recommends: ii cowbuilder 0.73 ii pristine-tar 1.33 ii python-requests 2.7.0-3 Versions of packages git-buildpackage suggests: ii python-notify 0.1.1-4 ii unzip 6.0-17 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org