Lines Matching +full:merge +full:- +full:pr

3 # SPDX-License-Identifier: Apache-2.0
30 WEST_PATCH_SCHEMA_PATH = Path(__file__).parents[1] / "schemas" / "patch-schema.yml"
57 See "west patch apply --help" for details.
62 See "west patch clean --help" for details.
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
84 date: 2020-04-20
86 merge-pr: https://github.com/zephyrproject-rtos/zephyr/pull/24486
87 issue: https://github.com/zephyrproject-rtos/zephyr/issues/24485
88 merge-status: true
89 merge-commit: af926ae728c78affa89cbc1de811ab4211ed0f69
90 merge-date: 2020-04-27
91 apply-command: git apply
93 Songs about rainbows - why are there so many??
95 possible-muppets-to-ask-for-clarification-with-the-above-question:
96 - Miss Piggy
97 - Gonzo
98 - Fozzie Bear
99 - Animal
104 "-b",
105 "--patch-base",
113 "-l",
114 "--patch-yml",
122 "-w",
123 "--west-workspace",
129 "-sm",
130 "--src-module",
136 path relative to west-workspace)""",
139 "-dm",
140 "--dst-module",
171 "-r",
172 "--roll-back",
192 "gh-fetch",
199 Run "west patch gh-fetch" to fetch a PR from Github and store it as a patch.
207 "-o",
208 "--owner",
210 default="zephyrproject-rtos",
214 "-r",
215 "--repo",
221 "-pr",
222 "--pull-request",
230 "-m",
231 "--module",
239 "-s",
240 "--split-commits",
242 help="Create patch files for each commit instead of a single patch for the entire PR",
245 '-t',
246 '--token',
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")
328 yml = self.load_yml(args, args.subcommand in ["gh-fetch"])
339 "gh-fetch": self.gh_fetch,
364 apply_cmd = patch_info["apply-command"]
420 clean_cmd = yml["clean-command"]
421 checkout_cmd = yml["checkout-command"]
474 "Module filters are not available for the gh-fetch subcommand, "
475 "pass a single -m/--module argument after the subcommand."
484 pr = gh.get_repo(f"{args.owner}/{args.repo}").get_pull(args.pull_request)
488 for cm in pr.get_commits():
490 filename = "-".join(filter(None, re.split("[^a-zA-Z0-9]+", subject))) + ".patch"
501 "date": cm.commit.author.date.strftime("%Y-%m-%d"),
503 "merge-pr": pr.html_url,
504 "merge-status": pr.merged,
509 filename = "-".join(filter(None, re.split("[^a-zA-Z0-9]+", pr.title))) + ".patch"
510 urllib.request.urlretrieve(pr.patch_url, args.patch_base / filename)
516 "author": pr.user.name or "Hidden",
517 "email": pr.user.email or "hidden@github.com",
518 "date": pr.created_at.strftime("%Y-%m-%d"),
520 "merge-pr": pr.html_url,
521 "merge-status": pr.merged,
531 def get_file_sha256sum(filename: Path) -> str: