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

Unified Diff: runtime/tools/create_archive.py

Issue 2545783002: Ensure consistent file ordering in observatory tarball (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/create_archive.py
diff --git a/runtime/tools/create_archive.py b/runtime/tools/create_archive.py
index 7b0e99d7787d3911dda9589d65c4c1400e48fe02..fd7eb0673f48d0bf0c4e25974f70fcd748e91f41 100644
--- a/runtime/tools/create_archive.py
+++ b/runtime/tools/create_archive.py
@@ -132,6 +132,9 @@ def main(args):
continue
files.append(src_path)
+ # Ensure consistent file ordering for reproducible builds.
+ files.sort()
+
# Write out archive.
makeArchive(options.tar_output,
options.client_root,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698