6.8 KiB
How to Contribute
- Getting Started
- Reporting Issues
- Feature Requests
- Contributing Code
- General Contribution Guidelines
- Governance Model
Getting Started
One of the easiest ways to contribute is to participate in discussions, provide feedback or simply submit issues when you encounter them.
Of course, we also accept code contributions by submitting pull requests (PR) with code changes.
The Steeltoe team is available on the Steeltoe Slack channel, so if you want to start a general discussion, provide feedback or have a question about using Steeltoe, feel free to contact us on Slack. Also, if you have a desire to get involved, but don't know what to do, reach out to us on Slack. We are glad to help!
Remember, one of the great things about Slack is that you can search existing channel content to see if your idea or question has been discussed already.
By using Slack for questions, discussions and help, that basically leaves the GitHub issue tracker for use in reporting bugs and feature requests only.
Reporting Issues
If you want to report an issue, then please open an issue in the SteeltoeOSS GitHub repository.
You will find that this is the best way to get your issue addressed. Please be as detailed as you can be about the problem. Providing a minimal project with code that illustrates the problem along with a description of the steps to reproduce the problem is ideal.
Before reporting an issue, go through the list below and ask yourself these questions. This will make sure you're not missing any important information before opening up an issue.
- Did you read the documentation?
- Did you look at one of the samples to see if it provides answers for your issue.
- Do you have the snippet of broken code or a sample project for the issue?
- What are the EXACT steps to reproduce this problem?
- What package versions are you using (you can see these in the
.csproj
file)? - Is the problem still there in the latest version of the package?
- What operating system are you having the problem on?
- What version of cloud applications platform (e.g. Cloud Foundry 1.11, etc), if any, are you running on.
- If the problem is related to a back-end service (e.g. Redis, MySql, etc) what version are you using.
Make sure before you submit the issue to check the formatting of the content. Remember that GitHub supports markdown formatting in the issue content.
Feature Requests
The best way to get new feature requests implemented is by contributing code. That said, if you don't feel you have time or the ability to contribute code, then please feel free to start a discussion around your idea or new feature suggestion in the Steeltoe Slack channel or create a feature/enhancement request on GitHub.
Contributing Code
The Steeltoe team welcomes code contributions from the community and as a part of that we recommend the following guidelines for you to follow to ensure your contributions get proper consideration:
- Workflow - We pulled together a workflow for how to go about contributing code to Steeltoe. We recommend you read through it first and follow it to get the best results.
- Licensing Information - There are some licensing requirements for code contributions, so please follow through with those.
- Code Management - We try to maintain a consistent structure for our code; the repositories they are in and how we mange building and publishing it. Please try to follow our lead on this.
- Coding Style Guidelines - While we might not be completely consistent throughout our code base, we are striving to be better, so please try to follow our coding guidelines.
Please note, when you want to contribute code to a specific Steeltoe package (e.g. Configuration, CircuitBreaker, etc. ) then please follow the above guidelines in the SteeltoeOSS GitHub repository. Specifically, open issues, carry on contribution discussions, and submit PRs, in the repository to which your contribution will be made.
General Contribution Guidelines
- Please try to follow our coding guidelines but give priority to the current style of the project or file you're changing even if it diverges from the general guidelines.
- Please include tests when adding new features. We recommend when fixing bugs, start with adding a test that highlights how the current behavior is broken.
- Please keep all discussions focused. When a new or related topic comes up it's often better to create new thread of discussion than to side track the discussion.
- Please blog and tweet (or whatever) about your contributions, frequently!
- Please don't surprise us with big pull requests. Instead, file an issue and start a discussion so we can agree on a direction before you invest a large amount of time.
- Please don't commit code that you didn't write. If you find code that you think is a good fit, file an issue and start a discussion before proceeding.
- Please don't submit PRs that alter licensing related files or headers. If you believe there's a problem with them, file an issue and we'll be happy to discuss it.
- Please don't add API additions without filing an issue and discussing with us first.
- Please tag any users that should know about and/or review the changes you are wanting to contribute.
Governance Model
As a member of the .NET Foundation, the Steeltoe project has adopted a project governance model in line with that recommended by the .NET Foundation.
Specifically, the Steeltoe project recognizes the following roles within the project:
- Project Lead
- Project Maintainer
- Contributor
- User
See code maintainers to find the current project members and the roles they play within the project.
In addition, as we fully support and desire the involvement from the larger open source community, all decision making will be conducted in the open and based on a model outlined in the .NET Foundation project governance document mentioned above. When project decisions need to be made, it will be the responsibility of the project lead(s) to make those final decisions, with the help and guidance from the project maintainers, contributors and the larger open source community.