Package: git-buildpackage Version: 0.7.1 Severity: wishlist Dear Maintainer,
i would like to add some filters to gbp-import-orig that exclude some directories in the root of the package-dir, but not in subfolder. e.g., my upstream layout is like the following (with foo-1.0 being stripped away): foo-1.0/foo/non-free-files.txt foo-1.0/bar/foo/free-files.txt so i would like to create a filter that only matches the first directory, but not the second. i tried "foo/*", but this will strip both ./foo/ and ./bar/foo/; so i tried "/foo/*" and "./foo/*", but this stripped neither ./foo/ nor ./bar/foo; i got desparate and tried "/*/foo/" (assuming that the filters are applied before the 'foo-1.0' part is stripped away), but that didn't help either. i even tried to use regular expressions (e.g. "^foo/.*/") without success. so i believe that gbp-import-orig currently cannot handle stripping of rooted directories. please add this functionality! -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.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.10 ii git 1:2.7.0~rc3-1 ii man-db 2.7.5-1 ii python-dateutil 2.4.2-1 pn python-pkg-resources <none> ii python-six 1.10.0-1 pn python:any <none> Versions of packages git-buildpackage recommends: ii cowbuilder 0.78 ii pbuilder 0.222 ii pristine-tar 1.33 ii python-requests 2.9.1-1 Versions of packages git-buildpackage suggests: ii python-notify 0.1.1-4 ii sudo 1.8.15-1.1 ii unzip 6.0-20 -- no debconf information