2019-07-12 01:50:35 |
Rafael David Tinoco |
description |
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://rafaeldtinoco@git.launchpad.net/~usd-import-team/ubuntu/+source/samba (push)
rafaeldtinoco https://git.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba (fetch)
rafaeldtinoco ssh://rafaeldtinoco@git.launchpad.net/~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! |
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://rafaeldtinoco@git.launchpad.net/~usd-import-team/ubuntu/+source/samba (push)
rafaeldtinoco https://git.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba (fetch)
rafaeldtinoco ssh://rafaeldtinoco@git.launchpad.net/~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.
If I use the regular "git ubuntu export-orig":
(c)inaddy@ctdbdisco:~/work/sources/ubuntu/samba$ git ubuntu export-orig
07/12/2019 01:49:35 - INFO:Successfully fetched:
../samba_4.7.6+dfsg~ubuntu.orig.tar.gz
using fetch_orig_from_pristine_tar(source=ubuntu)
It works correctly.
Note that, because of the exception, I also lose the changes I was going to have added to quilt using "dpkg-source --commit" (which needs the orig source to exist).
As requested by Robie, I'm opening this bug so it can be better tracked.
Thanks! |
|