Commit Graph

115 Commits

Author SHA1 Message Date
9a4841b9d9 Merge pull request 'Fix usage messages being printed in debug mode' (#47) from fix-usage-messages into master
Reviewed-on: #47
2026-09-03 15:04:24 +02:00
Leonard Steppy
fd8b917b3c Fix usage messages being printed in debug mode 2026-09-03 15:04:04 +02:00
aa8a624360 Merge pull request '33-lazy-ssh-agent' (#46) from 33-lazy-ssh-agent into master
Reviewed-on: #46
2026-08-31 21:28:29 +02:00
29e6453c56 Merge branch 'master' into 33-lazy-ssh-agent 2026-08-31 21:28:15 +02:00
Leonard Steppy
ffc3c478d9 Don't use scp on localhost 2026-08-31 21:27:06 +02:00
Leonard Steppy
a4d7fd7506 Fix nix build by updating dependencies 2026-08-31 15:40:44 +02:00
Leonard Steppy
952ca847cd Start ssh agent only when needed 2026-08-31 15:27:10 +02:00
Leonard Steppy
df26eb435f Ensure ssh agent is only started once 2026-08-27 08:27:08 +02:00
3615680d9a Merge pull request '26-integration-tests' (#35) from 26-integration-tests into master
Reviewed-on: #35
2026-08-26 18:35:30 +02:00
82fe053ba8 [WIP] Integration of TestEnvironment 2026-08-26 18:28:44 +02:00
67800bdb28 [WIP] Integration of TestEnvironment 2026-08-26 18:28:07 +02:00
0b0ff84c30 Revert Environment needing to be ShellInterface 2026-08-26 18:28:07 +02:00
d64e9d735c Require Environment to be ShellInterface 2026-08-26 18:28:07 +02:00
2aae341416 Rework how EnvCommand and ShellInterface interact with each other 2026-08-26 18:28:07 +02:00
43d1b29aa8 Fix test_parse_server_configuration 2026-08-26 18:28:07 +02:00
be79af3be3 Remove old command module 2026-08-26 18:28:06 +02:00
2991dfc9e5 Use new ShellCommand interface in main application 2026-08-26 18:27:48 +02:00
f054f76302 Implement ShellCommand to Command conversion 2026-08-26 18:27:48 +02:00
3b068c000a Remove minor code duplication 2026-08-26 18:27:48 +02:00
76469eb207 Implement ShellInterface for EnvCommand 2026-08-26 18:27:48 +02:00
75923404a4 Make environment in EnvCommand mutable 2026-08-26 18:27:48 +02:00
3f62bb3190 Make into_result_with_error_logging available for every MaybeCast<Output> type 2026-08-26 18:27:48 +02:00
00a9fe8643 Fix ServerReferences using invalid parser 2026-08-26 18:27:48 +02:00
8797fd4936 Handle input in environment 2026-08-26 18:27:45 +02:00
b6f2558075 Add shell_interface and environment and prepare main application for those changes 2026-08-26 18:27:16 +02:00
09992a9114 Merge pull request '39-y-alias-for-no-confirm' (#45) from 39-y-alias-for-no-confirm into master
Reviewed-on: #45
2026-08-26 15:23:13 +02:00
Leonard Steppy
b107231e46 Fix warnings about elided lifetimes 2026-08-26 15:22:10 +02:00
Leonard Steppy
0583eecf81 Add -y as alias to --no-confirm 2026-08-26 15:18:40 +02:00
24fec093d2 Merge pull request 'Fix nix evaluation warning' (#40) from fix-nix-eval-warning into master
Reviewed-on: #40
2026-03-06 14:34:38 +01:00
Leonard Steppy
7b64d979f8 Fix nix evaluation warning 2026-03-06 14:33:43 +01:00
f6de003bbd Merge pull request 'Add flake' (#38) from flake into master
Reviewed-on: #38
2025-10-05 22:03:01 +02:00
Leonard Steppy
5343ce30a2 Add flake 2025-10-05 22:02:13 +02:00
8fa7fdb88b Merge pull request '29-replacing-actions-ignore-directory-of-file-to-upload' (#30) from 29-replacing-actions-ignore-directory-of-file-to-upload into master
Reviewed-on: https://stupstech.de/dev/Mr_Steppy/multi-ssh/pulls/30
2025-02-03 23:55:38 +01:00
75368d4c0c Really fix uploading wrong file in replace actions 2025-02-03 23:52:42 +01:00
3aa326e737 Fix wrong command when querying server files 2025-02-03 23:14:36 +01:00
744fd0f6c2 Remove unused FileInfoError variant 2025-02-03 23:05:23 +01:00
a288bf58a5 Fix replace actions replacing with wrong file 2025-02-03 23:03:16 +01:00
8618e563dc Merge pull request '27 ShellCommand on localhost when calculating actions' (#28) from 27-shell-command-on-localhost-when-calculating-actions into master
Reviewed-on: https://stupstech.de/dev/Mr_Steppy/multi-ssh/pulls/28
2025-02-03 22:34:21 +01:00
02619870b9 Rename os_string_extension.rs to os_str_extension.rs 2025-02-03 22:33:30 +01:00
67eca84f9d Add unit tests for osstring extensions 2025-02-03 22:32:47 +01:00
ad710581b3 Add os_string_extension.rs and refactor FileNameInfo 2025-02-03 22:11:25 +01:00
c143b29a3d Avoid lossy strings when renaming and matching files 2025-02-03 18:06:57 +01:00
d1924aa758 Refactor FileMatcher to use OsString 2025-02-03 18:01:54 +01:00
faf4e47cac Don't use shell command on local machine 2025-02-03 17:55:34 +01:00
0109bf6c6f Add TODO for bug 2025-02-03 16:54:42 +01:00
bc54a2d418 Merge pull request 'Add exclusion flag to upload command' (#25) from 23-upload-exclusion-flag into master
Reviewed-on: https://stupstech.de/dev/Mr_Steppy/multi-ssh/pulls/25
2025-02-03 16:09:35 +01:00
290a64d0ab Add exclusion flag to upload command 2025-02-03 16:08:36 +01:00
93eed1dc7f Merge pull request 'Add pure flag to upload command' (#24) from 22-upload-pure-flag into master
Reviewed-on: https://stupstech.de/dev/Mr_Steppy/multi-ssh/pulls/24
2025-02-03 15:37:14 +01:00
c9b95d2b0c Add pure flag to upload command 2025-02-03 15:36:16 +01:00
1633636cab Merge pull request '20-dot-and-wildcard-paths-are-not-correctly-resolved-when-reffering-to-remote-files-or-ssh-targets' (#21) from 20-dot-and-wildcard-paths-are-not-correctly-resolved-when-reffering-to-remote-files-or-ssh-targets into master
Reviewed-on: https://stupstech.de/dev/Mr_Steppy/multi-ssh/pulls/21
2025-02-03 13:25:39 +01:00