Johannes Kirschbauer
10e3664bf3
Format
2024-08-21 15:32:38 +02:00
Johannes Kirschbauer
819db34d99
Clan-app: improve install machine workflow
2024-08-21 15:31:33 +02:00
Johannes Kirschbauer
4862171e85
UI: add classes to SelectInput
2024-08-21 15:29:08 +02:00
Johannes Kirschbauer
b5951146bc
UI: add placeholder to fileInput
2024-08-21 15:29:08 +02:00
Johannes Kirschbauer
9a222d62a7
API: init set_machine
2024-08-21 15:29:08 +02:00
Mic92
3710175785
Merge branch 'main' into rework-installation
2024-08-21 13:28:29 +00:00
Jörg Thalheim
666718287a
fix template path for relative clan create template
2024-08-21 15:16:46 +02:00
Jörg Thalheim
a72498fe2c
capture_output: only start capturing when we enter the with statement
2024-08-21 15:16:46 +02:00
Jörg Thalheim
a3699721c0
remove ipdb again
...
ipdb doesn't work with capsys and breakpoint
2024-08-21 15:00:47 +02:00
DavHau
cb860f9a03
Revert "vars: fix - upload machines own secrets only"
...
This reverts commit 8d61b03f8d .
2024-08-21 14:59:05 +02:00
DavHau
8d61b03f8d
vars: fix - upload machines own secrets only
2024-08-21 14:47:41 +02:00
Jörg Thalheim
6c421be9b2
test_create_flake: use template name instead of url
2024-08-21 13:59:38 +02:00
Jörg Thalheim
449db570b3
ui: fix type errors
2024-08-21 13:53:49 +02:00
Qubasa
e6dafd05f9
clan-app: Fix nix run .#clan-app
2024-08-21 13:52:25 +02:00
Jörg Thalheim
30bbb142e2
Merge remote-tracking branch 'origin/main' into rework-installation
2024-08-21 13:38:04 +02:00
a-kenji
df04d68cf3
clan-app: Fix name, desktop file and uri handling
...
This fixes the desktop file and uri handling.
Also brings app window class and name and build in line with the actual
naming.
2024-08-21 12:31:02 +02:00
clan-bot
30fda8b986
Merge pull request 'flash: fix finding disko-install when sudo is used' ( #1943 ) from Mic92-main into main
2024-08-21 10:01:48 +00:00
Jörg Thalheim
262859fdb8
flash: fix finding disko-install when sudo is used
2024-08-21 11:57:41 +02:00
Aos Dabbagh
1e96f59ecd
fix(installer): Fix language check case
...
When attempting to follow the docs on the installer, this error comes
up:
```
$ clan flash --flake git+https://git.clan.lol/clan/clan-core \
--ssh-pubkey ~/.ssh/id_ed25519.pub \
--keymap us \
--language en_US.utf-8 \
--dry-run flash-installer
ERROR: Language 'en_US.utf-8' is not a valid language. Run 'clan flash --list-languages' to see a list of possible languages.
```
I only decided to clean up the docs, but I'm also okay with just
downcasing the locales in `list_possible_languages()`.
2024-08-21 08:15:49 +00:00
Johannes Kirschbauer
db0ebcabf0
init: Set/get single disk
2024-08-20 12:05:22 +02:00
Johannes Kirschbauer
f55e772137
Fix: types
2024-08-20 11:33:23 +02:00
Johannes Kirschbauer
cabdbe5ecd
Clan-app: connection check & show remote devices
2024-08-20 09:53:15 +02:00
Johannes Kirschbauer
76ca85ac73
API/show_block_devices: add option for remote devices
2024-08-20 09:53:15 +02:00
Johannes Kirschbauer
4139435832
Classgen: fix dict type conversion for trivial dicts
2024-08-19 08:48:31 +02:00
Jörg Thalheim
237f762490
zerotierone: fix build against rust 1.80
2024-08-16 10:54:48 +02:00
Jörg Thalheim
3b40ff8156
fix group settings not applied correctly
2024-08-15 22:52:53 +02:00
Jörg Thalheim
609b208d91
fix remaining places not using captured_output
2024-08-15 19:57:08 +02:00
Jörg Thalheim
223b97d665
use capture in more places
2024-08-15 19:20:01 +02:00
Jörg Thalheim
5f99604f0e
remove unused fixture
2024-08-15 19:13:20 +02:00
Jörg Thalheim
e51905545d
add fixture to capture output in tests less fragile
...
Now we always remove previous output before capturing.
2024-08-15 18:45:03 +02:00
Jörg Thalheim
6d764b35f7
test_history_cli: clear capsys before reading from program
2024-08-15 17:59:11 +02:00
Jörg Thalheim
bc1c7c748f
try to log content of flake substitutes
2024-08-15 17:43:57 +02:00
Johannes Kirschbauer
02662867fb
UI: init update machine
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
cacd49ff54
Serde: extend deserializer to accept anything
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
90b13dc803
API: init machine update
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
3522b8ba49
Machine update: fix upload sources from machine flake, instead of current directory
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
a703388ba7
Clan-app: move expert field into advanced form
2024-08-15 12:26:43 +02:00
Jörg Thalheim
dc229a1b3b
fixtures_flake: avoid fileinput
...
it seems that the inplace argument in some cases picks up output from
unrelated functions. Since the file is relativly small, we can just
replace the content in one go.
2024-08-14 16:56:44 +02:00
Johannes Kirschbauer
3f46d37b67
Clan-app: generate hw spec via ssh
2024-08-14 16:28:43 +02:00
Johannes Kirschbauer
eb844e83fe
Clan-cli: remove unused show machine
2024-08-14 16:18:43 +02:00
Johannes Kirschbauer
22d6d57e3a
Clan-app: dynamic router concept
2024-08-14 13:16:14 +02:00
DavHau
b1d08ac228
pkgs/yagna: init at pre-rel-v0.16.0-preview.deposits.3
2024-08-13 22:14:39 +02:00
Johannes Kirschbauer
f26094c1ae
Clan-app: adapt overall appearance & layout
2024-08-13 21:08:52 +02:00
clan-bot
1cb3227f14
Merge pull request 'UI: add deploy feature, for initial machine deployment' ( #1878 ) from hsjobeki/clan-core:hsjobeki-ui into main
2024-08-13 17:36:14 +00:00
clan-bot
f9e60851cb
Merge pull request 'API: init setter for service instance config.' ( #1879 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-13 17:36:02 +00:00
clan-bot
cb333fb3a0
Merge pull request 'Serializer: filter None fields, to avoid conflicts with nix module system' ( #1880 ) from hsjobeki/clan-core:hsjobeki-serde into main
2024-08-13 17:36:01 +00:00
Johannes Kirschbauer
68c65fb3fd
API: add keyfile arg
2024-08-13 19:29:28 +02:00
Johannes Kirschbauer
8d1a1ddb17
Serializer: filter None fields, to avoid conflicts with nix module system
2024-08-13 19:27:59 +02:00
Johannes Kirschbauer
f873ac2388
API: init setter for service instance config.
2024-08-13 19:27:16 +02:00
Johannes Kirschbauer
d78c2fc2ac
UI: add deploy button, for initial machine deployment
2024-08-13 19:24:53 +02:00