feat(deploy): TrueNAS Custom-App + Auto-Deploy, plus aufgelaufene Arbeit
Deployment: - custom-app.compose.yaml: self-contained Compose fuer TrueNAS "Custom App" (absolute Host-Bind-Pfade, postgres:18, pull_policy always, Port 8090) - scripts/truenas-deploy.sh: Host-Skript create/redeploy via midclt (App bleibt unter Apps sichtbar) inkl. Image-Pull + Health-Check - ci.yml Deploy-Job: laeuft auf ubuntu-latest-Runner, kopiert Deploy-Dateien per SSH auf den NAS-Host und triggert truenas-deploy.sh (statt runs-on goldeye) - compose.yaml/.env.example: postgres:18 (Locale-Match zur Quell-DB), Port 8090 - .gitignore: .agents/, tools/rag/, deploy/truenas/.env (Secrets/Scratch) Aufgelaufene Feature-Arbeit (verified/Freeze, Migrationen, Import-Triage): - GerbilOverride/VerifiedGerbil-Endpoints + GerbilSnapshotService + Tests - EF-Migrationen (ShowInChronicle, Stillborn, BirthOrder, ManualFlag, DSGVO) - Frontend VerifizierteTierePage + verified-API + e2e-Spec - diverse Import-/Triage-Skripte und -Tests Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,11 @@ namespace GerbilManagerWebAPI.Models
|
||||
/// Null = unbekannt (Altdaten). Must be ≤ TotalBorn if both are set.</summary>
|
||||
public int? DeathsWithin8Weeks { get; set; }
|
||||
|
||||
/// <summary>Totgeburten (TG): tot geborene Jungtiere dieses Wurfs. Getrennt von
|
||||
/// DeathsWithin8Weeks (in den ersten 8 Wochen verstorben). Aus der xlsx-Wurfchronik
|
||||
/// (litters.json breakdown) importiert. Null = unbekannt/nicht erfasst.</summary>
|
||||
public int? Stillborn { get; set; }
|
||||
|
||||
public Guid? FatherId { get; set; }
|
||||
public Gerbil? Father { get; set; }
|
||||
public Guid? MotherId { get; set; }
|
||||
@@ -45,5 +50,17 @@ namespace GerbilManagerWebAPI.Models
|
||||
/// Written by the Python merge_and_resolve step and surfaced read-only ("Datenherkunft").
|
||||
/// Null = manually-added litter / no import data.</summary>
|
||||
public string? Provenance { get; set; }
|
||||
|
||||
/// <summary>Steuert, ob dieser Wurf in der Wurfchronik (Würfe-Liste) erscheint.
|
||||
/// true = normal sichtbar. false = aus der Wurfchronik ausgeblendet, aber weiterhin
|
||||
/// auf der Tier-Detailseite des Elterntiers sichtbar — z. B. ein extern (bei einer
|
||||
/// anderen Zucht) entstandener Wurf eines nicht-residenten Tieres, der nur zur
|
||||
/// Dokumentation der Abstammung gehört. Default true (alle bestehenden Würfe).</summary>
|
||||
public bool ShowInChronicle { get; set; } = true;
|
||||
|
||||
/// <summary>true = manually created in the UI; false = produced by an import path. The ingest
|
||||
/// re-import wipe deletes ONLY IsManual=false litters, so a manually-added litter (e.g. the
|
||||
/// birth litter of a manual animal) is never wiped. All import paths leave this false.</summary>
|
||||
public bool IsManual { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user