Contributing to Asobi
View SourceThanks for helping improve Asobi.
Build
Requires Erlang/OTP 28 or later and rebar3.
rebar3 compile
Tests
rebar3 eunit
rebar3 ct
The Common Test suites exercise the HTTP and WebSocket API against a real Postgres; bring one up with Docker before running them.
Pre-push checklist
Run these before opening a pull request and fix every warning, doc warnings included:
rebar3 fmt --check
rebar3 xref
rebar3 dialyzer
rebar3 ex_doc
rebar3 eunit
rebar3 ct
Pull requests
- Branch off
main; do not push tomaindirectly. - Use conventional commit messages (
feat:,fix:,docs:,refactor:, ...). - Keep changes focused, and add or update tests alongside the code.
- Public modules use
-moduledoc/-docattributes so they render in the generated API reference.
Security
Do not open public issues for vulnerabilities. See SECURITY.md.
License
By contributing you agree that your contributions are licensed under Apache-2.0.