Welcome to the dotnet-sops repository on GitHub! We're excited that you're interested in contributing to our project. Your contributions, whether they're in the form of code, documentation, bug reports, or feature requests, play a crucial role in making this project better for everyone.
Please take a moment to review this Contributing Guide before you get started. It outlines the process for contributing to dotnet-sops and provides important information on how to submit your contributions.
Make sure you have the following prerequisites installed before you start contributing:
- .NET SDK 8.x that are defined in global.json
Install required dotnet tools by running the following command:
dotnet tool restore
Code can be compiled by running the following command:
dotnet build
Warnings are treated as errors in Release configuration build.
Test can be executed by running the following command:
dotnet test
Lint of code can be checked by the following command:
dotnet format --verify-no-changes
dotnet csharpier . --check
All rules are defined by .editorconfig file
Tool can be packed by the following command:
dotnet pack
Releases are created by maintainers following this process:
- Checkout latest main branch
git checkout main git pull
- Create a signed tag on the main branch with a semantic version number, e.g., "v0.1.0" or "v0.1.0-alpha.1".
git tag -s -m <version> <version>
- Push the tag to GitHub. This action initiates a new build and generates a draft release on GitHub.
git push origin <version>
- Verify the release and publish it. This initiates a workflow that uploads the release to NuGet.org.
If you find a bug, have a question, or want to request a new feature, please open an issue on GitHub. Provide a clear and detailed description of the issue, and use the appropriate issue template if available.
We welcome pull requests (PRs) from contributors. To submit a PR:
- Make sure your forked repository is up to date with the latest changes from the main repository.
- Create a new branch for your feature/bug fix.
- Make your changes and commit them with a clear and concise message.
- Push your changes to your forked repository.
- Open a pull request against the main branch of the main repository. Provide a detailed description of your changes and reference any related issues.
- When all checks are green and all feedback have been addressed, we will merge the pull request with the "Squash and merge" option.
We follow the same coding guidelines used by dotnet/aspnetcore. Some of the coding guidelines are enforced by the .editorconfig file.
Good documentation is essential for the success of any project. Help us improve dotnet-sops's documentation by creating clear, concise, and easy-to-understand documentation.
By contributing to dotnet-sops, you agree that your contributions will be licensed under the MIT License. Make sure you understand and agree to the terms before submitting your contributions.