Jörg Thalheim
|
2240a3a533
|
rename nix_shell_legacy to nix_shell and run_cmd to nix_shell
Than it's more obvious that we need to migrate.
|
2025-04-16 18:27:01 +00:00 |
|
Qubasa
|
dc8bfab65d
|
clan-cli: Fix templates not downloading template, Make templates use Flake cache, Fix flake cache exception on conditional attribute, add more tests
|
2025-03-19 10:30:52 +00:00 |
|
Qubasa
|
d44def5381
|
clan-cli: Fix clan create throwing a warning if --flake is not defined
|
2025-02-18 17:40:27 +07:00 |
|
Qubasa
|
a5e32f9b6d
|
clan-cli: Fix clan flakes create inside an already existing git repo
|
2025-02-17 13:23:31 +07:00 |
|
Qubasa
|
69d092c46b
|
clan-cli: Add update_clan boolean option to create_clan
|
2025-02-10 20:36:55 +07:00 |
|
lassulus
|
32748c14f4
|
clan_cli machines: use Flake instead of FlakeId
|
2025-02-07 06:26:09 +01:00 |
|
Qubasa
|
decf340258
|
clan-cli: Fix incorrect input handling in get_templates
|
2025-02-04 08:10:32 +00:00 |
|
Qubasa
|
0f4cdd31cd
|
clan-cli: Make clan machines create use templating.py
|
2025-01-31 18:07:48 +07:00 |
|
Qubasa
|
d770830c03
|
clan-cli: Add test_clan_nix_attrset.py and minor fixups
|
2025-01-31 16:36:20 +07:00 |
|
Qubasa
|
7545a9a883
|
clan-cli: Make clan flakes create discover templates from inputs. Add clan flakes list command
|
2025-01-30 16:24:50 +07:00 |
|
Jörg Thalheim
|
e2aa66d86f
|
reformat after update
|
2025-01-14 15:30:29 +01:00 |
|
Johannes Kirschbauer
|
b1ba74a27b
|
inventory.{cli,api}: use only dictionaries
|
2024-12-06 18:51:20 +01:00 |
|
Jörg Thalheim
|
51526aedbb
|
rename run_no_output to run_no_stdout
we want stderr for some nix commands.
|
2024-12-03 17:15:28 +01:00 |
|
Qubasa
|
d2719f3179
|
clan-cli: cmd.run now has its options extracted to a dataclass
|
2024-11-28 15:26:37 +01:00 |
|
Johannes Kirschbauer
|
5d78c7a01e
|
CLI: use new template path
|
2024-11-28 11:44:44 +01:00 |
|
Jörg Thalheim
|
cd13bfe6ed
|
HistoryEntry: add cleaner typesafe json deserialization
|
2024-11-11 11:36:17 +01:00 |
|
a-kenji
|
f76276cd55
|
pkgs/cli: Add minimal-flake-parts to create
|
2024-11-08 12:34:30 +01:00 |
|
a-kenji
|
928d26a8cb
|
pkgs/cli: Apply naming standards to description and help fields
|
2024-11-05 19:18:44 +01:00 |
|
Johannes Kirschbauer
|
b4e3dff23b
|
CLI: api.register type preservation
|
2024-09-16 12:52:28 +00:00 |
|
Johannes Kirschbauer
|
91a9fb23be
|
API: rename set_inventory
|
2024-09-13 16:11:10 +02:00 |
|
Jörg Thalheim
|
af0a1dd3f2
|
use pathlib
|
2024-09-02 17:40:05 +02:00 |
|
Jörg Thalheim
|
ad3daa3ce4
|
add RET, Q, RSE lint
|
2024-09-02 15:58:49 +02:00 |
|
Jörg Thalheim
|
15ff74f7c2
|
enable ASYNC, DTZ, YTT and EM lints
|
2024-09-02 14:07:06 +02:00 |
|
Jörg Thalheim
|
35839ef701
|
enable bug-bear linting rules
|
2024-09-02 13:26:07 +02:00 |
|
Jörg Thalheim
|
af4b9cc2d5
|
make all same-module imports relative, the rest absolute
This makes sorting more consitent.
|
2024-09-02 13:00:19 +02:00 |
|
Johannes Kirschbauer
|
732ba9d176
|
Template: fix flake-parts template
|
2024-08-27 11:27:26 +02:00 |
|
Qubasa
|
1cb26b41e7
|
clan-vm-manager: Fix regression
|
2024-08-21 15:48:43 +02:00 |
|
Jörg Thalheim
|
9f66ded76a
|
Merge remote-tracking branch 'origin/main' into rework-installation
|
2024-08-21 13:38:04 +02:00 |
|
Johannes Kirschbauer
|
e55b0fea2e
|
Clan-cli: remove unused debug flag in list machine
|
2024-08-07 12:17:32 +02:00 |
|
Johannes Kirschbauer
|
a4bbdcb010
|
Clan-core: Rename clanName within Machines
|
2024-08-06 12:21:46 +02:00 |
|
Johannes Kirschbauer
|
91397adbfc
|
Fix: regression list_machines. Split into multiple functions
list_inventory_machines, list_nixos_machine, list_sops_machines
The caller of the function should specify which machines they wants to see
|
2024-08-03 12:43:35 +02:00 |
|
Jörg Thalheim
|
2df19898a7
|
Merge remote-tracking branch 'origin/main' into rework-installation
|
2024-07-30 11:52:36 +02:00 |
|
Qubasa
|
0dcc9f903b
|
clan-vm-manager: Fix regression
|
2024-07-29 17:33:46 +02:00 |
|
Jörg Thalheim
|
4ed7e9b030
|
Merge remote-tracking branch 'origin/main' into rework-installation
|
2024-07-24 21:58:57 +02:00 |
|
Johannes Kirschbauer
|
1d51ae5c85
|
Fix unit tests
|
2024-07-24 13:15:08 +02:00 |
|
Johannes Kirschbauer
|
679fd914e0
|
Inventory: add load_eval method
|
2024-07-24 10:34:10 +02:00 |
|
Jörg Thalheim
|
8197bced46
|
add option to not create a git in flakes create
|
2024-07-22 16:08:59 +02:00 |
|
Jörg Thalheim
|
927aec0db5
|
don't setup json inventory for cli users
|
2024-07-22 08:22:58 +02:00 |
|
Jörg Thalheim
|
1e43a471d2
|
cli: default template url should come from the package itself rather than our gitea
This allow easier testing and also forks.
|
2024-07-22 08:22:58 +02:00 |
|
Jörg Thalheim
|
824c5d3f80
|
flake/create: fix "directory does not exist" error
|
2024-07-21 16:00:35 +02:00 |
|
Jörg Thalheim
|
563ead4652
|
only set git author / email when no one is set globally
|
2024-07-21 16:00:35 +02:00 |
|
Johannes Kirschbauer
|
07965598f5
|
Classgen: add mapped keys and more stuff
|
2024-07-18 21:58:36 +02:00 |
|
Jörg Thalheim
|
0d6e2539e3
|
Revert "clan-cli: deprecate nix_shell() in favor of run_cmd()"
This reverts commit 37e6ca7a30.
|
2024-07-17 14:04:49 +02:00 |
|
DavHau
|
37e6ca7a30
|
clan-cli: deprecate nix_shell() in favor of run_cmd()
|
2024-07-16 14:03:17 +07:00 |
|
Johannes Kirschbauer
|
b324e1a4f4
|
Fix some type issues
|
2024-07-11 17:05:57 +02:00 |
|
Johannes Kirschbauer
|
dfec6afd6b
|
Clan create: migrate to inventory
|
2024-07-11 16:39:06 +02:00 |
|
Jörg Thalheim
|
5b606c035f
|
move FlakeId to flake id
move FlakeId to flake id
|
2024-07-03 18:28:55 +02:00 |
|
Jörg Thalheim
|
b4698528ef
|
make machine class now a dataclass
|
2024-07-03 12:34:43 +02:00 |
|
DavHau
|
313db5643f
|
refactor: rename clanCore -> clan.core
|
2024-06-18 18:32:40 +07:00 |
|
Johannes Kirschbauer
|
6743ff96a9
|
API: init icon resolve
|
2024-06-12 13:21:39 +02:00 |
|