Thank you for your interest in contributing to Motiv. We appreciate your effort to help make Motiv a valuable tool for working with boolean logic in .NET applications.
This project and everyone participating in it is governed by the Motiv Code of Conduct. By participating, you are expected to uphold this code.
For reporting Code of Conduct violations or other sensitive issues, please use one of the following methods:
- Open a private security advisory in the GitHub repository
- Contact the project maintainers via GitHub's contact feature
- For general questions or discussions, please use GitHub Discussions in this repository
- Ensure you have the .NET SDK installed on your machine.
- Familiarity with Git and GitHub.
- Clone the repository:
git clone https://github.com/karlssberg/Motiv.git
- Navigate to the project directory:
cd Motiv
To build the project:
dotnet build
To run tests:
dotnet test
We use GitHub Flow, a simple and effective branching strategy:
main
: The primary branch. It should always be stable and deployable.feature/
: Used for developing new features or fixes. Create directly frommain
and merge back intomain
.
- Create a new feature branch from
main
:git checkout main git pull origin main git checkout -b feature/your-feature-name
- Make your changes in your feature branch.
- Keep your feature branch up to date with
main
:git checkout main git pull origin main git checkout feature/your-feature-name git merge main
- Ensure your changes adhere to the coding standards used throughout the project.
- Update the README.md with details of changes to the interface, if applicable.
- Commit your changes:
git commit -m "A brief description of your changes"
- Push your branch to GitHub:
git push origin feature/your-feature-name
- Create a Pull Request on GitHub to merge your changes into
main
.
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is SemVer.
- You may merge the Pull Request once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
- Use the issue tracker to report bugs.
- Use the issue tracker to suggest feature requests and enhancements.
- For bug reports, please provide:
- A quick summary and/or background
- Steps to reproduce
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
- Follow the C# Coding Conventions from Microsoft.
- Use clear, descriptive names for methods and variables.
- Write comments for complex logic or non-obvious code sections.
- Keep methods small and focused on a single task.
- All submissions, including submissions by project members, require review.
- We aim to review pull requests within 7 days.
- After feedback has been given, we expect responses within two weeks. After two weeks, we may close the pull request if it isn't showing any activity.
- If you have questions or need help, please open an issue in the GitHub issue tracker.
- For general discussions about development, use the Discussions feature on GitHub.
Contributors will be acknowledged in the project's README.md file. We appreciate all forms of contribution, from code to documentation to design.
Thank you for contributing to Motiv!