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>
27 lines
786 B
Python
27 lines
786 B
Python
import urllib.request
|
|
import json
|
|
import sys
|
|
|
|
sys.stdout.reconfigure(encoding='utf-8')
|
|
|
|
ticket_id = "e31a9d3b-f6aa-44e8-85cb-0aef14e43eb1"
|
|
url = f"http://localhost:5179/feedback/{ticket_id}"
|
|
|
|
payload = {
|
|
"status": "Resolved",
|
|
"fixNote": "Die Wurf-Liste kann nun über das entsprechende Dropdown-Menü alphabetisch sortiert ('Alphabetisch A-Z' / 'Z-A') sowie nach Jahren gefiltert werden. Bitte lade die Seite neu."
|
|
}
|
|
|
|
try:
|
|
req = urllib.request.Request(
|
|
url,
|
|
data=json.dumps(payload).encode('utf-8'),
|
|
headers={"Content-Type": "application/json"},
|
|
method="PUT"
|
|
)
|
|
with urllib.request.urlopen(req) as res:
|
|
print(f"Status: {res.status}")
|
|
print("Successfully resolved ticket!")
|
|
except Exception as e:
|
|
print("Error:", e)
|