The general rules for contributing to OpenShock, including how pull requests are handled, are in the organization-wide contributing guide. This file adds what is specific to this repository.
Security vulnerabilities must not be reported in public issues or pull requests. See SECURITY.md.
- A guide for setting up a backend development environment is in the Wiki, and local tooling is described in Dev/README.md.
- The required .NET SDK version is pinned in
global.json. - The solution is
OpenShockBackend.slnx.
- Branch from
developand targetdevelopwith your pull request. - Build the solution and run the tests with
dotnet test. The integration test projects start their dependencies in containers, so they need a running Docker daemon. - Add or update tests for the behaviour you change.
- If you change the database model, include the EF Core migration.
- If you add or change a configuration variable, document it in README.md.
Changes to authentication, authorization, device control, shares, API tokens or the gateway protocol are safety-relevant. Say so in the pull request description and explain how you tested them.