There are several ways to contribute to SharpLearning.
- Add new issues with bug descriptions or feature suggestions.
- Add more examples to SharpLearning.Examples.
- Solve existing issues by forking SharpLearning and creating a pull request.
The procedure when contributing should follow the steps below:
- Add an issue.
- Start the contribution with adding an issue.
- Before writing the issue, make sure a duplicate does not already exist.
- The issue should contain a description of the bug or feature suggestion. This provides documentation and makes it possible to discuss the issue before time is spent on creating a pull request.
When an issue has been approved by an author, it is time to fork SharpLearning and create a pull request.
-
Creating a pull request
- Fork the SharpLearning repository.
- Code your contribution in the fork just created.
- Create a pull request using the github page. Pull requests are usually created against the master branch, unless the pull request is part of a larger feature branch.
- Please provide a description of your contribution in the pull request.
- Link the pull request to the issue descripting the bug or feature.
-
Review and feedback
- When the pull request has been made, an author will review the changes, and provide feedback.
- Discuss or implement the suggestions from the review.
- When the pull request has been approved, and author will merge the changes to the master.
SharpLearning follows the microsoft C# naming and coding guidelines relatively closely. In general, try to write code in similar style to what is already present in the existing files/projects.