lassulus
cb2f0c5222
clan-cli: exit with errorcode also in debug mode
2025-01-17 11:37:03 +00:00
DavHau
3ec028d672
tests: reduce unnecessary rebuilds of several tests
...
Some test were referring to the whole source code via ${self} which amde them rebuild on every single commit.
This is not mitigated by introduceing `self.filter { include = [...]; }` allowin to a content addressed subset of the source code in tests.
2025-01-17 17:00:18 +07:00
clan-bot
72ca99e2c7
Merge pull request 'Migrate borgbackup module to vars' ( #2741 ) from pinpox/clan-core:migrate-borgbackup-vars into main
2025-01-16 12:16:37 +00:00
Pablo Ovelleiro Corral
7a17a04698
Migrate borgbackup module to vars
2025-01-16 13:14:24 +01:00
Jörg Thalheim
c4a1e3ec95
switch to nixos-facter for hardware-config
2025-01-15 13:59:49 +00:00
Johannes Kirschbauer
4000571550
Fix: remove password from facts store tests
2025-01-14 17:19:51 +01:00
Johannes Kirschbauer
a53367bd11
Fix: secret facts store test
2025-01-14 17:19:50 +01:00
Jörg Thalheim
e2aa66d86f
reformat after update
2025-01-14 15:30:29 +01:00
Pablo Ovelleiro Corral
b56dac3b96
Implement clan ssh <hostname>
...
Fixes #2317
2025-01-11 23:15:39 +01:00
DavHau
bbe37a998f
vars: rename createFile -> persist
2025-01-11 04:19:46 +00:00
Qubasa
0536127044
clan-app: Add gpg to allowed-programs.json
2025-01-11 10:52:22 +07:00
Qubasa
8d4d98361d
clan-app: Fix default.nix
2025-01-11 10:52:22 +07:00
clan-bot
4f416eb32d
Merge pull request 'Fix clan state list command' ( #2716 ) from pinpox/clan-core:fix-state-list-command into main
2025-01-11 00:45:39 +00:00
Pablo Ovelleiro Corral
aa846cb39f
Fix clan state list command
2025-01-11 01:39:41 +01:00
Johannes Kirschbauer
944ac371bd
Disk Templates: Fix invalid toml frontmatter
2025-01-10 12:06:41 +00:00
Johannes Kirschbauer
c6fe4f2625
API/vars: use string based interfaces to get and set vars to avoid state mutations
2025-01-10 12:06:01 +00:00
Qubasa
5b51950e6d
docs: Add debugging.md and repo-layout.md guides
2025-01-09 13:01:49 +00:00
Jörg Thalheim
65680649e0
don't run sops + editor in a pipe
2025-01-07 14:12:54 +01:00
Johannes Kirschbauer
6b209f1008
API/vars: simplify get/set prompts
2025-01-07 11:09:58 +01:00
Johannes Kirschbauer
d5e54d262b
API: Disk templates, persist original values
2025-01-07 10:21:47 +01:00
Qubasa
26ff5aa1e1
clan-cli: Ignore new type hints in api/serde.py
...
clan-cli: Ignore new type hints in api/serde.py
clan-cli: Ignore new type hints in api/serde.py
clan-cli: Ignore new type hints in api/serde.py
2025-01-06 20:14:28 +01:00
Qubasa
6f5aadcba5
clan-app: working nix run .#clan-app, working open_file with tkinter
2025-01-06 20:14:28 +01:00
Qubasa
973f8f0489
clan-app: working file dialogue
2025-01-06 20:14:24 +01:00
Qubasa
bed51fc324
clan-app: working js<->python api bridge
2025-01-06 20:14:20 +01:00
Johannes Kirschbauer
96935c61f2
UI: fix button hover state disabled in disabled tsat
2025-01-03 16:33:51 +01:00
Johannes Kirschbauer
88bade7c14
CLI: include command stderr on failures
2025-01-03 16:32:16 +01:00
Johannes Kirschbauer
08f6cdc43f
Serde: fix enum type conversion, ensure roundtrip stability
2025-01-03 16:31:25 +01:00
Johannes Kirschbauer
7b930ab440
CLI: init cmd_with_root
2024-12-30 15:47:21 +01:00
Johannes Kirschbauer
a1c640db3d
UI: fix installer workflow asking for sudo pw in background
2024-12-30 15:47:21 +01:00
Johannes Kirschbauer
4253e50943
API/serde: remove broken list sorting in serializer
2024-12-28 16:18:09 +01:00
Jörg Thalheim
73680d2492
fix spacing in error message
2024-12-25 22:55:03 +01:00
Jörg Thalheim
e0b18c1579
fix committing in git worktree
...
fixes https://git.clan.lol/clan/clan-core/issues/2636
2024-12-25 22:51:53 +01:00
Jörg Thalheim
bc48ec738b
vars: commit validation hashes
2024-12-25 21:02:52 +01:00
Jörg Thalheim
9fb0e3a1db
vars: fix path to validation hashes
2024-12-25 20:48:59 +01:00
Jörg Thalheim
14fdf2debd
vars/fact: isolate secret generation better from the system
2024-12-25 19:21:51 +00:00
Jörg Thalheim
cc6f344001
backup/list: improve error reporting
2024-12-24 07:11:00 +01:00
Michael Hoang
60ef888636
vars: make populate_dir a method of StoreBase
2024-12-22 05:53:26 +00:00
Michael Hoang
7aa275a5b4
install: upload vars needed for activation for installation
2024-12-22 05:53:26 +00:00
Michael Hoang
27849a61db
machines: don't build on target machine if remote builders can be used
2024-12-21 10:43:17 +11:00
Johannes Kirschbauer
52db0e4e6c
API: Display only local block devices, remote ones should be retrieved from hw-report
2024-12-20 18:09:39 +01:00
DavHau
a5f82fc885
backups: throw error if no provider specified
2024-12-20 20:27:58 +07:00
DavHau
b451d7c3ff
machines update: remove unecessary special handling for non-path flakes
2024-12-20 19:23:25 +07:00
clan-bot
ab44967490
Merge pull request 'vars: allow setting files as needed for activation' ( #2633 ) from vars-needed_activation into main
2024-12-19 12:26:58 +00:00
lassulus
d91f653a65
vars: allow setting files as needed for activation
2024-12-19 13:05:05 +01:00
DavHau
ca614af0d4
vars/fix: mention machine in error message for fix
2024-12-19 17:39:02 +07:00
Qubasa
94b99034c9
clan-cli: Fix clan install command and multiple other issues
2024-12-18 15:29:08 +01:00
Michael Hoang
34b2b40222
vars: fix running generators on macOS
2024-12-19 00:16:22 +11:00
a-kenji
1596ecdb3d
pkgs/cli: Fix target_host for machines install
...
Use the correct `target_host`, if a user is defined.
Before the change:
```console
$ clan machines install
$ Install jon to 49.13.232.197? [y/N]
```
After the change:
```console
$ clan machines install
$ Install jon to root@49.13.232.197 ? [y/N]
```
Because root is the configured user for `target_host`, this is the
correct behavior.
2024-12-17 22:29:54 +01:00
Jörg Thalheim
7466445653
updating groups/machines/users keys now also update vars secrets
2024-12-17 19:24:30 +01:00
Jörg Thalheim
0e455cc77e
machine_logger: increase truncation limit to 20
...
10 was a bit short.
2024-12-17 17:51:47 +01:00