|
| 1 | +# Contribution Guidelines |
| 2 | + |
| 3 | +Thank you for your interest in Dapr Sidekick! |
| 4 | + |
| 5 | +This project welcomes contributions and suggestions. Contributions come in many forms such as submitting issues, writing code or participating in discussions. |
| 6 | + |
| 7 | +This document provides the guidelines for how to contribute to the Dapr Sidekick project. |
| 8 | + |
| 9 | +## Issues |
| 10 | + |
| 11 | +This section describes the guidelines for submitting issues. |
| 12 | + |
| 13 | +### Issue Types |
| 14 | + |
| 15 | +There are 5 types of issues: |
| 16 | + |
| 17 | +- Issue/Bug: You've found a bug with the code, and want to report it, or create an issue to track the bug. |
| 18 | +- Issue/Discussion: You have something on your mind, which requires input form others in a discussion, before it eventually manifests as a proposal. |
| 19 | +- Issue/Feature Request: You would like to request a new feature to be implemented by the community. This would normally be smaller in scope than a Proposal. |
| 20 | +- Issue/Proposal: Used for items that propose a new idea or functionality, including features you would like to implement yourself. This allows feedback from others before code is written. |
| 21 | +- Issue/Question: Use this issue type, if you need help or have a question. |
| 22 | + |
| 23 | +### Before You File |
| 24 | + |
| 25 | +Before you file an issue, make sure you've checked the following: |
| 26 | + |
| 27 | +1. Check for existing issues |
| 28 | + - Before you create a new issue, please do a search in [open issues](https://github.com/man-group/dapr-sidekick-dotnet/issues) to see if the issue or feature request has already been filed. |
| 29 | + - If you find your issue already exists, make relevant comments and add your [reaction](https://github.com/blog/2119-add-reaction-to-pull-requests-issues-and-comments). Use a reaction: |
| 30 | + - 👍 up-vote |
| 31 | + - 👎 down-vote |
| 32 | +1. For bugs |
| 33 | + - Check it's not an environment issue. For example, make sure [Dapr prerequisites](https://docs.dapr.io/getting-started/install-dapr-selfhost/) are in place. (state stores, bindings, etc.) |
| 34 | + - You have as much data as possible. This usually comes in the form of logs and/or stacktrace. |
| 35 | + |
| 36 | +## Contributing to Dapr Sidekick |
| 37 | + |
| 38 | +This section describes the guidelines for contributing code / docs to Dapr Sidekick. |
| 39 | + |
| 40 | +### Pull Requests |
| 41 | + |
| 42 | +All contributions come through pull requests. To submit a proposed change, we recommend following this workflow: |
| 43 | + |
| 44 | +1. Make sure there's an issue (bug or proposal) raised, which sets the expectations for the contribution you are about to make. |
| 45 | +1. Fork the repo and create a new branch |
| 46 | +1. Create your change |
| 47 | + - Code changes require tests |
| 48 | +1. Update relevant documentation for the change |
| 49 | +1. Commit and open a PR |
| 50 | +1. Wait for the CI process to finish and make sure all checks are green |
| 51 | +1. A maintainer of the project will be assigned, and you can expect a review within a few days |
| 52 | + |
| 53 | +#### Use work-in-progress PRs for early feedback |
| 54 | + |
| 55 | +A good way to communicate before investing too much time is to create a "Work-in-progress" PR and share it with your reviewers. The standard way of doing this is to add a "[WIP]" prefix in your PR's title and assign the **do-not-merge** label. This will let people looking at your PR know that it is not well baked yet. |
| 56 | + |
| 57 | +**Thank You!** - Your contributions to open source, large or small, make projects like this possible. Thank you for taking the time to contribute. |
0 commit comments