You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explains how Maintainers are selected and their responsibilities.
Explains the Pull Request review workflow.
Adds config for Mergify to enforce this workflow.
Signed-off-by: Dave Tucker <[email protected]>
Once you see an issue that you'd like to work on, please post a comment saying
57
+
that you want to work on it. Something like "I want to work on this" is fine.
58
+
59
+
## Ask for Help
60
+
61
+
The best way to reach us with a question when contributing is to ask on:
62
+
63
+
* The original GitHub issue
64
+
* Our [Discord]
65
+
66
+
## Pull Request Lifecycle
67
+
68
+
Pull requests are managed by Mergify.
69
+
70
+
Our process is currently as follows:
71
+
72
+
1. When you open a PR a maintainer will automatically be assigned for review
73
+
1. Make sure that your PR is passing CI - if you need help with failing checks please feel free to ask!
74
+
1. Once it is passing all CI checks, a maintainer will review your PR and you may be asked to make changes.
75
+
1. When you have received at two approving reviews from a maintainer, your PR will be merged automiatcally.
76
+
77
+
In some cases, other changes may conflict with your PR. If this happens, you will get notified by a comment in the issue that your PR requires a rebase, and the `needs-rebase` label will be applied. Once a rebase has been performed, this label will be automatically removed.
43
78
44
-
###Commits
79
+
##Logical Grouping of Commits
45
80
46
81
It is a recommended best practice to keep your changes as logically grouped as
47
82
possible within individual commits. If while you're developing you prefer doing
48
83
a number of commits that are "checkpoints" and don't represent a single logical
49
84
change, please squash those together before asking for a review.
85
+
When addressing review comments, please perform an interactive rebase and edit commits directly rather than adding new commits with messages like "Fix review comments".
50
86
51
-
####Commit message guidelines
87
+
## Commit message guidelines
52
88
53
89
A good commit message should describe what changed and why.
54
90
55
91
1. The first line should:
56
-
- Contain a short description of the change (preferably 50 characters or less,
92
+
* Contain a short description of the change (preferably 50 characters or less,
57
93
and no more than 72 characters)
58
-
- Be entirely in lowercase with the exception of proper nouns, acronyms, and
94
+
* Be entirely in lowercase with the exception of proper nouns, acronyms, and
59
95
the words that refer to code, like function/variable names
60
-
- Be prefixed with the name of the sub crate being changed
96
+
* Be prefixed with the name of the sub crate being changed
61
97
62
98
Examples:
63
-
-`aya: handle reordered functions`
64
-
-`aya-bpf: SkSkbContext: add ::l3_csum_replace`
99
+
*`aya: handle reordered functions`
100
+
*`aya-bpf: SkSkbContext: add ::l3_csum_replace`
65
101
66
102
1. Keep the second line blank.
67
103
1. Wrap all other lines at 72 columns (except for long URLs).
@@ -72,8 +108,8 @@ A good commit message should describe what changed and why.
72
108
73
109
Examples:
74
110
75
-
-`Fixes: #1337`
76
-
-`Refs: #1234`
111
+
*`Fixes: #1337`
112
+
*`Refs: #1234`
77
113
78
114
Sample complete commit message:
79
115
@@ -92,3 +128,32 @@ nicely even when it is indented.
92
128
Fixes: #1337
93
129
Refs: #453, #154
94
130
```
131
+
132
+
## Pull Request Checklist
133
+
134
+
When you submit your pull request, or you push new commits to it, our automated
135
+
systems will run some checks on your new code. We require that your pull request
136
+
passes these checks, but we also have more criteria than just that before we can
137
+
accept and merge it. Theses requirements are described in the
138
+
[Pull Request Template].
139
+
140
+
It is recommended that you run the integration tests locally before submitting
141
+
your Pull Request. Please see [Aya Integration Tests] for more information.
142
+
143
+
## Documentation Style
144
+
145
+
If you find an API that is not documented, unclear or missing examples, please
146
+
file an issue. If you make changes to the documentation, please read
147
+
[How To Write Documentation] and make sure your changes conform to the
148
+
format outlined in [Documenting Components].
149
+
150
+
If you want to make changes to the Aya Book, see the README in the
151
+
[book repository].
152
+
153
+
["good first issue"]: https://github.com/aya-rs/aya/labels/good%20first%20issue
0 commit comments