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.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Here are some of the ways in which you can contribute:
8
8
9
9
## Discussions
10
10
11
-
If you want to ask a question to understand a concept regarding Iroh, or need help working with Iroh, please check the [Discussions][discussions]. If you don't find a thread that fits your needs, feel free to create a new one.
11
+
If you want to ask a question to understand a concept regarding Iroh, or need help working with Iroh, please check the [Discussions][discussions]. If you don't find a thread that fits your needs, feel free to create a new one.
12
12
13
13
## Issues
14
14
@@ -21,7 +21,7 @@ If you would like to suggest a new feature in Iroh, [create a new issue][newissu
21
21
Code contributions to Iroh are greatly appreciated. Here is the general workflow you should follow:
22
22
23
23
1.**State in the associated issue your desire to work on it**
24
-
24
+
25
25
If there is no issue for the work you would like to do, please open one. This helps reduce duplicated efforts and give contributors the help and guidance they might need.
26
26
27
27
2.**Write some code!**
@@ -38,7 +38,7 @@ Code contributions to Iroh are greatly appreciated. Here is the general workflow
38
38
- Comment your code. It will be useful for your reviewer and future contributors.
39
39
40
40
-**Pull request titles**
41
-
41
+
42
42
- Iroh pull requests titles look like this: `type(crate): description`
43
43
44
44
|**`type`**|**When to use**|
@@ -52,11 +52,13 @@ Code contributions to Iroh are greatly appreciated. Here is the general workflow
52
52
|`deps`| Dependency only updates |
53
53
|`chore`| Changes to the build process or auxiliary tools and libraries |
54
54
55
-
55
+
56
56
**`crate`** is the rust crate containing your changes.
57
57
58
58
**`description`** is a short sentence that summarizes your changes.
59
59
60
+
If there is a breaking change please use a `!` in the commit message to denote this, eg. `feat(iroh)!: break the world`.
61
+
60
62
-**Pull request descriptions**
61
63
62
64
Once you open a pull request, you will be prompted to follow a template with three simple parts:
@@ -65,6 +67,10 @@ Code contributions to Iroh are greatly appreciated. Here is the general workflow
65
67
66
68
A summary of what your pull request achieves and a rough list of changes.
67
69
70
+
-**Breaking Changes**
71
+
72
+
Optional, if there are any breaking changes document them, including how to migrate older code.
73
+
68
74
-**Notes & open questions**
69
75
70
76
Notes, open questions and remarks about your changes.
@@ -74,6 +80,7 @@ Code contributions to Iroh are greatly appreciated. Here is the general workflow
74
80
-**Self review**: We ask you to thoroughly review your changes until you are happy with them. This helps speed up the review process.
75
81
-**Add documentation**: If your change requires documentation updates, make sure they are properly added.
76
82
-**Tests**: If your code creates a new feature, when possible add tests for this. If they fix a bug, a regression test is recommended as well.
83
+
-**Breaking Changes**: All breaking changes need to be documented.
0 commit comments