mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-08-06 13:51:36 +08:00
GITC: Pull GITC Manifest Dir from the config.
Updates the repo launcher and gitc_utils to pull the manifest directory location out of the gitc config file. Change-Id: Id08381b8a7d61962093d5cddcb3ff6afbb13004b
This commit is contained in:

committed by
Dan Willemsen

parent
f7a51898d3
commit
8ce5041596
@ -20,13 +20,15 @@ import time
|
||||
|
||||
import git_command
|
||||
import git_config
|
||||
import wrapper
|
||||
|
||||
|
||||
# TODO (sbasi) - Remove this constant and fetch manifest dir from /gitc/.config
|
||||
GITC_MANIFEST_DIR = '/usr/local/google/gitc/'
|
||||
GITC_FS_ROOT_DIR = '/gitc/manifest-rw/'
|
||||
NUM_BATCH_RETRIEVE_REVISIONID = 300
|
||||
|
||||
def get_gitc_manifest_dir():
|
||||
return wrapper.Wrapper().get_gitc_manifest_dir()
|
||||
|
||||
def parse_clientdir(gitc_fs_path):
|
||||
"""Parse a path in the GITC FS and return its client name.
|
||||
|
||||
|
Reference in New Issue
Block a user