snapcraft-parser doesn't work

Bug #1605541 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Critical
Joe Talbott

Bug Description

I've installed snapcraft-parser 2.13 in xenial-proposed and it doesn't work:

$ snapcraft-parser -i https://wiki.ubuntu.com/snapcraft/parts?action=raw
expected a single document in the stream in "<byte string>", line 3,
column 1: origin: https://github.com/dplan ... ^ but found
another document in "<byte string>", line 10, column 1: ---
^

Tags: regression
Leo Arias (elopio)
tags: added: regression
Changed in snapcraft:
importance: Undecided → Critical
Revision history for this message
Leo Arias (elopio) wrote :

Setting priority as critical because it is blocking our 2.13 release.

Changed in snapcraft:
status: New → Confirmed
Joe Talbott (joetalbott)
Changed in snapcraft:
assignee: nobody → Joe Talbott (joetalbott)
Revision history for this message
Joe Talbott (joetalbott) wrote :

The issue is the wiki now contains '\r\n' line endings and we were only splitting on '\n---\n' so the pattern never matched. I'm working on a solution now.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
milestone: none → 2.13.1
status: Confirmed → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.