DavHau
1a27bfa8a8
Reapply + Fix "vars: fix - upload machines own secrets only"
...
This reverts commit 0cd29daf88 .
2024-08-23 15:42:46 +02:00
Johannes Kirschbauer
76fbac8431
API: prepare hw_generate for facter
2024-08-23 11:13:06 +02:00
Johannes Kirschbauer
64f0aeea65
API: hw_generate commit generated config
2024-08-22 16:11:08 +02:00
Johannes Kirschbauer
4080fe41f8
Clan-app: generate hw report
2024-08-22 15:57:00 +02:00
clan-bot
0d7bb8f910
Merge pull request 'Clan-app: install machine' ( #1954 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-22 08:21:10 +00:00
Johannes Kirschbauer
543f412051
Clan-app: install machine interaction
2024-08-22 10:16:43 +02:00
Johannes Kirschbauer
f7e64cc3b5
API: serde fix nullable fields should be allowed to be none
2024-08-21 17:53:25 +02:00
clan-bot
564efd1199
Merge pull request 'Clan-app: fix welcome screen for initially empty clan' ( #1953 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-21 15:22:59 +00:00
Johannes Kirschbauer
f300a12309
Clan-app: fix welcome screen for initially empty clan
2024-08-21 17:06:49 +02:00
Qubasa
6c4d7494f6
clan-cli: Fix some type errors in tests
2024-08-21 15:48:43 +02:00
Qubasa
1cb26b41e7
clan-vm-manager: Fix regression
2024-08-21 15:48:43 +02:00
Johannes Kirschbauer
0834829a80
Format
2024-08-21 15:32:38 +02:00
Johannes Kirschbauer
f627817968
Clan-app: improve install machine workflow
2024-08-21 15:31:33 +02:00
Johannes Kirschbauer
c2b4aad634
UI: add classes to SelectInput
2024-08-21 15:29:08 +02:00
Johannes Kirschbauer
0e5c6ad4dc
UI: add placeholder to fileInput
2024-08-21 15:29:08 +02:00
Johannes Kirschbauer
1b146943d8
API: init set_machine
2024-08-21 15:29:08 +02:00
Mic92
cf3a1d6b7a
Merge branch 'main' into rework-installation
2024-08-21 13:28:29 +00:00
Jörg Thalheim
81c941aba6
fix template path for relative clan create template
2024-08-21 15:16:46 +02:00
Jörg Thalheim
d20287f9e3
capture_output: only start capturing when we enter the with statement
2024-08-21 15:16:46 +02:00
Jörg Thalheim
d6b70f8fd7
remove ipdb again
...
ipdb doesn't work with capsys and breakpoint
2024-08-21 15:00:47 +02:00
DavHau
0cd29daf88
Revert "vars: fix - upload machines own secrets only"
...
This reverts commit 2a8958f494 .
2024-08-21 14:59:05 +02:00
DavHau
2a8958f494
vars: fix - upload machines own secrets only
2024-08-21 14:47:41 +02:00
Jörg Thalheim
2fbd0b6796
test_create_flake: use template name instead of url
2024-08-21 13:59:38 +02:00
Jörg Thalheim
3cdf9b513d
ui: fix type errors
2024-08-21 13:53:49 +02:00
Qubasa
b2530f0b19
clan-app: Fix nix run .#clan-app
2024-08-21 13:52:25 +02:00
Jörg Thalheim
9f66ded76a
Merge remote-tracking branch 'origin/main' into rework-installation
2024-08-21 13:38:04 +02:00
a-kenji
0c811f90b0
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
9847f835b2
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
8b918ab4b1
flash: fix finding disko-install when sudo is used
2024-08-21 11:57:41 +02:00
Aos Dabbagh
7281cef29e
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
f63940e2ba
init: Set/get single disk
2024-08-20 12:05:22 +02:00
Johannes Kirschbauer
b8feff9ca6
Fix: types
2024-08-20 11:33:23 +02:00
Johannes Kirschbauer
92e3c3f40b
Clan-app: connection check & show remote devices
2024-08-20 09:53:15 +02:00
Johannes Kirschbauer
340babd348
API/show_block_devices: add option for remote devices
2024-08-20 09:53:15 +02:00
Johannes Kirschbauer
0296693680
Classgen: fix dict type conversion for trivial dicts
2024-08-19 08:48:31 +02:00
Jörg Thalheim
e12ab8f70e
zerotierone: fix build against rust 1.80
2024-08-16 10:54:48 +02:00
Jörg Thalheim
c8f50a0d90
fix group settings not applied correctly
2024-08-15 22:52:53 +02:00
Jörg Thalheim
cd5313d7ce
fix remaining places not using captured_output
2024-08-15 19:57:08 +02:00
Jörg Thalheim
82d3b98a38
use capture in more places
2024-08-15 19:20:01 +02:00
Jörg Thalheim
4d9c5b48c8
remove unused fixture
2024-08-15 19:13:20 +02:00
Jörg Thalheim
fe66a740b5
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
aec45d3a1a
test_history_cli: clear capsys before reading from program
2024-08-15 17:59:11 +02:00
Jörg Thalheim
65d44c644a
try to log content of flake substitutes
2024-08-15 17:43:57 +02:00
Johannes Kirschbauer
5acd9aabf3
UI: init update machine
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
4940767fcc
Serde: extend deserializer to accept anything
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
ce560e05cd
API: init machine update
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
016b3e846d
Machine update: fix upload sources from machine flake, instead of current directory
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
e2c3f31fe0
Clan-app: move expert field into advanced form
2024-08-15 12:26:43 +02:00
Jörg Thalheim
8e1b96aea5
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
c86b14d34d
Clan-app: generate hw spec via ssh
2024-08-14 16:28:43 +02:00