Contributing
Commit messages
Commits follow Conventional Commits, which the changelog is generated from (feat and fix appear in it; docs, test, ci and chore don't): feat(tabs): add pinned tabs, fix: …, docs: …, ci: …. Run ./task hooks once to check messages locally before CI does.
Before you push
./task checkruns everything CI does: the linters, unit tests, the e2e tests and the smoke test.- Generated files must be current:
UPDATE_LUA_TYPES=1 cargo test -p rt-configrewritesdocs/lua/rt.meta.lua,docs/settings.mdand the generated reference pages after you add or change a command, setting or default binding. - The editor page's bundle,
crates/rt-cef/ui/editor.bundle.js, and its license notices are built fromcrates/rt-cef/editor/byscripts/update-editor-bundle.sh. Run it after changingeditor/main.jsor its packages (--latestupdates them), and commit the result. The notices,ui/editor.bundle.LICENSES.txt, are served atriptide://licenses/and shipped in every package asTHIRD-PARTY-LICENSES.txt. - User-visible changes need documentation in the same change; see Writing documentation.