archiveuploader blows up if Changed-By is missing in changes file

Bug #619157 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Jelmer Vernooij

Bug Description

We rely on 'Changed-By' being set in a .changes file in various places, but don't actually check it is present during upload. If it isn't set, this causes KeyErrors (rather than UploadErrors) in the upload processor. It seems reasonable to require Changed-By for the time being, as all of the existing tools that generate .changes set it.

ChangesFile also doesn't have several fields as mandatory while they are mandatory according to Debian policy, some of which we rely on (in particular "Date"):

http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Changed-By

I'll fix this as part of my test work for NascentUploadFile.

Tags: lp-soyuz qa-ok

Related branches

Jelmer Vernooij (jelmer)
Changed in soyuz:
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Jelmer Vernooij (jelmer)
Changed in soyuz:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in soyuz:
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.