Lines Matching full:yml
30 WEST_PATCH_SCHEMA_PATH = Path(__file__).parents[1] / "schemas" / "patch-schema.yml"
35 WEST_PATCH_YAML = Path("zephyr") / "patches.yml"
76 The patches.yml syntax is described in "scripts/schemas/patch-schema.yml".
114 "--patch-yml",
116 Path to patches.yml file (absolute or relative to module dir,
200 The meta data is generated and appended to the provided patches.yml file.
202 If no patches.yml file exists, it will be created.
282 self.die("patch-yml must not be an absolute path in combination with src-module")
316 yml = yaml.load(f, Loader=SafeLoader)
317 return pykwalify.core.Core(source_data=yml, schema_data=patches_schema).validate()
328 yml = self.load_yml(args, args.subcommand in ["gh-fetch"])
329 if yml is None:
342 method[args.subcommand](args, yml, args.dst_modules)
344 def apply(self, args, yml, dst_mods=None): argument
345 patches = yml.get("patches", [])
415 self.clean(args, yml, patched_mods)
419 def clean(self, args, yml, dst_mods=None): argument
420 clean_cmd = yml["clean-command"]
421 checkout_cmd = yml["checkout-command"]
430 for mod in yml.get("patches", []):
461 def list(self, args, yml, dst_mods=None): argument
462 patches = yml.get("patches", [])
471 def gh_fetch(self, args, yml, mods=None): argument
507 yml.setdefault("patches", []).append(patch_info)
524 yml.setdefault("patches", []).append(patch_info)
528 yaml.dump(yml, f, Dumper=SafeDumper)