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

Issue 158543002: Let MakeZip() copy mtimes for toplevel build directory files. (Closed)

Created:
6 years, 10 months ago by Nico
Modified:
6 years, 10 months ago
Reviewers:
M-A Ruel, Drew Haven
CC:
chromium-reviews, cmp-cc_chromium.org, ilevy-cc_chromium.org, kjellander+cc_chromium.org
Visibility:
Public.

Description

Let MakeZip() copy mtimes for toplevel build directory files. MakeZip uses shutil.copytree to copy directories, which internally uses copy2 (which is like copy but copies mtimes, permission bits, and flags too). Regular files are copied with CopyFileToDir, which up to now only used copy instead of copy2. Make them consistent. (Needed for https://codereview.chromium.org/157743004/) BUG=142642 TBR=maruel@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=250024

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M build/scripts/common/chromium_utils.py View 1 2 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Nico
6 years, 10 months ago (2014-02-09 23:11:39 UTC) #1
Drew Haven
lgtm https://codereview.chromium.org/158543002/diff/30001/build/scripts/common/chromium_utils.py File build/scripts/common/chromium_utils.py (right): https://codereview.chromium.org/158543002/diff/30001/build/scripts/common/chromium_utils.py#newcode492 build/scripts/common/chromium_utils.py:492: shutil.copy2(src_path, os.path.join(dest_dir, src_file)) Dunno if maybe we should ...
6 years, 10 months ago (2014-02-09 23:36:31 UTC) #2
Nico
Thanks! I looked through the existing callers ( https://code.google.com/p/chromium/codesearch#search/&q=CopyFileToDir&sq=package:chromium&type=cs ) and didn't see anything that ...
6 years, 10 months ago (2014-02-09 23:41:01 UTC) #3
Nico
The CQ bit was checked by thakis@chromium.org
6 years, 10 months ago (2014-02-09 23:41:05 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-09 23:41:14 UTC) #5
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 10 months ago (2014-02-09 23:41:14 UTC) #6
Nico
The CQ bit was checked by thakis@chromium.org
6 years, 10 months ago (2014-02-09 23:42:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/158543002/80001
6 years, 10 months ago (2014-02-09 23:42:14 UTC) #8
commit-bot: I haz the power
Change committed as 250024
6 years, 10 months ago (2014-02-09 23:42:59 UTC) #9
M-A Ruel
6 years, 10 months ago (2014-02-10 15:21:38 UTC) #10
Message was sent while issue was closed.
Rubberstamp lgtm.

Powered by Google App Engine
This is Rietveld 408576698