Comment 0 for bug 1836286

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Currently, if I have:

(c)inaddy@ctdbdisco:~/work/sources/ubuntu/samba$ git remote -v
pkg https://git.launchpad.net/~usd-import-team/ubuntu/+source/samba (fetch)
pkg ssh://<email address hidden>/~usd-import-team/ubuntu/+source/samba (push)
rafaeldtinoco https://git.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba (fetch)
rafaeldtinoco ssh://<email address hidden>/~rafaeldtinoco/ubuntu/+source/samba (push)

If I'm using a local lp1831381-bionic-devel-ctdb based on pkg/samba/bionic-devel:

(c)inaddy@ctdbdisco:~/work/sources/ubuntu/samba$ git branch
* lp1831381-bionic-devel-ctdb
  lp1831381-disco-devel-ctdb
  lp1831381-disco-devel-ctdb-ppa
  lp1831381-eoan-devel-ctdb
  ubuntu/devel

And try to get orig source with --no-pristine-tar:

(c)inaddy@ctdbdisco:~/work/sources/ubuntu/samba$ git ubuntu export-orig --no-pristine-tar
07/12/2019 01:47:53 - INFO:New upstream version detected (4.7.6+dfsg~ubuntu) which is after the last published upstream version (4.10.0+dfsg).
Traceback (most recent call last):
  File "/snap/git-ubuntu/456/bin/git-ubuntu", line 11, in <module>
    load_entry_point('gitubuntu==0.7.4', 'console_scripts', 'git-ubuntu')()
  File "/snap/git-ubuntu/456/lib/python3.6/site-packages/gitubuntu/__main__.py", line 243, in main
    sys.exit(args.func(args))
  File "/snap/git-ubuntu/456/lib/python3.6/site-packages/gitubuntu/exportorig.py", line 122, in cli_main
    if len(tarballs) > 0:
TypeError: object of type 'NoneType' has no len()

The exception above happens. As requested by Robie, I'm opening this bug so it can be better tracked.

Thanks!