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

Issue 2072713005: [Mac/iOS/GN] Use rsync in copy_bundle_data instead of shutil.copytree. (Closed)

Created:
4 years, 6 months ago by Robert Sesek
Modified:
4 years, 5 months ago
CC:
chromium-reviews, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac/iOS/GN] Use rsync in copy_bundle_data instead of shutil.copytree. As the TODO this fixes states, copytree preserves mtimes. This can cause overbuild when building bundled products. Switch to using rsync to have more control over copy parameters. BUG=297668, 620950 R=dpranke@chromium.org Originally Committed: https://crrev.com/0cc137a639e9eb687b0fbde47983d672bcc8ef9f Reverted: https://crrev.com/e127bb46966c5d7eec116a9612502e1cd0ea20cf Committed: https://crrev.com/e10a42e0d13e56e035a290b66a873442a7f71cf7 Cr-Commit-Position: refs/heads/master@{#400570}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Proper fix #

Patch Set 4 : Trybot analyze #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -13 lines) Patch
M build/toolchain/mac/copy_bundle_data.py View 1 2 2 chunks +28 lines, -13 lines 0 comments Download
M testing/buildbot/trybot_analyze_config.json View 1 2 3 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 14 (6 generated)
sdefresne
https://codereview.chromium.org/2072713005/diff/20001/build/toolchain/mac/copy_bundle_data.py File build/toolchain/mac/copy_bundle_data.py (right): https://codereview.chromium.org/2072713005/diff/20001/build/toolchain/mac/copy_bundle_data.py#newcode104 build/toolchain/mac/copy_bundle_data.py:104: subprocess.check_call( I'm not sure this is correct, see my ...
4 years, 6 months ago (2016-06-17 17:17:28 UTC) #2
Robert Sesek
https://codereview.chromium.org/2072713005/diff/20001/build/toolchain/mac/copy_bundle_data.py File build/toolchain/mac/copy_bundle_data.py (right): https://codereview.chromium.org/2072713005/diff/20001/build/toolchain/mac/copy_bundle_data.py#newcode104 build/toolchain/mac/copy_bundle_data.py:104: subprocess.check_call( On 2016/06/17 17:17:28, sdefresne wrote: > I'm not ...
4 years, 6 months ago (2016-06-17 23:11:26 UTC) #4
Dirk Pranke
lgtm
4 years, 6 months ago (2016-06-18 01:09:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072713005/60001
4 years, 6 months ago (2016-06-18 01:09:39 UTC) #7
Dirk Pranke
cq'ing to see what happens and so we can flip the builders over if this ...
4 years, 6 months ago (2016-06-18 01:09:44 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-18 01:58:20 UTC) #10
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/e10a42e0d13e56e035a290b66a873442a7f71cf7 Cr-Commit-Position: refs/heads/master@{#400570}
4 years, 6 months ago (2016-06-18 02:00:03 UTC) #12
Dan Beam
4 years, 5 months ago (2016-07-13 01:20:44 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2072713005/diff/60001/testing/buildbot/trybot...
File testing/buildbot/trybot_analyze_config.json (right):

https://codereview.chromium.org/2072713005/diff/60001/testing/buildbot/trybot...
testing/buildbot/trybot_analyze_config.json:20: "build/toolchain/mac/*.py",
fyi: this string is fed to re.compile()[1], not glob()[2], so this will match:

  build/toolchain/mac/////.py

but not

  build/toolchain/mac/whatever.py

as you were probably expecting.

[1]
https://cs.chromium.org/chromium/build/scripts/slave/recipe_modules/filter/ap...
[2] https://docs.python.org/2/library/glob.html

Powered by Google App Engine
This is Rietveld 408576698