Package: git-buildpackage
Version: 0.6.0~git20120315
Severity: normal

Hello

gbp-create-remote-repo fails with the following error:

Traceback (most recent call last):
  File "/usr/bin/gbp-create-remote-repo", line 5, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib/python2.7/dist-packages/gbp/scripts/create_remote_repo.py", 
line 180, in main
    if repo.has_pristine_tar_branch() and options.pristine_tar:
AttributeError: 'GitRepository' object has no attribute 
'has_pristine_tar_branch'


This error occured while creating a brand new package this way:
(Slightly edited to remove cruft like gpg sig and whatnot)

$ mkdir pan-0.135
$ cd pan-0.135/
$ git init
Initialized empty Git repository in 
/home/domi/debian-dev/pan-stuff/test/pan-0.135/.git/
$ git-import-orig -u 0.135 ../../pan-0.135.tar.bz2
What will be the source package name? [pan] 
gbp:info: Importing '../../pan-0.135.tar.bz2' to branch 'master'...
gbp:info: Source package is pan
gbp:info: Upstream version is 0.135
pristine-tar: committed pan_0.135.orig.tar.bz2.delta to branch pristine-tar
gbp:info: Successfully imported version 0.135 of ../../pan-0.135.tar.bz2
$ gbp-create-remote-repo --pristine-tar -v
gbp:debug: ['git', 'rev-parse', '--show-cdup']
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'show-ref', 'refs/heads/master']
gbp:debug: ['git', 'show-ref', 'refs/heads/upstream']
Traceback (most recent call last):
  File "/usr/bin/gbp-create-remote-repo", line 5, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib/python2.7/dist-packages/gbp/scripts/create_remote_repo.py", 
line 180, in main
    if repo.has_pristine_tar_branch() and options.pristine_tar:
AttributeError: 'GitRepository' object has no attribute 
'has_pristine_tar_branch'

A similar error occurs with testing version of git-buildpackage

All the best

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

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-buildpackage depends on:
ii  devscripts       2.11.4
ii  git              1:1.7.9.1-1
ii  python           2.7.2-10
ii  python-dateutil  1.5-1
ii  python2.6        2.6.7-4
ii  python2.7        2.7.3~rc1-1

Versions of packages git-buildpackage recommends:
ii  cowbuilder    0.68
ii  pristine-tar  1.22

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

-- no debconf information



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

Reply via email to