]> err.no Git - dak/commitdiff
[ajt] support for sha256 in generate_release
authorJames Troup <james@nocrew.org>
Tue, 13 Feb 2007 13:14:22 +0000 (13:14 +0000)
committerJames Troup <james@nocrew.org>
Tue, 13 Feb 2007 13:14:22 +0000 (13:14 +0000)
ChangeLog
dak/generate_releases.py

index 46a1d9de9da628c2dafcc1dbe4f5181973a3ecdc..3ebd7a4903e3a273c3473642ade5336b2161d0f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-02-08  Anthony Towns  <ajt@debian.org>
 
+       * dak/generate_releases.py (print_sha256_files): new function.
+       (main): use it.
+
        * dak/process_accepted.py (stable_install): fix name of template
        mail.
 
index 95b36b1f1f7dfa840eaefa0bd2a8128ad02e4075..c01a0c296c47d1ac680aa4b6fd3123108f8dda33 100755 (executable)
@@ -118,6 +118,9 @@ def print_md5_files (tree, files):
 def print_sha1_files (tree, files):
     print_md5sha_files (tree, files, apt_pkg.sha1sum)
 
+def print_sha256_files (tree, files):
+    print_md5sha_files (tree, files, apt_pkg.sha256sum)
+
 ################################################################################
 
 def main ():
@@ -286,6 +289,8 @@ def main ():
        print_md5_files(tree, files)
        out.write("SHA1:\n")
        print_sha1_files(tree, files)
+       out.write("SHA256:\n")
+       print_sha256_files(tree, files)
 
        out.close()
        if Cnf.has_key("Dinstall::SigningKeyring"):