Move downloaded artifact cache from buck-cache to bazel-cache
On master, we are removing all traces of Buck (Idb93a48345). To avoid recreating buck-cache when maintainers switch between stable branches, backport the directory renaming to stable-2.14 and later. Change-Id: Ia9c58bc5ac8fd28bac7ee220e917580b60f25a69
This commit is contained in:
parent
dcaa305ec6
commit
7788ae9cb2
@ -25,8 +25,7 @@ from util import hash_file, resolve_url
|
||||
from zipfile import ZipFile, BadZipfile, LargeZipFile
|
||||
|
||||
GERRIT_HOME = path.expanduser('~/.gerritcodereview')
|
||||
# TODO(davido): Rename in bazel-cache
|
||||
CACHE_DIR = path.join(GERRIT_HOME, 'buck-cache', 'downloaded-artifacts')
|
||||
CACHE_DIR = path.join(GERRIT_HOME, 'bazel-cache', 'downloaded-artifacts')
|
||||
LOCAL_PROPERTIES = 'local.properties'
|
||||
|
||||
|
||||
|
@ -26,7 +26,7 @@ import sys
|
||||
import bowerutil
|
||||
|
||||
CACHE_DIR = os.path.expanduser(os.path.join(
|
||||
'~', '.gerritcodereview', 'buck-cache', 'downloaded-artifacts'))
|
||||
'~', '.gerritcodereview', 'bazel-cache', 'downloaded-artifacts'))
|
||||
|
||||
|
||||
def bower_cmd(bower, *args):
|
||||
|
Loading…
x
Reference in New Issue
Block a user