Commit Graph

1462 Commits

Author SHA1 Message Date
Qubasa
44660056f1 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
49c3b78c77 clan-core: add template to impure tests 2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
c7008fd302 clan-core: add clan meta for ui usage 2024-05-31 16:26:46 +00:00
clan-bot
2ac4294ff9 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
84f75de34c split list machines into show machine command 2024-05-31 16:56:09 +02:00
a-kenji
a15286c709 clan: add dynamic completions for fact generation services 2024-05-31 15:21:07 +02:00
a-kenji
af0f628f35 clan: add completion timeout as static 2024-05-31 13:06:46 +02:00
clan-bot
abec5d41cd Merge pull request 'clan: add dynamic completions' (#1522) from a-kenji-clan/cli/init-dynamic-completions into main 2024-05-31 11:00:50 +00:00
a-kenji
32a20caad4 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
Qubasa
0d426daee9 tea-create-pr: Add automatic rebase and autostash 2024-05-30 23:59:27 +02:00
Qubasa
676f95a9af tea-create-pr: Fix non working assignees label 2024-05-30 23:37:53 +02:00
Qubasa
75fe2d651b tea-create-pr: Better username detection 2024-05-30 23:29:59 +02:00
Qubasa
7aebe6c345 tea-create-pr: Require fork and upstream branch 2024-05-30 22:25:25 +02:00
clan-bot
4ebe58f860 Merge pull request 'Webview: css font and icon import transformation' (#1501) from hsjobeki-main into main 2024-05-30 16:28:14 +00:00
Johannes Kirschbauer
fc9f3e9da9 Webview: css font and icon import transformation 2024-05-30 18:23:49 +02:00
DavHau
e8d66ae8e5 install.sh: improvements
- use either curl or wget
- add to PATH /nix/var/nix/profiles/default/bin
2024-05-29 18:51:34 +02:00
DavHau
0820c59df5 gui-installer: depend on git + ignore flake config 2024-05-29 17:42:44 +02:00
Johannes Kirschbauer
5caba68a54 Webview: bootstrap layout 2024-05-29 16:40:54 +02:00
Jörg Thalheim
1b8ba590f7 make config command read-only 2024-05-29 13:17:55 +02:00
clan-bot
28330e78d8 Merge pull request 'Update flakes' (#1492) from pass-nix-options into main 2024-05-29 10:58:19 +00:00
Jörg Thalheim
a5cf0c7aad fmt more stuff 2024-05-29 12:51:43 +02:00
Jörg Thalheim
ef5170e44b drop non-compiling wayland-proxy-virtwl 2024-05-29 12:51:18 +02:00
clan-bot
126954d3d2 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
eb5fe2fe15 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
999178a764 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
d002419ae7 drop global argparse flags
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
a-kenji
5729428e05 clan: clarify default backend 2024-05-29 10:17:22 +02:00
Jörg Thalheim
9362d8b42d backup cli: make sure we have a flake 2024-05-29 10:14:14 +02:00
Jörg Thalheim
3bd7641a72 flash: add write-efi-boot-entries flag 2024-05-29 10:14:14 +02:00
Jörg Thalheim
fc3f65fb57 allow to override nix options in update/install/flash commands 2024-05-29 10:14:14 +02:00
a-kenji
ac50e989b2 clan: add epilog to facts subcommands 2024-05-29 10:10:23 +02:00
Jörg Thalheim
b4eaa3643f cli: also register common flags in subcommands
When a user runs --help on a subcommand they don't see some options such
as --options or --flake. To fix this we now register all common flags
also in subcommands.
2024-05-29 09:29:49 +02:00
clan-bot
8882006ed1 Merge pull request 'clan/docs.py: remove epilog from the reference overview' (#1487) from a-kenji-cli/docs/reference-overview into main 2024-05-28 18:05:07 +00:00
a-kenji
a11e94e367 clan/docs.py: remove epilog from the reference overview 2024-05-28 20:01:48 +02:00
DavHau
a32db28470 packaging: package clan gui for many distros 2024-05-28 17:50:32 +02:00
DavHau
baa33a53f5 packaging: package clan gui for many distros 2024-05-28 17:33:55 +02:00
clan-bot
2860f7bd2d Merge pull request 'clan/docs.py: add epilog to reference docs' (#1481) from a-kenji-docs/epilog into main 2024-05-28 15:13:57 +00:00
a-kenji
5a7f5558f2 clan/docs.py: add epilog to reference docs
Fixes #1469
2024-05-28 17:08:46 +02:00
a-kenji
ef3301a52d Fix typos 2024-05-28 14:58:38 +02:00
a-kenji
f0c5cbe27f clan: add descriptions for reference documentation 2024-05-28 11:37:32 +02:00
a-kenji
12add74aae clan: add run_no_stdout function suppressing stdout
Add the `run_no_stdout` function suppressing stdout by default.This
keeps the noise down on most commands, while still
stayingdebuggable.Stdout will be active when the `--debug` flag is
passed to the cli.

Fixes #1443
2024-05-28 11:13:55 +02:00
a-kenji
dfc2352ca4 editor: improve nixpkgs option completions 2024-05-28 09:34:57 +02:00
a-kenji
b379b3b1fd clan: machines --help add examples to help output 2024-05-27 21:01:05 +02:00
a-kenji
447d2286cc clan: duplicate description field for generation of the reference documentation 2024-05-27 20:29:34 +02:00
a-kenji
f63c5ab128 clan: ssh --help add examples
Add examples to the output of `clan ssh --help`.
2024-05-27 20:14:37 +02:00
a-kenji
c48f4e4942 clan: rename cLan to clan 2024-05-27 19:52:51 +02:00
Jörg Thalheim
2c8e231bb2 consistent rename cLAN -> Clan 2024-05-27 13:58:32 +00:00
a-kenji
5d60d92be3 clan: add examples and description to most help
Add examples and description to most toplevel help outputs.
2024-05-27 14:33:58 +02:00
clan-bot
ec6db1a2f4 Merge pull request 'clan-cli: Fix nix develop not working in template because of symlink' (#1462) from Qubasa-main into main 2024-05-27 12:05:17 +00:00
Qubasa
a3c94bc73b clan-cli: Fix nix develop not working in template because of symlink 2024-05-27 14:00:31 +02:00