src:elinks fails to import with the edge snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Fix Released
|
Undecided
|
Robie Basak |
Bug Description
$ git ubuntu import --no-push --no-clean elinks
11/07/2017 15:55:03 - INFO:Ubuntu Server Team importer v0.6.2
11/07/2017 15:55:03 - INFO:Using git repository at /tmp/tmpxe_raonn
11/07/2017 15:55:04 - ERROR:Command exited 128: git fetch pkg
11/07/2017 15:55:04 - ERROR:stdout:
11/07/2017 15:55:04 - ERROR:stderr: fatal: could not read Username for 'https:/
11/07/2017 15:55:05 - ERROR:Command exited 128: git fetch pkg "refs/tags/
11/07/2017 15:55:05 - ERROR:stdout:
11/07/2017 15:55:05 - ERROR:stderr: fatal: could not read Username for 'https:/
11/07/2017 15:55:11 - INFO:Importing patches-unapplied 0.11.4-3 to debian/lenny
11/07/2017 15:55:51 - INFO:Importing patches-unapplied 0.12~pre2.dfsg0-1 to debian/sid
11/07/2017 15:56:15 - ERROR:Command exited 1: gbp import-orig --no-merge --upstream-branch do-not-push --pristine-tar --no-interactive --no-symlink-orig '--upstream-
11/07/2017 15:56:15 - ERROR:stdout:
11/07/2017 15:56:15 - ERROR:stderr: gbp:error: The orig tarball contains .git metadata - giving up.
11/07/2017 15:56:15 - WARNING:Unable to pristine-tar import orig tarball for 0.12~pre2.dfsg0-1
Traceback (most recent call last):
File "/snap/
ubuntu_
File "/snap/
spi.
File "/snap/
import_
File "/snap/
return repo.dir_
File "/snap/
top_
File "/snap/
pygit2.
_pygit2.GitError: Failed to insert entry. Invalid name for a tree entry - .git
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/snap/
load_
File "/snap/
sys.
File "/snap/
retry_
File "/snap/
allow_
File "/snap/
raise GitUbuntuImport
gitubuntu.
11/07/2017 15:56:16 - INFO:Leaving /tmp/tmpxe_raonn as directed
$ snap info git-ubuntu
...
installed: 0.6.2+git10.49f99f7 (328) 99MB classic
Related branches
- Andreas Hasenack: Approve
- Server Team CI bot: Approve (continuous-integration)
- git-ubuntu developers: Pending requested
-
Diff: 691 lines (+554/-14)4 files modifiedgitubuntu/git_repository.py (+256/-3)
gitubuntu/importer.py (+1/-1)
gitubuntu/source_information.py (+5/-2)
gitubuntu/test_git_repository.py (+292/-8)
Changed in usd-importer: | |
assignee: | nobody → Nish Aravamudan (nacc) |
assignee: | Nish Aravamudan (nacc) → Robie Basak (racb) |
milestone: | none → lp-beta |
tags: | added: import-edge-case |
Changed in usd-importer: | |
status: | New → In Progress |
Changed in usd-importer: | |
status: | In Progress → Fix Committed |
tags: | added: import |
Changed in usd-importer: | |
status: | Fix Committed → Fix Released |
Also affects: lockfile-progs
$ git ubuntu import lockfile-progs --no-push /git.launchpad. net': terminal prompts disabled
11/08/2017 13:55:28 - INFO:Ubuntu Server Team importer v0.6.2
11/08/2017 13:55:28 - INFO:Using git repository at /tmp/tmp5m3kpatk
11/08/2017 13:55:30 - ERROR:Command exited 128: git fetch pkg
11/08/2017 13:55:30 - ERROR:stdout:
11/08/2017 13:55:30 - ERROR:stderr: fatal: could not read Username for 'https:/
11/08/2017 13:55:31 - ERROR:Command exited 128: git fetch pkg "refs/tags/ *:refs/ tags/importer/ *" /git.launchpad. net': terminal prompts disabled
11/08/2017 13:55:31 - ERROR:stdout:
11/08/2017 13:55:31 - ERROR:stderr: fatal: could not read Username for 'https:/
11/08/2017 13:55:36 - INFO:Importing patches-unapplied 0.1.11-0.1 to debian/lenny git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ importer. py", line 1397, in import_publishes sinfo=ubuntu_ sinfo, git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ importer. py", line 1008, in import_ unapplied_ spi dsc_pathname git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ importer. py", line 709, in import_ patches_ unapplied_ tree tree_hash = dsc_to_ tree_hash( repo, dsc_pathname) git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ importer. py", line 118, in dsc_to_tree_hash to_tree( extracted_ dir) git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ git_repository. py", line 1566, in dir_to_tree tree_object= tree, git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ git_repository. py", line 1527, in _add_missing_ tree_dirs GIT_FILEMODE_ TREE, # attr
Traceback (most recent call last):
File "/snap/
ubuntu_
File "/snap/
spi.
File "/snap/
import_
File "/snap/
return repo.dir_
File "/snap/
top_
File "/snap/
pygit2.
_pygit2.GitError: Failed to insert entry. Invalid name for a tree entry - .git
The above exception was the direct cause of the following exception:
Traceback (most recent call last): git-ubuntu/ 328/bin/ git-ubuntu" , line 11, in <module> entry_point( 'gitubuntu= =0.6.2' , 'console_scripts', 'git-ubuntu')() git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ __main_ _.py", line 243, in main exit(args. func(args) ) git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ importer. py", line 1520, in cli_main backoffs= args.retry_ backoffs, git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ importer. py", line 334, in main applied_ failures= allow_applied_ failures, git-ubuntu/ 328/lib/ python3. 6/site- packages/ gitubuntu/ importer. py", line 1412, in import_publishes Error(msg) from e importer. GitUbuntuImport Error: Unable to import patches-unapplied 0.1.11-0.1 to debian
File "/snap/
load_
File "/snap/
sys.
File "/snap/
retry_
File "/snap/
allow_
File "/snap/
raise GitUbuntuImport
gitubuntu.