ISourcePackagePublishingHistory.changes_file_text is a Bytes field exported as text, which causes encoding errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Julian Edwards |
Bug Description
Changes files are stored in the librarian, which means they could conceivably be binary files. cprov says, "changesfiles are always text, but we have a hard time figuring out which encoding it uses during upload processing." So changes files might be stored in the librarian with an arbitrarily strange encoding.
ISourcePackageP
There are two solutions. One is to coerce uploaded changes files to UTF-8 before storing them in the librarian. The other is to define a BytesPublishabl
Changed in soyuz: | |
assignee: | nobody → julian-edwards |
importance: | Undecided → High |
milestone: | none → 2.2.4 |
status: | New → Triaged |
Changed in soyuz: | |
status: | Triaged → In Progress |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
'source_ package_ publishing. changes_ file_text' was temporarily removed from the API for 2.2.3 and it solves the issue for this cycle (code available for tests in staging. launchpad. net)
We will fix the encoding problem and re-export it in 2.2.4.