Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: tools/dartium/upload_steps.py

Issue 440233005: Added sha256 sums for build outputs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Took Kevin's Suggestions Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/bots/bot_utils.py ('k') | tools/signing_script.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dartium/upload_steps.py
diff --git a/tools/dartium/upload_steps.py b/tools/dartium/upload_steps.py
index 154acacdfeb44b80532e01a4bcc663aa9df13e04..9599ce7090481e52385ad30805b554da65caca8d 100755
--- a/tools/dartium/upload_steps.py
+++ b/tools/dartium/upload_steps.py
@@ -206,9 +206,10 @@ def UploadFile(local_path, remote_path, create_md5sum=False):
# to make sure the *.md5sum file contains the correct name.
assert '/' in remote_path and not remote_path.endswith('/')
mangled_filename = remote_path[remote_path.rfind('/') + 1:]
- local_md5sum = bot_utils.CreateChecksumFile(local_path, mangled_filename)
+ local_md5sum = bot_utils.CreateMD5ChecksumFile(local_path, mangled_filename)
gsutil.upload(local_md5sum, remote_path + '.md5sum', public=True)
-
+ local_sha256 = bot_utils.CreateSha256ChecksumFile(local_path, mangled_filename)
kevmoo 2014/08/06 01:18:23 long line?
+ gsutil.upload(local_sha256, remote_path + '.sha256sum', public=True)
def ExecuteCommand(cmd):
"""Execute a command in a subprocess.
« no previous file with comments | « tools/bots/bot_utils.py ('k') | tools/signing_script.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698