Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.1 KB

CONTRIBUTING.md

File metadata and controls

24 lines (18 loc) · 1.1 KB

Contributing

Repository text, code, CLI messages and commits are in English. Keep changes focused and include evidence for behavior changes. Never put a real API key or real seller or buyer data in a fixture.

Use the checked-in Gradle wrapper, JDK 21, git and network access. Publish the Kotlin SDK locally once, then run what the CI's jvm job runs:

scripts/publish-sdk-locally.sh publishKotlinMultiplatformPublicationToMavenLocal publishJvmPublicationToMavenLocal
python3 scripts/release-request.py
python3 -m unittest discover -s scripts -p 'test_release_*.py'
./gradlew :cli:jvmTest

For a native target, add its publication, such as publishMacosArm64PublicationToMavenLocal, or run the script with no argument to publish every target your host can build.

Native verification is required for platform behavior: link the executable for your platform and run scripts/smoke-native.py. Tests run against a Ktor MockEngine or the local fake API, never against the real API.

A command calls the API only through the ControlResell Kotlin SDK. A command whose route is not in the SDK yet waits for it.