Package: git-buildpackage
Version: 0.6.0~git20120601
Severity: important

The script git-dch fails with a python trace when using the --release option:

$ git-dch --release
Traceback (most recent call last):
  File "/usr/bin/git-dch", line 5, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib/python2.7/dist-packages/gbp/scripts/dch.py", line 442, in main
    since = repo.find_version(options.debian_tag, cp['Version'])
  File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 54, in 
find_version
    out, ret = self.__git_getoutput('cat-file', args=['-p', legacy_tag])
AttributeError: 'DebianGitRepository' object has no attribute 
'_DebianGitRepository__git_getoutput'

Other options are probably triggering this error as well.

AFAICS, all scripts using DebianGitRepository.find_version() are
affected: git-dch, git-import-dsc

The reason for this is the use of __git_getoutput (double underscore
prefix), which is no longer supported.


This bug affects the wheezy version and is fixed in sid since version
0.6.0~git20120803.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts       2.12.4
ii  git              1:1.7.10.4-1
ii  python           2.7.3~rc2-1
ii  python-dateutil  1.5+dfsg-0.1
ii  python2.6        2.6.8-0.2
ii  python2.7        2.7.3~rc2-2.1

Versions of packages git-buildpackage recommends:
ii  cowbuilder    0.70
ii  pristine-tar  1.25

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-3
ii  unzip          6.0-7

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to