This document outlines some basic guidelines for contributing to the aquarium
repository
within Aquarist Labs.
We are very welcoming of new feature implementation, patches that fix bugs or code cleanup.
We are still orientating ourselves with the project, please be patient while this file and others continuously update.
You can clone from github with:
git clone git@github.com:aquarist-labs/aquarium
Or:
git clone git://github.com/aquarist-labs/aquarium
All bugs and feature requests can be filed in "Issues" in the Aquarium Project. We use GitHub templates to manage the requests. You will either select:
- Feature
- Bug
- Question
Ensure the appropriate label is selected before submitting your issue.
Do not merge directly into the main
branch. It is protected for a reason.
Git commit messages should start with a maxiumum 72 character or less summary in a single paragraph, and prefixed with the module you are changing. For example:
backend: add initial README doc
doc: fix a typo
The following paragraph(s) should explain the change in more detail; be as specific as possible. If the commit message title was too short to fully state what the commit is doing, use the body to explain not just the "what", but also the "why".
Finally, it must include a Signed-off-by:
line matching an email
address of the commit's author to comply with our need for a Developer
Certificate of Origin (DCO). The DCO
is a lightweight way for contributors to certify that they wrote or
otherwise have the right to submit the code they are contributing to the
project. You can append this automatically to your commit message via
git commit -s
. Our repository checks will refuse to accept the
commit otherwise.
For example:
backend: add initial README doc
This commit introduces the first README doc for aquarist-labs.
Signed-off-by: Random Developer <random@developer.io>
If your changes addresses a bug or feature request, be sure to mention them in the body of the commit message. You can even close the issue automatically! For example:
backend: add initial README doc
This commit introduces the first README doc for aquarist-labs.
Closes #1
Signed-off-by: Random Developer <random@developer.io>
PRs should be opened on branches contained in your fork of aquarist-labs/aquarium.git
. PRs should
target the main
branch.
If your PR has only one commit, the PR title can be the same as the commit title (and GitHub will suggest this). If the PR has multiple commits, do not accept the title GitHub suggests. Either use the title of the most relevant commit, or write your own title.
If you have added or modified any user-facing functionality, such as CLI commands or their output, then the pull request must include appropriate updates to documentation.
It is the submitter's responsibility to make the changes, and the reviewer's responsibility to make sure they are not merging changes that do not have the needed updates to documentation.
Before submitting your change, you should test it. But since this is not setup yet, we'll forgive you.
Although technical in nature, the Open Source community is first and foremost about people. Treat other people with respect. Be kind, be open, respect the culture of the community you are interacting with and be aware of the diversity of people in that community. Be aware that, particularly in electronic communication, you might misunderstand or misinterpret what others are saying or meaning. The reverse is also true.