forked from nik-rev/patchy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-config.toml
73 lines (64 loc) · 1.75 KB
/
example-config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Main github repository to fetch from.
# This is going to be our base, into which we merge patches and pull requests.
#
# Examples
#
# repo = "helix-editor/helix"
# repo = "microsoft/vscode"
repo = ""
# The main repository's branch
#
# Examples
#
# remote-branch = "master"
# remote-branch = "main"
#
# The above always fetch the latest commit.
# -> To use a specific commit, use the following syntax:
# remote-branch = "<branch> @ <hash-of-commit>"
#
# so for example:
#
# remote-branch = "master @ fccc58957eece10d0818dfa000bf5123e26ee32f"
remote-branch = "main"
# Branch which patchy will use to do all of its work on
#
# Examples
#
# local-branch = "some-branch-1234"
local-branch = "patchy"
# list of pull requests numbers which you would like to merge into the repository and branch you have specified previously
#
# Examples
#
# pull-requests = [ "12254", "10000", "8145" ]
#
# The above always fetch the latest commit for each pull request.
#
# To use a specific commit, use the following syntax:
# "<pull-request-number> @ <hash-of-commit>"
#
# so for example:
#
# pull-requests = [
# "12254",
# "10000 @ a556aeef3736a3b6b79bb9507d26224f5c0c3449",
# "8145 @ 840cb7e9982699ff107d0577691b5db9806b3b66"
# ]
pull-requests = []
# Optional: A list of patches to apply
#
# A patch allows you to do specify custom commits and not have to rely on there being a pull request for that change
#
# You can generate patches from a commit with: `patchy gen-patch <commit-hash>`.
# See `patchy gen-patch --help` for more info.
#
# Examples
#
# With the below config, patchy will look for the following files:
# - `.patchy/my-patch123.patch`
# - `.patchy/another-patch.patch`
# - `.patchy/1234.patch`
#
# patches = [ "my-patch123", "another-patch", "1234" ]
# patches = []