Skip to content
Snippets Groups Projects
Commit 47b7254f authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Add sha512 as a valid field in dsc metadata

It has existed, at least at some point in the past, even though I'm
currently unable to reproduce a dsc with that field in it. (Hence the
lack of test fixture...)
parent d84d68a8
No related branches found
No related tags found
1 merge request!208Add sha512 as a valid field in dsc metadata
......@@ -49,6 +49,12 @@ class DebianFileMetadata:
uri = attr.ib(type=str)
"""URL of this specific file"""
# Some of the DSC files imported in swh apparently had a Checksums-SHA512
# field which got recorded in the archive. Current versions of dpkg-source
# don't seem to generate them, but keep the field available for
# future-proofing.
sha512 = attr.ib(type=str, default="")
@attr.s
class DebianPackageChangelog:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment