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

Issue 1845943004: setup_links.py: Use junctions instead of symlinks on Windows. (Closed)

Created:
4 years, 8 months ago by kjellander_webrtc
Modified:
4 years, 8 months ago
Reviewers:
tommi, brucedawson
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc, brucedawson1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

setup_links.py: Use junctions instead of symlinks on Windows. Instead of creating symlinks on Windows, the script is now: * creating a junction for directories * copying individual files. This makes 'gclient sync' and 'gclient runhooks' no longer require administrator's privileges. If the script is run with administrator's privileges, a warning will be printed, informing the user that it's not recommended. Also clean up a few old documentation references to the Chromium SVN->Git transition. BUG=webrtc:4911 TESTED=Running the script with+without administrator's privileges. I also tested the case of this change being rolled back, in which case I verified that the copied files are still being deleted using the same cleanup code path as the previous symlinks. NOTRY=True Committed: https://crrev.com/844dd2ad4bf7ecd6353a69a50105ea7c473f01f9 Cr-Commit-Position: refs/heads/master@{#12233}

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -33 lines) Patch
M setup_links.py View 7 chunks +21 lines, -33 lines 2 comments Download

Messages

Total messages: 24 (16 generated)
kjellander_webrtc
4 years, 8 months ago (2016-04-04 12:22:34 UTC) #12
tommi
lgtm
4 years, 8 months ago (2016-04-04 16:43:51 UTC) #13
brucedawson
Thanks for this! lgtm I assume there will be a corresponding change to the instructions ...
4 years, 8 months ago (2016-04-04 17:44:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845943004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845943004/80001
4 years, 8 months ago (2016-04-05 07:09:25 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:80001)
4 years, 8 months ago (2016-04-05 07:14:03 UTC) #20
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/844dd2ad4bf7ecd6353a69a50105ea7c473f01f9 Cr-Commit-Position: refs/heads/master@{#12233}
4 years, 8 months ago (2016-04-05 07:14:08 UTC) #22
tommi
https://codereview.webrtc.org/1845943004/diff/80001/setup_links.py File setup_links.py (right): https://codereview.webrtc.org/1845943004/diff/80001/setup_links.py#newcode96 setup_links.py:96: 'third_party/libevent', fyi - I noticed that this directory in ...
4 years, 8 months ago (2016-04-16 19:41:33 UTC) #23
kjellander_webrtc
4 years, 8 months ago (2016-04-18 03:10:49 UTC) #24
Message was sent while issue was closed.
https://codereview.webrtc.org/1845943004/diff/80001/setup_links.py
File setup_links.py (right):

https://codereview.webrtc.org/1845943004/diff/80001/setup_links.py#newcode96
setup_links.py:96: 'third_party/libevent',
On 2016/04/16 19:41:33, tommi-webrtc wrote:
> fyi - I noticed that this directory in Chromium is under src/base/third_party
> and not src/third_party.  Does that mean webrtc doesn't really need it?

That seems to be the case. It must have been moved out at some point.
Cleaning up in https://codereview.webrtc.org/1893953002/

Powered by Google App Engine
This is Rietveld 408576698