Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.
We welcome you to use the GitHub issues to report bugs or suggest enhancements.
When filing an issue, please check existing open, or recently closed, issues to make sure someone else hasn't already reported.
Please try to include as much information as you can using the issue fo. Details like these are incredibly useful:
- A reproducible test case or series of steps.
- Any modifications you've made relevant to the bug.
- Anything unusual about your environment or deployment.
Contributions using pull requests are appreciated.
Before sending us a pull request, please ensure that:
- You open a discussion to discuss any significant work with the maintainer(s).
- You open an issue and link your pull request to the issue for context.
- You are working against the latest source on the
develop
branch. - You check existing open, and recently merged, pull requests to make sure someone else hasn't already addressed the problem.
To open a pull request, please:
- Fork the repository.
- Modify the source; please focus on the specific change you are contributing.
- Ensure local tests pass.
- Updated the documentation, if required.
- Sign-off and commit to your fork using a clear commit messages. Please use Conventional Commits.
- Open a pull request, answering any default questions in the pull request.
- Pay attention to any automated failures reported in the pull request, and stay involved in the conversation.
GitHub provides additional document on forking a repository and creating a pull request.
This is an outline of the contributor workflow:
- Create a topic branch from where you want to base your work.
- Make commits of logical units.
- Make sure your commit messages are in the proper format and are signed-off.
- Push your changes to the topic branch in your fork.
- Submit a pull request. If the pull request is a work in progress, please open as draft.
Important
This project requires that commits are signed-off for the Developer Certificate of Origin.
Example:
git remote add upstream https://github.com/<org-name>/<repo-name>.git
git checkout --branch feat/add-x develop
git commit --signoff --message "feat: add support for x
Added support for x.
Signed-off-by: Jane Doe <jdoe@example.com>
Ref: #123"
git push origin feat/add-x
We follow the conventions on How to Write a Git Commit Message and Conventional Commits.
Be sure to include any related GitHub issue references in the commit message.
Example:
feat: add support for x
Added support for x.
Signed-off-by: Jane Doe <jdoe@example.com>
Ref: #123
When your branch gets out of sync with the vmware-samples/develop
branch, use the following to
update:
git checkout feat/add-x
git fetch --all
git pull --rebase upstream develop
git push --force-with-lease origin feat/add-x
If your pull request fails to pass or needs changes based on code review, you'll most likely want to squash these changes into existing commits.
If your pull request contains a single commit or your changes are related to the most recent commit, you can simply amend the commit.
git add .
git commit --amend
git push --force-with-lease origin feat/add-x
If you need to squash changes into an earlier commit, you can use:
git add .
git commit --fixup <commit>
git rebase --interactive --autosquash develop
git push --force-with-lease origin feat/add-x
Be sure to add a comment to the pull request indicating your new changes are ready to review, as
GitHub does not generate a notification when you git push
.
Looking at the existing issues is a great way to find something to contribute on. If you have an idea you'd like to discuss, open a discussion.
See the LICENSE file for our project's licensing. We will ask you to confirm the licensing of your contribution.
We may ask you to sign a Contributor License Agreement (CLA) for larger changes.