git-buildpackage incorrectly handles --notify command line parameter

Bug #1112831 reported by Volodymyr Kolesnykov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-buildpackage (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Sample run:

$ git-buildpackage --git-verbose --notify=off --git-upstream-branch=master --git-force-create --git-upstream-tag=master -S -sa
gbp:debug: ['git', 'rev-parse', '--show-cdup']
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: debuild -d clean [] []
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Вход в каталог `/var/www/git/php-chuid'
dh_auto_clean
phpize5 --clean
Cleaning..
rm -rf debian/chuid.ini tmp-php.ini
make[1]: Выход из каталога `/var/www/git/php-chuid'
   dh_clean
gbp:debug: ['git', 'status']
gbp:debug: ['git', 'symbolic-ref', 'HEAD']
gbp:debug: ['git', 'show-ref', 'refs/heads/master']
gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
gbp:debug: ['git', 'ls-tree', 'master']
gbp:info: php-chuid_0.5.0.orig.tar.gz does not exist, creating from 'master'
gbp:debug: Building upstream tarball with compression 'gzip -9'
gbp:debug: debuild -i -I ['--notify=off', '-S', '-sa'] []
debuild: unknown dpkg-buildpackage/debuild option: --notify=off

In this case "--notify=off" is incorrectly passed to dpkg-buildpackage.
Moreover, after the build fails (due to "unknown dpkg-buildpackage/debuild option: --notify=off"), I still receive a desktop notification though --notify=off should have disabled it.

$ apt-cache policy git-buildpackage
git-buildpackage:
  Installed: 0.6.0~git20120601
  Candidate: 0.6.0~git20120601
  Version table:
 *** 0.6.0~git20120601 0
        500 http://ua.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
        100 /var/lib/dpkg/status

Related branches

Revision history for this message
Guido Günther (agx) wrote :
Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :

Yes, you are right — --git-notify works fine, thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package git-buildpackage - 0.6.0~git20130414

---------------
git-buildpackage (0.6.0~git20130414) unstable; urgency=low

  * [e948bd3] Don't try access source before it's filled

 -- Guido Günther <email address hidden> Sat, 13 Apr 2013 19:36:57 +0200

Changed in git-buildpackage (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.