Contributing¶
Quick look: fork, branch
feat/<topic>, Conventional Commits,git commit -s, pull request. The organization default guide is CONTRIBUTING.md; this page summarizes it and links to the policy sources. If they disagree, they win.
XIOM is pre-beta and the standard library is beta. The same summary lives on the website's Contributing page.
Policy sources¶
| Topic | Document |
|---|---|
| Contribution guide (org default) | CONTRIBUTING.md |
Licensing: MIT OR Apache-2.0, inbound equals outbound, no CLA |
docs/LICENSING.md |
| Developer Certificate of Origin 1.1 | DCO |
| Governance and the RFC process | GOVERNANCE.md |
| Code of conduct | CODE_OF_CONDUCT.md |
| Support channels | SUPPORT.md |
| Security reporting (private, never a public issue) | SECURITY.md |
The path¶
- Fork the repository and branch from
main:feat/<topic>,fix/<topic>ordocs/<topic>. - Make one logical change; add or update tests and keep documentation with it.
- Write Conventional Commits in the imperative mood (
feat:,fix:,docs:,test:,chore:,refactor:); breaking changes use!and aBREAKING CHANGE:paragraph. - Sign off every commit:
git commit -s. The name and email must match the commit author or committer. - Open the pull request with the repository template and paste the exact commands you ran.
- Required checks must pass and a maintainer reviews; keep the branch rebased,
mainstays linear.
Language and standard library changes go through the RFC process, which opens with the public launch. Routine fixes, docs, tests and tooling need one maintainer approval and green checks.
Sign-off, in practice¶
git commit -s -m "fix: correct tz offset for DST boundaries"
Signed-off-by: Your Name <you@example.com>
CI checks every commit in a pull request. Forgot a sign-off? git commit --amend -s --no-edit fixes the last commit; git rebase --signoff main signs a whole branch.
Where things live¶
| Repository | Contents |
|---|---|
xiom |
Compiler and tooling crates plus end-to-end tests. |
stdlib |
Standard library sources, smoke corpus and known-answer vectors. |
registry |
Package registry service. |
website |
This site and the documentation sources. |
playground |
Browser playground. |
.github |
Organization profile, process documents and default templates. |