Jörg Thalheim
4af1954abf
ruff: enable warning lints
2024-10-23 09:06:02 +00:00
Jörg Thalheim
29909e49d3
apply TRY lint
2024-09-03 18:13:46 +02:00
Jörg Thalheim
109d1faf9e
enable bug-bear linting rules
2024-09-02 13:26:07 +02:00
Jörg Thalheim
b313f2d066
make all same-module imports relative, the rest absolute
...
This makes sorting more consitent.
2024-09-02 13:00:19 +02:00
Jörg Thalheim
64956a7a0a
Revert "clan-cli: deprecate nix_shell() in favor of run_cmd()"
...
This reverts commit a598b878a5 .
2024-07-17 14:04:49 +02:00
DavHau
a598b878a5
clan-cli: deprecate nix_shell() in favor of run_cmd()
2024-07-16 14:03:17 +07:00
a-kenji
c7e662806f
clan-cli: add --json and --png flags to machine install
...
Allow using `clan machines [machine] install` in conjunction with the
`--json` and `--png` flags.
Fixes #1180
2024-05-07 14:47:13 +02:00
lassulus
56d6a124ac
installer: fix qr code again
2024-04-22 21:04:41 +02:00
lassulus
b0ade15ba3
installer: make qrcode compatible with nixos-images
2024-04-22 20:49:35 +02:00
lassulus
93957b18c7
clan-cli ssh: fix qr code format
2024-04-22 20:21:44 +02:00
lassulus
b8264f8fd2
clan-cli ssh: --json can be file or str
2024-04-22 20:13:17 +02:00
a-kenji
971bd7a6db
clan: clan ssh fix password login
2024-04-17 21:45:14 +02:00
a-kenji
b3dfaaab04
clan: clan ssh fix for new installer image
2024-04-17 18:20:40 +02:00
a-kenji
bd10720e5d
clan-cli: fix clan ssh --json and --png
...
This fixes `clan ssh` with the `--json` and `--png` flags.
It will now correctly use the actual fields that are present in the
generated json.
- probes if the ports are accessible
- if accessible will attempt a single ssh connection with the provided
password, in order to not spam ssh attempts
Fixes #1177
2024-04-17 10:12:37 +00:00
Jörg Thalheim
0e91f8721f
prefix nixpkgs# explicitly in nix_shell
...
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
Jörg Thalheim
6f0722c692
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
Jörg Thalheim
7d755beca6
enable more linting
2023-11-29 13:29:45 +00:00
Jörg Thalheim
b7212b9988
ruff: also enforce variable naming rules
2023-08-27 10:51:47 +02:00
Jörg Thalheim
8fea55da32
move ssh cli to cli submodule
2023-08-09 15:46:34 +02:00