Thank you for considering contributing to the Cognite .NET SDK! We welcome contributions from the community to help improve the SDK. Below are the guidelines for contributing to the project.
Get the code!
git clone https://github.com/cognitedata/cognite-sdk-dotnet.git
cd cognite-sdk-dotnet
We use Paket for dependency management. Ensure you have .NET SDK installed.
Install dependencies and initialize the environment with these commands:
dotnet tool restore
dotnet paket install
- Request access to the appropriate AAD tenant.
- Set environment variables listed below. The READ credentials should be for the
publicdata
project.TEST_TENANT_ID_WRITE
TEST_CLIENT_ID_WRITE
TEST_CLIENT_SECRET_WRITE
TEST_TENANT_ID_READ
TEST_CLIENT_ID_READ
TEST_CLIENT_SECRET_READ
If you have appropriate credentials (see Environment Variables above), you can run the integration tests:
sh ./test.sh
The SDK uses Semantic versioning. To release a new version of the SDK, update the version file to contain the new version and nothing else.
This will automatically create a new tag and release when merged to master. A new version will be released if there is no tag with the same name as the version given in the version file.