Erstumsetzung: OAMC Turnierauswertung (AP 0–7, 9)
* Datenmodell + Alembic-Initialmigration (Plan §4), Seed Saison 2026 * Wertungs-Engine (Plan §3.3), regelbasiert je Kategorie/Saison - Abnahmetest gegen die Ergebnisliste 2026-05-31 * Meisterschaftsberechnung mit Streichresultaten + Tie-Break (PLATZHALTER-Punktetabelle, O-1 offen) * Ingest-API (idempotent, dry_run) inkl. Excel-Leser und Fahrer-Matching/Merge * Zeitmessungs-Endpoint (Batch, idempotent, unzugeordnet/unplausibel) + SSE-Anzeige - Mess-Pi-Client bewusst NICHT enthalten (docs/zeitmessung-endpoint.md) * Frontend: öffentliche Seiten + internes Backend (Jinja2/HTMX, kein Build) * Auslieferung: Docker (multi-arch) + docker-compose sowie Debian-Paket/APT-Repo * 57 Tests grün gegen echte PostgreSQL-Testdatenbank Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# APT-Repository für `oamc-turnier`
|
||||
|
||||
Kleines, signiertes Ein-Paket-Repo (für den Vereins-Pi / eigenen Server). Nutzt
|
||||
`reprepro`.
|
||||
|
||||
## Einmalig: Repo anlegen
|
||||
|
||||
```sh
|
||||
sudo apt install reprepro devscripts build-essential debhelper
|
||||
export GNUPGHOME=~/.gnupg
|
||||
gpg --full-generate-key # Repo-Signierschlüssel, z. B. "OAMC APT <apt@oamc.de>"
|
||||
gpg --armor --export apt@oamc.de > packaging/apt-repo/oamc-archive-keyring.asc
|
||||
|
||||
mkdir -p /srv/apt/oamc/conf
|
||||
cp packaging/apt-repo/distributions /srv/apt/oamc/conf/distributions # SignWith anpassen
|
||||
```
|
||||
|
||||
## Paket bauen und einspielen
|
||||
|
||||
```sh
|
||||
./packaging/apt-repo/build-deb.sh # erzeugt ../oamc-turnier_*.deb
|
||||
reprepro -b /srv/apt/oamc includedeb trixie ../oamc-turnier_*.deb
|
||||
```
|
||||
|
||||
`/srv/apt/oamc` per nginx/Apache unter z. B. `https://apt.oamc.de` ausliefern.
|
||||
|
||||
## Auf dem Zielrechner
|
||||
|
||||
```sh
|
||||
curl -fsSL https://apt.oamc.de/oamc-archive-keyring.asc \
|
||||
| sudo tee /etc/apt/keyrings/oamc.asc >/dev/null
|
||||
echo "deb [signed-by=/etc/apt/keyrings/oamc.asc] https://apt.oamc.de trixie main" \
|
||||
| sudo tee /etc/apt/sources.list.d/oamc.list
|
||||
sudo apt update && sudo apt install oamc-turnier
|
||||
```
|
||||
Reference in New Issue
Block a user