[Pkg-python-debian-commits] trunk r104: Add support for Checksums-{Sha1, Sha256} multivalued fields in Dsc and

john.wright at hp.com john.wright at hp.com
Thu May 1 05:52:14 UTC 2008


------------------------------------------------------------
revno: 104
committer: john.wright at hp.com
branch nick: dpkg-changes
timestamp: Wed 2008-04-30 23:52:14 -0600
message:
  Add support for Checksums-{Sha1,Sha256} multivalued fields in Dsc and
  Changes classes
modified:
  debian/changelog
  debian_bundle/deb822.py
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-04-30 23:31:50 +0000
+++ b/debian/changelog	2008-05-01 05:52:14 +0000
@@ -12,8 +12,10 @@
       size_field_behavior attribute to 'dak'.  (Ideally, deb822 would detect
       which behavior to use if given an actual Release file as input, but this
       is not implemented yet.)  (Closes: #473259)
+    - Add support for Checksums-{Sha1,Sha256} multivalued fields in Dsc and
+      Changes classes
 
- -- John Wright <jsw at debian.org>  Wed, 30 Apr 2008 17:29:51 -0600
+ -- John Wright <jsw at debian.org>  Wed, 30 Apr 2008 23:49:15 -0600
 
 python-debian (0.1.9) unstable; urgency=low
 

=== modified file 'debian_bundle/deb822.py'
--- a/debian_bundle/deb822.py	2008-04-30 23:28:35 +0000
+++ b/debian_bundle/deb822.py	2008-05-01 05:52:14 +0000
@@ -472,12 +472,16 @@
 class Dsc(_multivalued):
     _multivalued_fields = {
         "files": [ "md5sum", "size", "name" ],
+        "checksums-sha1": ["sha1", "size", "name"],
+        "checksums-sha256": ["sha256", "size", "name"],
     }
 
 
 class Changes(_multivalued):
     _multivalued_fields = {
         "files": [ "md5sum", "size", "section", "priority", "name" ],
+        "checksums-sha1": ["sha1", "size", "section", "priority", "name"],
+        "checksums-sha256": ["sha256", "size", "section", "priority", "name"],
     }
 
     def get_pool_path(self):



More information about the pkg-python-debian-commits mailing list