New issue
Advanced search Search tips

Issue 629747 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

checksum of the source tarball generated by export_tarball.py changes in different environments

Reported by hujiajie...@gmail.com, Jul 20 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Steps to reproduce the problem:
1. Checkout Chromium source code
2. Generate source tarball with https://chromium.googlesource.com/chromium/tools/build/+/master/scripts/slave/recipe_modules/chromium/resources/export_tarball.py

What is the expected behavior?
The script should generate identical source tarballs in different environments (e.g. different machines or different checkout time), as long as they are using the same revision of the source code.

What went wrong?
The generated source tarballs are slightly different because different file ownership and file timestamps are encoded in the source tarball.

Did this work before? N/A 

Chrome version:   Channel: n/a
OS Version: 
Flash Version: 

The 'filter' parameter of TarFile.add() can be used to overwrite the ownership and timestamp of a TarInfo object, and thus generate deterministic source tarball in different environments.
 
Labels: TE-NeedsfurtherTriage
Components: Build
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 24 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment