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
(cherry picked from commit 7788ae9cb2
)
This commit is contained in:
parent
0af28d3008
commit
bde22faecb
@ -25,8 +25,7 @@ from util import hash_file, resolve_url
|
|||||||
from zipfile import ZipFile, BadZipfile, LargeZipFile
|
from zipfile import ZipFile, BadZipfile, LargeZipFile
|
||||||
|
|
||||||
GERRIT_HOME = path.expanduser('~/.gerritcodereview')
|
GERRIT_HOME = path.expanduser('~/.gerritcodereview')
|
||||||
# TODO(davido): Rename in bazel-cache
|
CACHE_DIR = path.join(GERRIT_HOME, 'bazel-cache', 'downloaded-artifacts')
|
||||||
CACHE_DIR = path.join(GERRIT_HOME, 'buck-cache', 'downloaded-artifacts')
|
|
||||||
LOCAL_PROPERTIES = 'local.properties'
|
LOCAL_PROPERTIES = 'local.properties'
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ import sys
|
|||||||
import bowerutil
|
import bowerutil
|
||||||
|
|
||||||
CACHE_DIR = os.path.expanduser(os.path.join(
|
CACHE_DIR = os.path.expanduser(os.path.join(
|
||||||
'~', '.gerritcodereview', 'buck-cache', 'downloaded-artifacts'))
|
'~', '.gerritcodereview', 'bazel-cache', 'downloaded-artifacts'))
|
||||||
|
|
||||||
|
|
||||||
def bower_cmd(bower, *args):
|
def bower_cmd(bower, *args):
|
||||||
|
Loading…
Reference in New Issue
Block a user