The goal of this document is to provide an overview of how you can get involved in KubViz.
As a potential contributor, your changes and ideas are welcome at any hour of the day or night, on weekdays, weekends, and holidays. Please do not ever hesitate to ask a question or send a pull request.
If you are unsure, just ask or submit the issue or pull request anyways. You won't be yelled at for giving it your best effort.
If you find a bug while working with the KubViz, please open an issue on GitHub and let us know what went wrong. We will try to fix it as quickly as we can.
You are more than welcome to open issues in this project to suggest new features.
This project is written in Golang.
You need
All contributions are made via pull requests. To make a pull request, you will need a GitHub account; if you are unclear on this process, see GitHub's documentation on forking and pull requests. Pull requests should be targeted at the main branch. Before creating a pull request, go through this checklist:
Clone Kubviz and run it in Docker
git clone https://github.com/intelops/kubviz.git
cd kubviz
-
Create a feature branch of
main
so that changes do not get mixed up. -
Rebase your local changes against the
main
branch. -
Run the full project test it.
-
Add a descriptive prefix to commits. This ensures a uniform commit history and helps structure the changelog.
If a pull request is not ready to be reviewed yet it should be marked as a "Draft".
# First you clone the original repository
git clone [email protected]:intelops/kubviz.git
# Next you add a git remote that is your fork:
git remote add fork [email protected]:<YOUR-GITHUB-USERNAME-HERE>/kubviz.git
# Next you fetch the latest changes from origin for master:
git fetch origin
git checkout main
git pull --rebase
# Next you create a new feature branch off of master:
git checkout my-feature-branch
# Now you do your work and commit your changes:
git add -A
git commit -a -m "fix: this is the subject line" -m "This is the body line. Closes #123"
# And the last step is pushing this to your fork
git push -u fork my-feature-branch
Now go to the project's GitHub Pull Request page and click "New pull request"