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:
parent
f7a51898d3
commit
8ce5041596
5 changed files with 35 additions and 21 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue