Skip to content

Commit 1f9fa13

Browse files
authored
Align SDK governance docs (#590)
Related to cloudevents/spec#1226 Signed-off-by: Doug Davis <[email protected]>
1 parent a135755 commit 1f9fa13

File tree

4 files changed

+60
-53
lines changed

4 files changed

+60
-53
lines changed

MAINTAINERS.md

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,5 @@
11
# Maintainers
22

3-
Currently, active maintainers who may be found in the CNCF Slack.
3+
Current active maintainers of this SDK:
44

55
- [Pierangelo Di Pilato](https://github.com/pierDipi)
6-
7-
# Maintainer's Guide
8-
9-
## Release Process
10-
11-
The release process is automated with Github actions. In order to perform a release:
12-
13-
1. Check if main CI pass.
14-
1. Open the Github repository main page and go in the tab "Actions". Trigger the workflow "Bump version" and insert the new version to release. This will create a new release PR.
15-
1. Check the release PR, merge it and cleanup the created branch.
16-
1. Wait for the CI to complete the deploy of the modules to OSSRH.
17-
1. Using the Github UI, create a new release, specifying the release notes and the tag to use.
18-
1. Trigger again the workflow "Bump version" to bump versions back to a snapshot version.
19-
1. Check the snapshot release PR, merge it and cleanup the created branch.
20-
21-
## Tips
22-
23-
Here are a few tips for repository maintainers.
24-
25-
* Stay on top of your pull requests. PRs that languish for too long can become difficult to merge.
26-
* Work from your own fork. As you are making contributions to the project, you should be working from your own fork just as outside contributors do. This keeps the branches in github to a minimum and reduces unnecessary CI runs.
27-
* Try to proactively label issues and pull requests with labels
28-
* Actively review pull requests as they are submitted
29-
* Triage issues once in a while in order to keep the repository alive.
30-
* If some issues are stale for too long because they are no longer valid/relevant or because the discussion reached no significant action items to perform, close them and invite the users to reopen if they need it.
31-
* If some PRs are no longer valid due to conflicts, but the PR is still needed, ask the contributor to rebase their PR.
32-
* If some issues and PRs are still relevant, use labels to help organize tasks.
33-
* If you find an issue that you want to create a pull request for, be sure to assign it to yourself so that other maintainers don't start working on it at the same time.
34-
35-
## Landing Pull Requests
36-
37-
When landing pull requests, be sure to check the first line uses an appropriate commit message prefix (e.g. docs, feat, lib, etc). If there is more than one commit, try to squash into a single commit. Usually this can just be done with the GitHub UI when merging the PR. Use "Squash and merge". To help ensure that everyone in the community has an opportunity to review and comment on pull requests, it's often good to have some time after a pull request has been submitted, and before it has landed. Some guidelines here about approvals and timing.
38-
39-
* No pull request may land without passing all automated checks
40-
* All pull requests require at least one approval from a maintainer before landing
41-
* A pull request author may approve their own PR, but will need an additional approval to land it
42-
* If a maintainer has submitted a pull request and it has not received approval from at least one other maintainer, it can be landed after 72 hours
43-
* If a pull request has both approvals and requested changes, it can't be landed until those requested changes are resolved
44-
45-
## Branch Management
46-
47-
The `main` branch is the bleeding edge. New major versions of the module
48-
are cut from this branch and tagged. If you intend to submit a pull request
49-
you should use `main HEAD` as your starting point.
50-
51-
Each major release will result in a new branch and tag. For example, the
52-
release of version 1.0.0 of the module will result in a `v1.0.0` tag on the
53-
release commit, and a new branch `v1.x.y` for subsequent minor and patch
54-
level releases of that major version. However, development will continue
55-
apace on `main` for the next major version - e.g. 2.0.0. Version branches
56-
are only created for each major version. Minor and patch level releases
57-
are simply tagged.

MAINTAINERS_GUIDE.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Maintainer's Guide
2+
3+
## Tips
4+
5+
Here are a few tips for repository maintainers.
6+
7+
* Stay on top of your pull requests. PRs that languish for too long can become difficult to merge.
8+
* Work from your own fork. As you are making contributions to the project, you should be working from your own fork just as outside contributors do. This keeps the branches in github to a minimum and reduces unnecessary CI runs.
9+
* Try to proactively label issues and pull requests with labels
10+
* Actively review pull requests as they are submitted
11+
* Triage issues once in a while in order to keep the repository alive.
12+
* If some issues are stale for too long because they are no longer valid/relevant or because the discussion reached no significant action items to perform, close them and invite the users to reopen if they need it.
13+
* If some PRs are no longer valid due to conflicts, but the PR is still needed, ask the contributor to rebase their PR.
14+
* If some issues and PRs are still relevant, use labels to help organize tasks.
15+
* If you find an issue that you want to create a pull request for, be sure to assign it to yourself so that other maintainers don't start working on it at the same time.
16+
17+
## Landing Pull Requests
18+
19+
When landing pull requests, be sure to check the first line uses an appropriate commit message prefix (e.g. docs, feat, lib, etc). If there is more than one commit, try to squash into a single commit. Usually this can just be done with the GitHub UI when merging the PR. Use "Squash and merge". To help ensure that everyone in the community has an opportunity to review and comment on pull requests, it's often good to have some time after a pull request has been submitted, and before it has landed. Some guidelines here about approvals and timing.
20+
21+
* No pull request may land without passing all automated checks
22+
* All pull requests require at least one approval from a maintainer before landing
23+
* A pull request author may approve their own PR, but will need an additional approval to land it
24+
* If a maintainer has submitted a pull request and it has not received approval from at least one other maintainer, it can be landed after 72 hours
25+
* If a pull request has both approvals and requested changes, it can't be landed until those requested changes are resolved
26+
27+
## Branch Management
28+
29+
The `main` branch is the bleeding edge. New major versions of the module
30+
are cut from this branch and tagged. If you intend to submit a pull request
31+
you should use `main HEAD` as your starting point.
32+
33+
Each major release will result in a new branch and tag. For example, the
34+
release of version 1.0.0 of the module will result in a `v1.0.0` tag on the
35+
release commit, and a new branch `v1.x.y` for subsequent minor and patch
36+
level releases of that major version. However, development will continue
37+
apace on `main` for the next major version - e.g. 2.0.0. Version branches
38+
are only created for each major version. Minor and patch level releases
39+
are simply tagged.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,12 @@ for how PR reviews and approval, and our
108108
[Code of Conduct](https://github.com/cloudevents/spec/blob/main/docs/GOVERNANCE.md#additional-information)
109109
information.
110110

111+
## Additional SDK Resources
112+
113+
- [List of current active maintainers](MAINTAINERS.md)
114+
- [How to contribute to the project](CONTRIBUTING.md)
115+
- [SDK's License](LICENSE)
116+
- [SDK's Release process](RELEASING.md)
117+
- [SDK Maintainer's guide](MAINTAINERS_GUIDE.md)
118+
111119
[http4k]: https://www.http4k.org/guide/reference/cloud_events/

RELEASING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Release Process
2+
3+
The release process is automated with Github actions. In order to perform a release:
4+
5+
1. Check if main CI pass.
6+
1. Open the Github repository main page and go in the tab "Actions". Trigger the workflow "Bump version" and insert the new version to release. This will create a new release PR.
7+
1. Check the release PR, merge it and cleanup the created branch.
8+
1. Wait for the CI to complete the deploy of the modules to OSSRH.
9+
1. Using the Github UI, create a new release, specifying the release notes and the tag to use.
10+
1. Trigger again the workflow "Bump version" to bump versions back to a snapshot version.
11+
1. Check the snapshot release PR, merge it and cleanup the created branch.
12+

0 commit comments

Comments
 (0)