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

Issue 228793002: gclient: Fix cache_dir functionality (Closed)

Created:
6 years, 8 months ago by borenet
Modified:
6 years, 8 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

gclient: Fix cache_dir functionality BUG=361155 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=262478

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address comments #

Patch Set 3 : Replace path separator for Windows case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -8 lines) Patch
M gclient.py View 1 chunk +2 lines, -2 lines 0 comments Download
M gclient_scm.py View 1 2 1 chunk +22 lines, -4 lines 0 comments Download
M tests/gclient_test.py View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
borenet
Is this a reasonable fix for this issue?
6 years, 8 months ago (2014-04-08 15:30:43 UTC) #1
iannucci
Good catch. lgtm https://codereview.chromium.org/228793002/diff/1/gclient_scm.py File gclient_scm.py (right): https://codereview.chromium.org/228793002/diff/1/gclient_scm.py#newcode152 gclient_scm.py:152: if hasattr(self, 'cache_dir') and self.cache_dir: if ...
6 years, 8 months ago (2014-04-08 17:29:36 UTC) #2
iannucci
+hinoka, agable for fyi
6 years, 8 months ago (2014-04-08 17:30:00 UTC) #3
borenet
Uploaded patch set 2. https://codereview.chromium.org/228793002/diff/1/gclient_scm.py File gclient_scm.py (right): https://codereview.chromium.org/228793002/diff/1/gclient_scm.py#newcode152 gclient_scm.py:152: if hasattr(self, 'cache_dir') and self.cache_dir: ...
6 years, 8 months ago (2014-04-08 18:42:13 UTC) #4
borenet
Uploaded patch set 3. https://codereview.chromium.org/228793002/diff/1/gclient_scm.py File gclient_scm.py (right): https://codereview.chromium.org/228793002/diff/1/gclient_scm.py#newcode159 gclient_scm.py:159: if full_cache_dir == actual_remote_url: On ...
6 years, 8 months ago (2014-04-08 19:23:42 UTC) #5
iannucci
lgtm
6 years, 8 months ago (2014-04-08 19:37:35 UTC) #6
borenet
The CQ bit was checked by borenet@google.com
6 years, 8 months ago (2014-04-08 19:38:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/borenet@google.com/228793002/40001
6 years, 8 months ago (2014-04-08 19:38:27 UTC) #8
commit-bot: I haz the power
Change committed as 262478
6 years, 8 months ago (2014-04-08 19:40:31 UTC) #9
v.putkinen
On 2014/04/08 19:40:31, I haz the power (commit-bot) wrote: > Change committed as 262478 Awesome, ...
6 years, 8 months ago (2014-04-09 08:56:59 UTC) #10
borenet
On 2014/04/09 08:56:59, v.putkinen wrote: > On 2014/04/08 19:40:31, I haz the power (commit-bot) wrote: ...
6 years, 8 months ago (2014-04-09 12:39:56 UTC) #11
v.putkinen
On 2014/04/09 08:56:59, v.putkinen wrote: > Awesome, thanks for the quick response! There is a ...
6 years, 8 months ago (2014-04-09 12:43:59 UTC) #12
borenet
On 2014/04/09 12:43:59, v.putkinen wrote: > On 2014/04/09 08:56:59, v.putkinen wrote: > > Awesome, thanks ...
6 years, 8 months ago (2014-04-09 12:55:08 UTC) #13
borenet
On 2014/04/09 12:55:08, borenet wrote: > On 2014/04/09 12:43:59, v.putkinen wrote: > > On 2014/04/09 ...
6 years, 8 months ago (2014-04-09 13:25:22 UTC) #14
v.putkinen
6 years, 8 months ago (2014-04-09 13:46:16 UTC) #15
Message was sent while issue was closed.
On 2014/04/09 13:25:22, borenet wrote:
> Just hacking around a bit, I was able to make gclient re-create the cache_dir
if
> it disappears by doing...

I tested this patch and it works nicely for me.

Powered by Google App Engine
This is Rietveld 408576698