Your message dated Wed, 8 Jul 2015 18:53:34 +0530
with message-id <[email protected]>
and subject line Re: Bug#791760: git-buildpackage: filter option does not seem 
to work
has caused the Debian Bug report #791760,
regarding git-buildpackage: filter option does not seem to work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
791760: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791760
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Wednesday 08 July 2015 05:02 PM, Guido Günther wrote:
> It works as expected here:
> 
>     gbp import-orig --filter=src 
> /var/scratch/debian/libvirt/libvirt_1.2.16.orig.tar.gz
>     $ ls src
>     ls: cannot access src: No such file or directory
> 
> So you need to provide more steps to reproduce this.


Since upstream ships the debian/ folder, and maybe because I didn't use
--filter well before, there was a leftover debian/ folder in the
upstream branch.


After cleaning that up, gbp works perfect. Closing this bug report.


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to