Welcome! We are delighted that you want to contribute to Iter8! 💖
As you get started, you are in the best position to give us feedback on key areas including:
- Problems found during setup of Iter8
- Gaps in our quick start tutorial and other documentation
- Bugs in our test and automation scripts
If anything doesn't make sense, or doesn't work when you run it, please open a bug report and let us know!
Ways to contribute¶
We welcome many different types of contributions including:
- Tutorials and other documentation
- Core Iter8 module with experiment charts
- CI, builds, and tests
- Web design
- Reviewing pull requests
- Communication, social media, blog posts
Ask for help¶
The best ways to reach us with a question is to ask...
- On the original GitHub issue
- In the
#developmentchannel in the Iter8 Slack workspace
- During our community meetings
Find an issue¶
Iter8 issues are tracked here.
Issued labeled good first issue have extra information to help you make your first contribution. Issues labeled help wanted are issues suitable for someone who has already submitted their first pull request and is good to move on to the second one.
Sometimes there won’t be any issues with these labels. That’s ok! There is likely still something for you to work on. If you want to contribute but you don’t know where to start or can't find a suitable issue, you can reach out to us over the Iter8 Slack workspace for help finding something to work on.
Once you see an issue that you'd like to work on, please post a comment saying that you want to work on it. Something like "I want to work on this" is fine.
Pull request lifecycle¶
- Your PR is associated with one (and infrequently, with more than one) GitHub issue. You can start the submission of your PR as soon as this issue has been created.
- Follow the standard GitHub fork and pull request process when creating and submitting your PR.
- The associated GitHub issue might need to go through design discussions and may not be ready for development. Your PR might require new tests; these new or existing tests may not yet be running successfully. At this stage, keep your PR as a draft, to signal that it is not yet ready for review.
- Once design discussions are complete and tests pass, convert the draft PR into a regular PR to signal that it is ready for review. Additionally, post a message in the
#developmentSlack channel of the Iter8 Slack workspace with a link to your PR. This will expedite the review.
- You can expect an initial review within 1-2 days of submitting a PR, and follow up reviews (if any) to happen over 2-5 days.
- Use the
#developmentSlack channel of Iter8 Slack workspace to ping/bump when the pull request is ready for further review or if it appears stalled.
- Iter8 releases happen frequently. Once your PR is merged, you can expect your contribution to show up live in a short amount of time at https://iter8.tools.
Sign Your Commits¶
Licensing is important to open source projects. It provides some assurances that the software will continue to be available based under the terms that the author(s) desired. We require that contributors sign off on commits submitted to our project's repositories. The Developer Certificate of Origin (DCO) is a way to certify that you wrote and have the right to contribute the code you are submitting to the project.
You sign-off by adding the following to your commit messages. Your sign-off must match the Git user and email associated with the commit.
This is my commit message Signed-off-by: Your Name <firstname.lastname@example.org>
Git has a
-s command line option to do this automatically:
git commit -s -m 'This is my commit message'
If you forgot to do this and have not yet pushed your changes to the remote repository, you can amend your commit with the sign-off by running:
git commit --amend -s
Development environment setup¶
The Iter8 project consists of the following repos.
- iter8-tools/iter8: source for the Iter8 CLI and experiment charts
- iter8-tools/docs: source for Iter8 docs
- iter8-tools/homebrew-iter8: Homebrew formula for the Iter8 CLI
This is the source repo for Iter8 CLI.
git clone https://github.com/iter8-tools/iter8.git
Install Iter8 locally¶
make clean install iter8 version
Run unit tests and see coverage information¶
make tests make coverage make htmlcov
This is the source repo for Iter8 documentation.
git clone https://github.com/iter8-tools/docs.git
Locally serve docs¶
From the root of this repo:
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt mkdocs serve -s