feat(packaging): implement packaging (.tar.gz, .deb, .rpm), FHS logging, and container integration test matrix
This commit is contained in:
1 parent
6e18bdf7b7
commit
e1a99d7e6f
20 files changed
+789
-21
No files matched your search
@@ -17,8 +17,10 @@ class CommandRunner:
|
||||
print(f"[RUNNER] {text}", file=sys.stderr)
|
||||
if self.log_file:
|
||||
try:
|
||||
import datetime
|
||||
timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
with open(str(self.log_file), "a", encoding="utf-8") as f:
|
||||
f.write(f"{text}\n")
|
||||
f.write(f"[{timestamp}] {text}\n")
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
Reference in new issue
Block a user