feat: add SQL/SQLite, AppSec, Capstone incident-tracker, Gitea Actions CI and spaced repetition
Test and Lint / quality (push) Successful in 2m13s
Test and Lint / quality (push) Successful in 2m13s
This commit is contained in:
1 parent
011f23e637
commit
33082598fc
19 files changed
+496
-6
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Capstone Mini-Projekt: `incident-tracker` (CLI `cobra` + 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 (`tracker.go`)
|
||||
1. `IncidentStore` na SQLite (`modernc.org/sqlite`): `InitSchema`, `Add(title, severity)`, `List(severity)`, `Resolve(id)`, `Stats()`.
|
||||
2. `NewCLI(dbPath string, out io.Writer) *cobra.Command` — podkomendy `add <title> --severity <sev>`, `list [--severity <sev>]`, `resolve <id>`, `stats` wypisujące JSON do `out`.
|
||||
|
||||
## Uruchomienie testów
|
||||
```bash
|
||||
make test-project
|
||||
```
|
||||
Reference in new issue
Block a user