gitea user and pswd, some pages removed, logs

This commit is contained in:
JiriUhlir
2026-06-17 11:39:52 +02:00
parent 23bbcad835
commit 7897e3b876
18 changed files with 601 additions and 457 deletions
+11 -1
View File
@@ -3,7 +3,17 @@ import subprocess
def run_command(args):
return subprocess.run(args, capture_output=True, text=True)
# Skripty v /tools vypisují české hlášky v UTF-8. Bez explicitního kódování
# se výstup dekóduje podle locale kontejneru (často C/ASCII) a diakritika se
# rozsype na mojibake. errors="replace" navíc zaručí, že dekódování nikdy
# nespadne na neočekávaném bajtu.
return subprocess.run(
args,
capture_output=True,
text=True,
encoding="utf-8",
errors="replace",
)
def run_command_background(args, extra_env=None):