2ef44fec9c
Definiert Conventional-Commits-Format für das Projekt: - type(scope): Beschreibung - Production-Impact: none|low|medium|high|critical Production-Impact: none
59 lines
1.4 KiB
Markdown
59 lines
1.4 KiB
Markdown
# Contributing to Hermes Rocket.Chat Plugin
|
|
|
|
## Commit-Message-Convention
|
|
|
|
Alle Commits folgen dem Conventional-Commits-Format mit einem
|
|
**Production-Impact-Footer**.
|
|
|
|
### Format
|
|
|
|
```
|
|
<type>(<scope>): <kurze Beschreibung>
|
|
|
|
<ausführliche Beschreibung>
|
|
|
|
Production-Impact: <none|low|medium|high|critical>
|
|
```
|
|
|
|
### Types
|
|
|
|
- `feat`: Neue Funktionalität
|
|
- `fix`: Bugfix
|
|
- `docs`: Dokumentation
|
|
- `refactor`: Code-Umbau ohne Funktionsänderung
|
|
- `test`: Tests
|
|
- `chore`: Build/Tooling
|
|
|
|
### Scopes
|
|
|
|
- `adapter`: Gateway-Adapter (REST, DDP, WebSocket)
|
|
- `presence`: PresenceEngine, PulseController, DetectionTimer
|
|
- `archivar`: Archivar-Logik (Routing, Room-Map, History)
|
|
- `gateway`: Gateway-Integration
|
|
|
|
### Production-Impact-Footer
|
|
|
|
Jeder Commit MUSS einen `Production-Impact`-Footer haben:
|
|
|
|
| Level | Bedeutung |
|
|
|----------|-----------|
|
|
| `none` | Kein Einfluss auf Produktion (Doku, Tests, Chores) |
|
|
| `low` | Kosmetische Änderung, kein Verhaltenswechsel |
|
|
| `medium` | Verhaltensänderung mit geringem Risiko |
|
|
| `high` | Signifikante Verhaltensänderung (Circuit-Breaker, Rate-Limiting) |
|
|
| `critical` | Hotfix für Produktionsausfall |
|
|
|
|
### Beispiele
|
|
|
|
```
|
|
feat(adapter): http_timeout als konfigurierbarer Parameter
|
|
|
|
Production-Impact: none
|
|
```
|
|
|
|
```
|
|
fix(P1): users.setStatus 429 Circuit-Breaker — verhindert Gateway-Hang
|
|
|
|
Production-Impact: HIGH — verhindert Gateway-Hang durch 429-Endlosschleife
|
|
```
|