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
Copy file name to clipboardExpand all lines: CONTRIBUTING.adoc
+85-2Lines changed: 85 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,92 @@ There should be a corresponding https://github.com/riscv-software-src/riscv-unif
45
45
All patches must meet the UnifiedDB code standards. This includes:
46
46
47
47
* Pass regression tests (run locally as `./do test:regress`)
48
+
* Use appropriate commit messages
48
49
* Go through code review as a Pull Request
49
-
** Code owners must approve
50
-
* Use appropriate commit messages (TODO: commit message policy)
50
+
51
+
=== Regression tests
52
+
53
+
All contributions must pass the full suite of regression tests.
54
+
Regression tests are checked in GitHub for every PR, and they can also be run locally using `./do test:regress`.
55
+
56
+
If a Pull Request adds a new feature that is not already covered by the regression test suite, it
57
+
must add at least one new test.
58
+
59
+
=== Commit messages
60
+
61
+
UnifiedDB adheres to https://www.conventionalcommits.org/en/v1.0.0[Conventional Commits v1.0.0].
62
+
63
+
The guidelines below are adapted from https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md[the Angular commit message guidelines].
64
+
65
+
Every commit message consists of a mandatory *header*, a mandatory *body*, and an optional *footer*.
66
+
67
+
```
68
+
<header>
69
+
<BLANK LINE>
70
+
<body>
71
+
<BLANK LINE>
72
+
<footer>
73
+
```
74
+
75
+
==== Header
76
+
77
+
.UnifiedDB commit header format
78
+
```
79
+
<type>(<scope>): <short summary>
80
+
│ │ │
81
+
│ │ └─⫸ Summary in present tense. Not capitalized. No period at the end.
82
+
│ │
83
+
│ └─⫸ Commit Scope: single word describing the affected component
0 commit comments