Your message dated Tue, 19 Apr 2016 08:21:01 +0200 with message-id <[email protected]> and subject line Re: Bug#821728: git-buildpackage: gbp buildpackage does not seem to read debian/gbp.conf before checking the branch name has caused the Debian Bug report #821728, regarding git-buildpackage: gbp buildpackage does not seem to read debian/gbp.conf before checking the branch name 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.) -- 821728: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821728 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: git-buildpackage Version: 0.7.3 Severity: minor Dear Maintainer, the package I'm building has its upstream branch on 'master' (the current release on tag v0.2.0) and the debian branch for sid on 'debian/sid'. I therefore have created a configuration file in 'debian/gbp.conf' with the following content, so that I can run 'gbp buildpackage' instead of the lengthy 'gbp buildpackage --git-upstream-tree=v0.2.0 --git-debian-branch=debian/sid': [buildpackage] git-upstream-tree=v0.2.0 git-debian-branch=debian/sid But when I run "gbp buildpackage --git-verbose" I get: gbp:debug: ['git', 'rev-parse', '--show-cdup'] gbp:debug: ['git', 'rev-parse', '--is-bare-repository'] gbp:debug: /bin/true [] [] gbp:debug: ['git', 'status', '--porcelain'] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/debian/sid'] gbp:error: You are not on branch 'master' but on 'debian/sid' gbp:error: Use --git-ignore-branch to ignore or --git-debian-branch to set the branch name. So it seems that the contents of 'debian/gbp.conf' are not checked before the error message regarding the branch names is printed. I would have expected that the package builds normally. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (1000, 'unstable'), (500, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (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.16.2 ii git 1:2.8.0~rc3-1 ii man-db 2.7.5-1 ii python-dateutil 2.4.2-1 ii python-pkg-resources 20.7.0-1 ii python-six 1.10.0-3 pn python:any <none> Versions of packages git-buildpackage recommends: ii cowbuilder 0.79 ii pbuilder 0.223 ii pristine-tar 1.33 ii python-requests 2.9.1-3 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
--- End Message ---
--- Begin Message ---On Mon, Apr 18, 2016 at 11:20:16PM +0200, Tim Dengel wrote: > Package: git-buildpackage > Version: 0.7.3 > Severity: minor > > Dear Maintainer, > > the package I'm building has its upstream branch on 'master' (the current > release on tag v0.2.0) and the debian branch for sid on 'debian/sid'. I > therefore have created a configuration file in 'debian/gbp.conf' with the > following content, so that I can run 'gbp buildpackage' instead of the > lengthy 'gbp buildpackage --git-upstream-tree=v0.2.0 > --git-debian-branch=debian/sid': > > [buildpackage] > git-upstream-tree=v0.2.0 > git-debian-branch=debian/sid --- man gbp-buildpackage CONFIGURATION FILES Several gbp.conf files are parsed to set defaults for the above command-line arguments. See the gbp.conf(5)> manpage for details. All options in the config files must be specified without the 'git-' prefix. So e.g. --git-debian-branch=debian/sid becomes in gbp.conf: [buildpackage] debian-dir = debian/sid --- So drop the git- and it will work. -- Guido
--- End Message ---

