3.1 KiB
How to contribute to SixLabors.ImageSharp
Did you find a bug?
-
Please ensure the bug was not already reported by searching on GitHub under Issues.
-
If you're unable to find an open issue addressing the problem, please open a new one. Be sure to include a title, the applicable version, a clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring. Please do not hijack existing issues.
Did you write a patch that fixes a bug?
-
Open a new GitHub pull request with the patch.
-
Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
-
Before submitting, please ensure that your code matches the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
Do you intend to add a new feature or change an existing one?
-
Suggest your change in the Ideas Discussions Channel and start writing code.
-
Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended for bug reports and fixes.
Building
-
When first cloning the repo, make sure to run
git submodule update --init --recursiveotherwise the submodules (e.g.shared-infrastructure) will be missing. -
Run
dotnet buildin the root of the repo, or open the ImageSharp.sln file in Visual Studio and build from there.
Running tests and Debugging
- Expected test output is pulled in as a submodule from the ImageSharp.Tests.Images repository. To succesfully run tests, make sure that you have updated the submodules!
- Debugging (running tests in Debug mode) is only supported on .NET Core 2.1+, because of JIT Code Generation bugs like dotnet/coreclr#16443 or dotnet/coreclr#20657
Do you have questions about consuming the library or the source code?
- Ask any question about how to use SixLabors.ImageSharp in the Help Discussions Channel.
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.
And please remember. SixLabors.ImageSharp is the work of a very, very, small number of developers who struggle balancing time to contribute to the project with family time and work commitments. We encourage you to pitch in and help make our vision of simple accessible image processing available to all. Open Source can only exist with your help.
Thanks for reading!