feat: add SQL/SQLite, AppSec, Capstone incident-tracker, Gitea Actions CI and spaced repetition
Test and Lint / quality (push) Successful in 1m50s

This commit is contained in:
soda64 committed 2026-12-02 19:03:16 +01:00
1 parent 015eae08c3
commit 9130af822e
19 files changed
+722 -7

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# Capstone Mini-Projekt: `incident-tracker` (CLI `clap` + SQLite + JSON)
Ten sam projekt SRE realizujesz w Pythonie, Go i Ruście, żeby porównać ergonomię i architekturę wszystkich trzech języków.
## Wymagania (`src/lib.rs`)
1. `IncidentStore` na `rusqlite`: `init_schema`, `add(title, severity)`, `list(severity)`, `resolve(id)`, `stats()`.
2. `run_cli(db_path: &Path, args: &[&str]) -> Result<String, TrackerError>` — parsuje podkomendy `add <title> --severity <sev>`, `list [--severity <sev>]`, `resolve <id>`, `stats` przez `clap` i zwraca wynik jako JSON `String`.
## Uruchomienie testów
```bash
make test-project
```