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

Issue 23301019: Remove third_party/cld2 once (Closed)

Created:
7 years, 4 months ago by hajimehoshi
Modified:
7 years, 3 months ago
Reviewers:
Isaac (away), M-A Ruel
CC:
chromium-reviews, Takashi Toyoshima, cpu_(ooo_6.6-7.5)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Remove third_party/cld2 once I aim to change the directory where CLD is fetched to 'third_party/cld2/src', and this CL is the first step to perform that. BUG=240647

Patch Set 1 #

Patch Set 2 : Modify DEPS to remove the directory #

Patch Set 3 : Replace 'rm' with a python script (we can't use 'rm' on Windows) #

Total comments: 4

Patch Set 4 : nits #

Total comments: 15

Patch Set 5 : (rebasing) #

Patch Set 6 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -9 lines) Patch
M DEPS View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
A + build/util/remove_tree.py View 1 2 3 4 5 1 chunk +12 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hajimehoshi
Can you take a look? Thanks.
7 years, 4 months ago (2013-08-22 06:00:03 UTC) #1
hajimehoshi
This is just reverting r218252, and I'll commit this with TBR. On 2013/08/22 06:00:03, hajimehoshi ...
7 years, 4 months ago (2013-08-22 06:03:18 UTC) #2
Isaac (away)
This isn't going to be sufficient -- gclient does not automatically delete unused directories. You ...
7 years, 4 months ago (2013-08-22 06:03:21 UTC) #3
Isaac (away)
Do not TBR structural DEPS changes. Ever.
7 years, 4 months ago (2013-08-22 06:03:40 UTC) #4
hajimehoshi
Sorry. On 2013/08/22 06:03:40, Isaac wrote: > Do not TBR structural DEPS changes. Ever.
7 years, 4 months ago (2013-08-22 06:04:34 UTC) #5
Isaac (away)
I mean, the revert isn't going to break anything. But it won't solve your problem. ...
7 years, 4 months ago (2013-08-22 06:04:41 UTC) #6
hajimehoshi
As we discussed, I added a hook to remove the existing directory of CLD2. Isaac, ...
7 years, 4 months ago (2013-08-23 07:38:20 UTC) #7
Isaac (away)
I have some style nits about this python script; adding M-A about whether this is ...
7 years, 3 months ago (2013-08-26 23:17:39 UTC) #8
hajimehoshi
Thanks! We want to start integrating CLD2 at 9/2 at the latest. We need to ...
7 years, 3 months ago (2013-08-27 03:40:50 UTC) #9
hajimehoshi
BTW, dsites@ suggested to upgrade the version of CLD2 for some security fix. Is it ...
7 years, 3 months ago (2013-08-27 04:05:57 UTC) #10
hajimehoshi
We (the Translate team Tokyo) decided to postpone the deadline and make an effort to ...
7 years, 3 months ago (2013-08-28 06:04:02 UTC) #11
Isaac (away)
more python nits. https://codereview.chromium.org/23301019/diff/23001/DEPS File DEPS (right): https://codereview.chromium.org/23301019/diff/23001/DEPS#newcode626 DEPS:626: "action": ["python", "src/build/util/remove_tree.py", "src/third_party/cld2"], Are you ...
7 years, 3 months ago (2013-08-28 06:22:55 UTC) #12
Isaac (away)
https://codereview.chromium.org/23301019/diff/23001/build/util/remove_tree.py File build/util/remove_tree.py (right): https://codereview.chromium.org/23301019/diff/23001/build/util/remove_tree.py#newcode18 build/util/remove_tree.py:18: if len(argv) != 2: Actually you should use: return ...
7 years, 3 months ago (2013-08-28 06:24:17 UTC) #13
hajimehoshi
Thank you! https://codereview.chromium.org/23301019/diff/23001/DEPS File DEPS (right): https://codereview.chromium.org/23301019/diff/23001/DEPS#newcode626 DEPS:626: "action": ["python", "src/build/util/remove_tree.py", "src/third_party/cld2"], This seems working ...
7 years, 3 months ago (2013-08-28 06:47:15 UTC) #14
M-A Ruel
And what about breaking reverse sync? E.g. sync back from revision-post-this-CL to reivison-before-this-CL. I think ...
7 years, 3 months ago (2013-08-28 14:56:54 UTC) #15
hajimehoshi
7 years, 3 months ago (2013-08-29 06:42:06 UTC) #16
On 2013/08/28 14:56:54, M-A Ruel wrote:
> And what about breaking reverse sync? E.g. sync back from
revision-post-this-CL
> to reivison-before-this-CL. I think you should go the "rename the directory"
> way.

Hmm, it could be that CLD2 is fetched at 'third_party/cld2/src' at a future
revision and this remains at a revision-before-this-CL, which causes conflict.

OK, we'll adopt the "renaming the directory" way.  Maybe the new path will be
"third_party/cld_2/src".  Thank you for your advice.

BTW, we realized that 'third_party/cld/2/src/...' is also dangerous because some
tools including license.py don't consider nested third-party libraries even
though 'third_party/cld' is managed under the Chromium repository. We need to
adopt a completely separated new directory.

Powered by Google App Engine
This is Rietveld 408576698