Contribution Workflow
Send a change as a pull request from a feature/<name> branch to main.
💡 TIP
Everyone taking part follows the Code of Conduct. Report unacceptable behavior to info@kloud.email.
Branches and Pull Requests
Every repository has one long-lived branch, main, and every pull request targets it. Releases are tags cut from main.
- Fork the repository, or create the branch directly if you have write access.
- Create a branch named
feature/<name>frommain.<name>is the thing you add or change, in lowercase kebab case (feature/tshark, notfeature/add-tshark). - Commit your change and push the branch.
- Open a pull request against
main. - A maintainer reviews it and squash-merges it, so the pull request title becomes the commit on
main.
Commit Messages and Titles
Start with a gitmoji, then a capitalized imperative, in at most 72 characters:
text
✨ Add the tshark feature
🐛 Fix the proxy redirect for paths with a query
📝 Document the feature store tags- Pick the emoji that matches the change:
✨for a new feature or tool,🐛for a fix,📝for docs,➕to add a dependency and⬆️to upgrade one. - The pull request title follows the same rule, since it becomes the commit on
main. - Reference an issue at the end of the title by its full name, because issues live in
ws-meta:closes kloudkit/ws-meta#44. - Leave the pull request number out; GitHub appends it on merge.
Checks
Run the linters before you push:
sh
pre-commit run --all-filesCI runs the same lint and build on every pull request, including pull requests from forks.
Keep each pull request small and focused on one change.