Johannes Kirschbauer
e54101165f
Inventory: generate exact schema for validation & documentation
2024-07-14 13:30:02 +02:00
Johannes Kirschbauer
3034b9ef92
Json-schema: extend interface by header to allow schema spec and arbitrary extensions
2024-07-14 13:29:19 +02:00
clan-bot
b01d12dd26
Merge pull request 'clan-cli: Fix missing allowed-programs.json in package' ( #1739 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-14 11:12:27 +00:00
Qubasa
bdbf8a8da0
clan-cli: Fix missing allowed-programs.json in package
2024-07-14 13:07:24 +02:00
clan-bot
2a4a3f42cd
Merge pull request 'sshd: remove cve workaround again' ( #1738 ) from Mic92-debug-facts into main
2024-07-13 06:24:08 +00:00
Jörg Thalheim
01343788d7
sshd: remove cve workaround again
2024-07-13 08:19:09 +02:00
clan-bot
0bbab94841
Merge pull request 'Webview: add clanList edit' ( #1737 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-11 16:49:04 +00:00
Johannes Kirschbauer
ba8a9c7565
Webview: add clanList edit
2024-07-11 18:45:35 +02:00
clan-bot
3736f492d3
Merge pull request 'Clan create: migrate to inventory' ( #1732 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-11 15:09:24 +00:00
Johannes Kirschbauer
b324e1a4f4
Fix some type issues
2024-07-11 17:05:57 +02:00
Johannes Kirschbauer
af4e843131
Webview: add welcome workflow
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
ac413a4d13
Webview: Add async method handling
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
1e4a761c53
Clan create: add template url field
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
060f020d83
Webview: add feeback for clan create workflow
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
8077053100
Webview: improve error debug abilities
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
d2e94b8188
API: improve json serialization
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
dfec6afd6b
Clan create: migrate to inventory
2024-07-11 16:39:06 +02:00
clan-bot
1a125cc9e7
Merge pull request 'vars: implement sops.defaultGroups' ( #1735 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 11:43:13 +00:00
DavHau
9988fb744c
vars: implement sops.defaultGroups
2024-07-11 18:39:29 +07:00
clan-bot
7055b352d4
Merge pull request 'clan-cli: improve runtime dependency management' ( #1733 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 08:38:27 +00:00
DavHau
75b969b1ad
clan-cli: improve runtime dependency management
...
Many dependencies of clan-cli are currently dynamically loaded via nix-shell on each execution.
This is nice, as it reduces the initial closure size of clan, but the overhead introduced by nix-shell piles up quickly, as some commands shell out many times during their lifetime. For example, when adding a secret git is called 10+ times.
This reduces the time of a test which adds a secret from around 50 seconds to 15 seconds.
- add run_cmd() as an alternative to nix_shell()
- introduce the concept of static dependencies which do not need to go through nix-shell
- static dependencies are defined at build time and included into the wrapper for clan-cli
- add package: clan-cli-full which statically ships all required dependencies
TODO: deprecate nix_shell() in favor of run_cmd()
2024-07-11 15:34:41 +07:00
clan-bot
5909d546fb
Merge pull request 'vars: implement secret generation' ( #1731 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 04:42:28 +00:00
DavHau
d21926db47
vars: implement secret generation
2024-07-11 11:37:17 +07:00
clan-bot
b066c3633a
Merge pull request 'clan-cli: simplify cli helper' ( #1726 ) from DavHau/clan-core:DavHau-dave into main
2024-07-10 11:18:48 +00:00
DavHau
e7908c2af5
clan-cli: simplify cli helper
2024-07-10 18:14:06 +07:00
clan-bot
8498b71f0f
Merge pull request 'UI: improve open clan from directory & list machines' ( #1728 ) from hsjobeki/clan-core:hsjobeki-feat/clan-init into main
2024-07-10 09:15:58 +00:00
Johannes Kirschbauer
4e9778f7d6
UI: improve open clan from directory & list machines
2024-07-10 11:08:03 +02:00
clan-bot
61765fb2d2
Merge pull request 'UI: init flash poc' ( #1727 ) from hsjobeki/clan-core:hsjobeki-feat/clan-init into main
2024-07-10 09:07:09 +00:00
Johannes Kirschbauer
10bae7dcb0
UI: init flash poc
2024-07-10 09:43:18 +02:00
clan-bot
0a98bd6cc7
Merge pull request 'clan-app: Add webview hot-reloading' ( #1724 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-09 14:00:10 +00:00
Qubasa
d917144819
fixup! clan-app: Add webview hot-reloading
2024-07-09 15:55:22 +02:00
Qubasa
444be70796
clan-app: Add webview hot-reloading
2024-07-09 15:39:33 +02:00
clan-bot
668b4a0a9c
Merge pull request 'lib.readFact: fix argument order' ( #1723 ) from Mic92-debug-facts into main
2024-07-09 13:28:22 +00:00
Jörg Thalheim
6a2e24e7ff
lib.readFact: fix argument order
2024-07-09 15:23:26 +02:00
clan-bot
b76d5ce46b
Merge pull request 'lib.facts: assume clanDir instead of machines prefix' ( #1722 ) from Mic92-main into main
2024-07-09 13:09:49 +00:00
Jörg Thalheim
872a5fdc80
lib.facts: assume clanDir instead of machines prefix
2024-07-09 15:05:00 +02:00
clan-bot
338ea1217c
Merge pull request 'lib.readFact: change order of arguments' ( #1721 ) from Mic92-main into main
2024-07-09 12:59:48 +00:00
Jörg Thalheim
a24c183ec5
lib.readFact: change order of arguments
2024-07-09 14:44:35 +02:00
Jörg Thalheim
6c91cff672
better project root hint
2024-07-09 13:49:42 +02:00
clan-bot
bb78eff301
Merge pull request 'lib/facts: rename machineDir -> clanDir' ( #1720 ) from Mic92-main into main
2024-07-09 11:05:46 +00:00
Jörg Thalheim
9c8d993342
rename machineDir -> clanDir
2024-07-09 13:00:34 +02:00
clan-bot
455db8f37d
Merge pull request 'Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"' ( #1712 ) from DavHau/clan-core:DavHau-dave into main
2024-07-09 09:52:52 +00:00
clan-bot
59e56ac949
Merge pull request 'improve error message for removed settings.json' ( #1719 ) from Mic92-main into main
2024-07-09 09:52:01 +00:00
Jörg Thalheim
00dbdaf071
improve error message for removed settings.json
2024-07-09 11:44:29 +02:00
Mic92
3e6c41593d
Merge branch 'main' into DavHau-dave
2024-07-09 09:33:11 +00:00
clan-bot
9fe0c07eb4
Merge pull request 'vars: init' ( #1718 ) from DavHau/clan-core:DavHau-vars into main
2024-07-09 07:31:31 +00:00
DavHau
3447a98bee
vars: implement generating public variables via in_repo
2024-07-09 14:26:56 +07:00
DavHau
26ff2beea9
clan-cli: add vars command
2024-07-09 12:42:29 +07:00
DavHau
9ff0045698
WIP: vars: copy python code from facts
2024-07-09 12:42:29 +07:00
clan-bot
d62f221309
Merge pull request 'Automatic flake update - 2024-07-08T00:00+00:00' ( #1715 ) from flake-update-2024-07-08 into main
2024-07-08 14:35:02 +00:00