Jörg Thalheim
0dc3b9f056
postgresql: add backup and restore
2024-06-06 14:28:50 +02:00
Jörg Thalheim
6dec2a9222
add postgresql backup hooks
2024-06-06 13:27:30 +02:00
Jörg Thalheim
f71295e640
fix running cli without arguments
2024-06-06 13:27:30 +02:00
Qubasa
5f7099fc89
clan-cli: Fix passwordstore clan facts generate requiring CTRL+D for every secret
2024-06-05 14:31:45 +02:00
clan-bot
fe08fef015
Merge pull request 'clan-cli: temporary_home, set XDG_RUNTIME_DIR' ( #1571 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-05 11:39:14 +00:00
Qubasa
5ff5b46896
clan-cli: temporary_home, set XDG_RUNTIME_DIR
2024-06-05 13:34:17 +02:00
a-kenji
49e67ac46c
clan: improve machine completions
...
In recent nix versions the `nix flake show` command busts the eval
cache, which made the function that used to be faster, slower.
On benchmarks the completion was around 180-200ms.
2024-06-05 13:32:23 +02:00
a-kenji
fab311b53a
clan: fix backup description
2024-06-05 11:35:04 +02:00
a-kenji
c9038ad0b3
clan: add dynamic completions to clan backups providers
2024-06-05 09:23:02 +00:00
a-kenji
b4699cd8a3
clan: add dynamic completion function for backup providers
2024-06-05 09:23:02 +00:00
Johannes Kirschbauer
6576290160
clan-api: wrap all api responses with error/success envelop type
2024-06-05 09:46:48 +02:00
Johannes Kirschbauer
db88e63148
clan-cli: create flake refactor to create clan
2024-06-05 09:45:47 +02:00
Johannes Kirschbauer
f2d2102127
clan-cli: refactor CmdOut to serializable dataclass
2024-06-05 09:44:44 +02:00
Johannes Kirschbauer
b9bf453731
clan-api: add support for generic types & annotated types
2024-06-05 09:43:45 +02:00
a-kenji
c926f23c09
clan: add dynamic completions to clan vms inspect
2024-06-04 15:50:50 +02:00
a-kenji
21ac1f7204
clan: add dynamic completions to clan vms run
2024-06-04 15:48:12 +02:00
a-kenji
05ff7bd261
clan: add dynamic completions to clan config
2024-06-04 15:44:39 +02:00
a-kenji
0bd13727de
clan: add dynamic-completions to clan secrets set
2024-06-04 15:21:00 +02:00
a-kenji
e1d6d04b48
clan: add dynamic completions to clan secrets machines
2024-06-04 15:02:35 +02:00
a-kenji
9dbbb6f2f6
clan: add dynamic completions for clan secrets import-sops
2024-06-04 13:40:24 +02:00
a-kenji
d4fabff7f4
clan: add dynamic completions for secret groups
2024-06-04 13:30:38 +02:00
a-kenji
b21bef0b98
clan: add dynamic completions for clan secrets users
2024-06-04 13:30:38 +02:00
a-kenji
533ed97fc1
clan: add dynamic completion for clan secret groups
2024-06-04 13:30:38 +02:00
a-kenji
e7e5a1ded8
clan: add completion function for clan users
2024-06-04 13:30:11 +02:00
a-kenji
4e95030e55
clan: clan secrets groups add machine completions
2024-06-04 13:30:11 +02:00
a-kenji
2923051a12
clan: fix help message
2024-06-04 10:28:34 +00:00
a-kenji
addc4de735
clan: add more machine completion functions to secrets
2024-06-04 11:07:24 +02:00
a-kenji
31eca9e8bc
clan: add dyncamic completions for secrets
2024-06-03 21:47:14 +02:00
a-kenji
cfb78b0edb
clan: add dynamic machine completions to clan secrets subcommands
2024-06-03 17:32:33 +02:00
a-kenji
e8241fb7c9
clan: add dynamic completion to clan machines show
2024-06-03 17:06:03 +02:00
lassulus
578162425d
Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."
...
This reverts commit ba86b49952 .
2024-06-03 12:25:20 +02:00
lassulus
da8a733899
clan_cli secrets_upload: fix permissions
2024-06-03 10:52:18 +02:00
Qubasa
ba86b49952
clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py.
2024-06-02 16:52:31 +02:00
Qubasa
d513f66170
clan-cli: Refactor machines/update.py to cmd.run
2024-06-02 10:00:23 +02:00
Qubasa
1a39957dbb
clan-cli: Refactor subprocess.run to cmd.run. tea-create-pr: Fix missing fail-on-change for treefmt
2024-06-02 09:53:24 +02:00
Johannes Kirschbauer
133f2b705f
clan-core: add template to impure tests
2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
83fe58e003
clan-core: add clan meta for ui usage
2024-05-31 16:26:46 +00:00
clan-bot
481f926b17
Merge pull request 'split list machines into show machine command' ( #1521 ) from machines-show into main
2024-05-31 15:00:03 +00:00
Jörg Thalheim
788eae432a
split list machines into show machine command
2024-05-31 16:56:09 +02:00
a-kenji
bcccf301f0
clan: add dynamic completions for fact generation services
2024-05-31 15:21:07 +02:00
a-kenji
d31aa7cf88
clan: add completion timeout as static
2024-05-31 13:06:46 +02:00
a-kenji
23ef39a2d9
clan: add dynamic completions
...
Add dynamic completion scaffolding to the clan `cli`.
Also add a dynamic completion mechanism for machines for commands that
have machines as their sole argument.
More intricate dynamic completions will be implemented in follow up
PR's.
2024-05-31 12:55:41 +02:00
DavHau
ccadac4bb3
gui-installer: depend on git + ignore flake config
2024-05-29 17:42:44 +02:00
Jörg Thalheim
c1e2bc9ea9
make config command read-only
2024-05-29 13:17:55 +02:00
clan-bot
7e087d18ee
Merge pull request 'fix offline build of flash command' ( #1491 ) from pass-nix-options into main
2024-05-29 10:49:15 +00:00
Jörg Thalheim
750b6aec59
flash: make configuration more explicit
...
Injecting nixos configuration and potentially overriding settings a user
made and can cause surprises.
In most cases, users want to just make these option part of their NixOS
configuration and by having the rest in the command line
we make it more explicit what other configuration is being applied.
2024-05-29 12:45:50 +02:00
clan-bot
d138e29a53
Merge pull request 'Consistently pass nix options to underlying tools' ( #1488 ) from pass-nix-options into main
2024-05-29 08:25:53 +00:00
Jörg Thalheim
f0f97baa65
drop global argparse flags
...
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
a-kenji
c2dc94507e
clan: clarify default backend
2024-05-29 10:17:22 +02:00
Jörg Thalheim
5dcac604d1
backup cli: make sure we have a flake
2024-05-29 10:14:14 +02:00