parser fails when getting git sources that have merge conflicts
Bug #1614520 reported by
Joe Talbott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Undecided
|
Joe Talbott |
Bug Description
This shouldn't bring the parser to a grinding halt.
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
osepht@ poplar: ~/src/git/ snapcraft$ snapcraft-parser -i index /github. com/josepht/ index-test snapcraft- parser" , line 29, in <module> internal. parser. main() python3/ dist-packages/ snapcraft/ internal/ parser. py", line 87, in main python3/ dist-packages/ snapcraft/ internal/ parser. py", line 329, in run index(output) python3/ dist-packages/ snapcraft/ internal/ parser. py", line 292, in _process_index validation_ entries) python3/ dist-packages/ snapcraft/ internal/ parser. py", line 264, in _try_process_entry validation_ entries) python3/ dist-packages/ snapcraft/ internal/ parser. py", line 241, in _process_wiki_entry entry(data) python3/ dist-packages/ snapcraft/ internal/ parser. py", line 198, in _process_entry python3/ dist-packages/ snapcraft/ internal/ sources. py", line 238, in pull python3. 5/subprocess. py", line 581, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '['git', '-C', '/tmp/httpsgith ub.comjosephtin dex-test. git', 'pull', '--recurse- submodules= yes', 'https:/ /github. com/josepht/ index-test. git', 'HEAD']' returned non-zero exit status 1
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https:/
* branch HEAD -> FETCH_HEAD
Auto-merging README.md
CONFLICT (content): Merge conflict in README.md
Automatic merge failed; fix conflicts and then commit the result.
Traceback (most recent call last):
File "/usr/bin/
wiki_errors = snapcraft.
File "/usr/lib/
return run(args)
File "/usr/lib/
data = _process_
File "/usr/lib/
pending_
File "/usr/lib/
pending_
File "/usr/lib/
parts_list, after_parts = _process_
File "/usr/lib/
handler.pull()
File "/usr/lib/
self.source, refspec])
File "/usr/lib/
raise CalledProcessEr
subprocess.