From: James Troup Date: Tue, 13 Feb 2007 13:14:22 +0000 (+0000) Subject: [ajt] support for sha256 in generate_release X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=dfb4ed40fa9a76e9cb0f59b008f61ce712793cae;p=dak.git [ajt] support for sha256 in generate_release --- diff --git a/ChangeLog b/ChangeLog index 46a1d9de..3ebd7a49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-02-08 Anthony Towns + * dak/generate_releases.py (print_sha256_files): new function. + (main): use it. + * dak/process_accepted.py (stable_install): fix name of template mail. diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 95b36b1f..c01a0c29 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -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"):