Searched refs:proj_path (Results 1 – 7 of 7) sorted by relevance
/tools/external_updater/ |
D | git_utils.py | 28 def fetch(proj_path, remote_names): argument 35 _run(['git', 'fetch', '--multiple'] + remote_names, cwd=proj_path) 38 def add_remote(proj_path, name, url): argument 46 _run(['git', 'remote', 'add', name, url], cwd=proj_path) 49 def list_remotes(proj_path): argument 58 out = _run(['git', 'remote', '-v'], proj_path) 63 def get_commits_ahead(proj_path, branch, base_branch): argument 67 proj_path) 71 def get_commit_time(proj_path, commit): argument 73 out = _run(['git', 'show', '-s', '--format=%ct', commit], cwd=proj_path) [all …]
|
D | git_updater.py | 28 def __init__(self, url, proj_path, metadata): argument 31 self.proj_path = proj_path 39 remotes = git_utils.list_remotes(self.proj_path) 50 git_utils.add_remote(self.proj_path, self.upstream_remote_name, 53 git_utils.fetch(self.proj_path, 76 tags = git_utils.list_remote_tags(self.proj_path, 86 self.proj_path, self.upstream_remote_name + '/master', 95 commit_time = git_utils.get_commit_time(self.proj_path, commits[-1]) 115 git_utils.merge(self.proj_path, self.new_version) 116 self._write_metadata(self.proj_path) [all …]
|
D | fileutils.py | 49 def read_metadata(proj_path): argument 63 with open(get_metadata_path(proj_path), 'r') as metadata_file: 68 def write_metadata(proj_path, metadata): argument 85 with open(get_metadata_path(proj_path), 'w') as metadata_file:
|
D | external_updater.py | 54 def build_updater(proj_path): argument 66 proj_path = fileutils.get_absolute_project_path(proj_path) 68 metadata = fileutils.read_metadata(proj_path) 75 updater = updater_utils.create_updater(metadata, proj_path, UPDATERS) 92 def check_update(proj_path): argument 100 'Checking {}. '.format(fileutils.get_relative_project_path(proj_path)), 102 updater = build_updater(proj_path)
|
D | github_archive_updater.py | 74 def __init__(self, url, proj_path, metadata): argument 75 self.proj_path = proj_path 169 updater_utils.replace_package(package_dir, self.proj_path)
|
D | updater_utils.py | 22 def create_updater(metadata, proj_path, updaters): argument 38 return updater(url, proj_path, metadata)
|
/tools/asuite/aidegen/project/ |
D | source_splitter.py | 170 proj_path = project.project_relative_path 172 if self._framework_exist and proj_path != constant.FRAMEWORK_PATH: 174 if self._full_repo and proj_path: 183 proj_path)
|