Jörg Thalheim
e150b37fb8
enable ASYNC, DTZ, YTT and EM lints
2024-09-02 14:07:06 +02:00
Jörg Thalheim
109d1faf9e
enable bug-bear linting rules
2024-09-02 13:26:07 +02:00
lassulus
05ed378199
Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."
...
This reverts commit 58f5bc0be0 .
2024-06-03 12:25:20 +02:00
Qubasa
58f5bc0be0
clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py.
2024-06-02 16:52:31 +02:00
Qubasa
cca39c4839
clan-cli: Refactor machines/update.py to cmd.run
2024-06-02 10:00:23 +02:00
Qubasa
44660056f1
clan-cli: Refactor subprocess.run to cmd.run. tea-create-pr: Fix missing fail-on-change for treefmt
2024-06-02 09:53:24 +02:00
a-kenji
12add74aae
clan: add run_no_stdout function suppressing stdout
...
Add the `run_no_stdout` function suppressing stdout by default.This
keeps the noise down on most commands, while still
stayingdebuggable.Stdout will be active when the `--debug` flag is
passed to the cli.
Fixes #1443
2024-05-28 11:13:55 +02:00
Qubasa
93ca333227
clan_cli: Add TimeTable class to cmd.py. Fix bugs in Machine rewrite
2024-03-08 22:01:54 +07:00
Qubasa
043f2e5061
clan_cli,clan_vm_manager: Moved profiler to clan_cli. Add cmd timer to see how long run commands take
2024-03-06 17:12:20 +07:00
Jörg Thalheim
7b60678d1f
cmd: skip print for zero-length bufs
2024-01-30 10:30:25 +07:00
Jörg Thalheim
a83d7e0afc
cmd: add a timeout in select
2024-01-12 00:20:22 +01:00
Qubasa
12896d72ea
cmd.py: Fix busy loop.
2024-01-12 00:13:21 +01:00
Qubasa
b4a3be7628
Re-added rlist.remove to counter busy loop
2024-01-12 00:08:15 +01:00
Qubasa
c56e1d1684
cmd.py: Fix deadlock because of incorrect select usage
2024-01-11 23:03:14 +01:00
Qubasa
f087f527cc
Removed duplicate logging messages
2024-01-11 22:46:29 +01:00
Qubasa
2c6c4bacce
Identified deadlocking funciton
2024-01-11 22:28:35 +01:00
Qubasa
6647c38417
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
Qubasa
038aa769aa
cmd.py: Fixing bug: missing output because of forgotten flush() call
2024-01-11 21:11:49 +01:00
Qubasa
13ba1440bd
cmd.py refactor part 4
2024-01-11 21:11:49 +01:00
Qubasa
50781d6cf0
Fixed bug, where exception is raised where there shouldn't be raised one
2024-01-10 18:46:54 +01:00
Qubasa
cbc4c966f1
Added ClanCmdError. cmd.run now returns this error
2024-01-10 17:58:39 +01:00
Qubasa
2f9195b779
Fix cmd to default print on all outputs. Default print on stderr
2024-01-10 17:31:11 +01:00
Qubasa
715ed10e59
nix fmt
2024-01-10 17:19:33 +01:00
Qubasa
cc6f9e67fa
nix fmt
2024-01-10 17:19:12 +01:00
Qubasa
6f27cd8b6a
Updated cmd.py with Mic92 changes to fit previous changes
2024-01-10 17:18:21 +01:00
Qubasa
7049573d28
Refactor subprocess to cmd.py part 2
2024-01-10 12:11:29 +01:00
Jörg Thalheim
b476f6386d
cmd: rework redirecting stdout/stderr
2024-01-09 17:34:43 +01:00
Qubasa
f424395bd3
Fixed cmd.py writing to stderr
2024-01-02 17:21:06 +01:00
Qubasa
9c7f62a4a5
Refactor subprocess to cmd.py part 1. Fixed clan_uri test.
2024-01-02 17:21:06 +01:00
Qubasa
79b651a6f2
Fixed unsafe dirs.py urlquoting, improved cmd.py run func
2024-01-02 17:21:06 +01:00
Qubasa
83e1c972ad
Finished clan history command. Ported remaining async to sync funcs
2023-12-14 20:57:31 +01:00