Contributing¶
Documentation¶
This documentation lives in mcprack-doc-en. Edit the .rst file under
source/, build and check:
make html
# open build/html/index.html
Pushing to main rebuilds the Read the Docs site and the Debian package
mcprack-doc.
Rules: English, active voice, second person; reStructuredText; always name the
language of a code block; copy-pasteable examples; document only behaviour that is
released and implemented. See AGENTS.md.
Code¶
Repository |
Notes |
|---|---|
Flask application. Tests: |
|
Standard library only |
|
|
Thin wrappers around |
Role and modules |
Conventions that matter when you change mcprack:
A new mutating admin route must be classified in
mcprack/reauth.pyandmcprack/demo.py; tests fail until it is.A new audit action goes into
AuditLogEntry.ACTIONS; the message must never contain a credential, an argument or a request body.Routes that issue a long-lived credential must call
reauth.needed()in the view.A new setting belongs in
mcprack/config.pywith its default, and in the reference page.Migrations must be reversible.