Lines Matching +full:bom +full:- +full:path
2 # Use of this source code is governed by a BSD-style license that can be
13 _SRC_PATH = pathlib.Path(__file__).resolve().parents[2]
29 bom_path: Path to bill_of_materials.json to parse.
30 with_hash: Whether to also return a hash of all the packages in the BoM.
32 bom = []
36 bom = json.load(f)
37 bom.sort(key=lambda x: (x['group'], x['name']))
38 for dep in bom:
56 template_path: Path to <file>.template.
57 output_path: Path to <file>.
60 content = pathlib.Path(template_path).read_text()
81 pathlib.Path(output_path).write_text(content)
89 """Writes cipd.yaml file at the passed-in path."""
105 abs_lib_dir: pathlib.Path = root_libs_dir / lib_dir
118 '# Use of this source code is governed by a BSD-style license that can be',
125 contents.extend(f'- file: {str(f)}' for f in data_files)
137 package_root: path to gradle/cipd package.
153 file_path = pathlib.Path(root) / filename
172 _FETCH_ALL_PATH, '--android-deps-dir', android_deps_dir,
173 '--ignore-vulnerabilities'
174 ] + ['-v'] * verbose_count
176 fetch_all_cmd += ['--output-subdir', output_subdir]
178 # Filter out -- from the args to pass to fetch_all.py.
179 fetch_all_cmd += [a for a in extra_args if a != '--']