Lines Matching refs:layer_path
34 def _get_git_branch(layer_path):
35 …branch = subprocess.Popen("git symbolic-ref HEAD 2>/dev/null ", cwd=layer_path, shell=True, stdout…
40 def _get_git_revision(layer_path):
41 …revision = subprocess.Popen("git rev-parse HEAD 2>/dev/null ", cwd=layer_path, shell=True, stdout=…
58 def _get_layer_version_information(layer_path):
61 layer_version_info['branch'] = _get_git_branch(layer_path)
62 layer_version_info['commit'] = _get_git_revision(layer_path)
68 def _get_layer_dict(layer_path):
71 layer_name = layer_path.split('/')[-1]
76 layer_info['local_path'] = layer_path
78 layer_info['version'] = _get_layer_version_information(layer_path)