Lines Matching full:patch
30 WEST_PATCH_SCHEMA_PATH = Path(__file__).parents[1] / "schemas" / "patch-schema.yml"
38 class Patch(WestCommand): class
41 "patch",
56 Run "west patch apply" to apply patches.
57 See "west patch apply --help" for details.
61 Run "west patch clean" to clean patches.
62 See "west patch clean --help" for details.
66 Run "west patch list" to list patches.
67 See "west patch list --help" for details.
71 Run "west patch gh-fetch" to fetch patches from Github.
72 See "west patch gh-fetch --help" for details.
76 The patches.yml syntax is described in "scripts/schemas/patch-schema.yml".
79 - path: zephyr/kernel-pipe-fix-not-k-no-wait-and-ge-min-xfer-bytes.patch
105 "--patch-base",
107 Directory containing patch files (absolute or relative to module dir,
114 "--patch-yml",
135 Zephyr module containing the patch definition (name, absolute path or
146 Zephyr module to run the 'patch' command for.
148 If this option is not given, the 'patch' command will run for Zephyr
166 Run "west patch apply" to apply patches.
173 help="Roll back if any patch fails to apply",
186 Run "west patch clean" to clean patches.
193 help="Fetch patch from Github",
199 Run "west patch gh-fetch" to fetch a PR from Github and store it as a patch.
242 help="Create patch files for each commit instead of a single patch for the entire PR",
260 Run "west patch list" to list patches.
280 self.die("patch-base must not be an absolute path in combination with src-module")
282 self.die("patch-yml must not be an absolute path in combination with src-module")
367 self.dbg(f"reading patch file {pth}")
378 self.dbg("checking patch integrity... ", end="")
417 self.die(f"failed to apply patch {failed_patch}")
490 filename = "-".join(filter(None, re.split("[^a-zA-Z0-9]+", subject))) + ".patch"
492 # No patch URL is provided by the API, but appending .patch to the HTML works too
493 urllib.request.urlretrieve(f"{cm.html_url}.patch", args.patch_base / filename)
509 filename = "-".join(filter(None, re.split("[^a-zA-Z0-9]+", pr.title))) + ".patch"