cf67de2f69
secrets: ensure all added/deleted files get committed
checks / checks-impure (pull_request) Successful in 2m12s
checks / checks (pull_request) Successful in 4m49s
2024-04-24 17:26:32 +07:00
f385e0e037
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
52fcc91479
Also commit files when adding machines/users or removing secrets
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m10s
checks / checks (pull_request) Successful in 2m56s
2024-02-22 16:12:11 +01:00
8114cebaa4
clan-cli git: add commit_files function
2024-02-05 10:03:10 +01:00
0133ccd5f7
Fixed missing log.BOTH and error_msg at prev refactors
2024-01-11 21:11:49 +01:00
64846eb395
Fixed bug, where exception is raised where there shouldn't be raised one
2024-01-10 18:46:54 +01:00
b36d0be524
cmd.py part 3 refactor
checks-impure / test (pull_request) Failing after 1m25s
checks / test (pull_request) Failing after 3m8s
2024-01-10 18:39:19 +01:00
1496f45fe2
prefix nixpkgs# explicitly in nix_shell
...
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m3s
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
f1b223d0a1
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
14c4b99891
commit_file: fix diff computation
...
previously computed diff over all files
2023-11-13 19:59:20 +07:00
f9b1a8fa89
Removing find_git_repo
2023-10-27 19:26:03 +02:00
0d42c549b0
git: dont pass additional cwd
2023-09-22 16:52:11 +02:00
b482dcd466
make git idempotent
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 21s
2023-09-22 16:38:46 +02:00
d9fd0e2a65
better error messages if git commands fail
checks-impure / test (pull_request) Successful in 9s
checks / test (pull_request) Successful in 24s
2023-09-22 16:25:30 +02:00
e3b2424d9d
make git optional again
2023-09-22 16:07:39 +02:00
0196fd72c3
git.commit_file: fix file path & repo path finding
checks-impure / test (pull_request) Successful in 11s
checks / test (pull_request) Successful in 1m3s
2023-09-22 13:42:04 +02:00
6a359c0a2f
clan-cli: add git.commit_file() to auto commit files if inside a git
...
checks-impure / test (pull_request) Successful in 10s
checks / test (pull_request) Successful in 34s
- commit only if inside a git repo
- commit only the specified file and nothing else
- auto-generate commit message if not specified
2023-09-21 14:07:54 +02:00