Commit Graph

107 Commits

Author SHA1 Message Date
Leonard Steppy
df26eb435f Ensure ssh agent is only started once 2026-08-27 08:27:08 +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
6d8b16b011 Fix canonicalization adding files with empty name 2025-02-03 13:14:40 +01:00
2eb37aa07a Fix canonicalization of remote files 2025-02-03 13:05:47 +01:00
ffd8f71f8b Add collect_full_output method to commands 2025-02-03 12:33:15 +01:00
930e02d802 Add remaining TODOs 2025-02-03 02:19:01 +01:00
6e4a23254a Canonicalize files to upload if they are on remote server 2025-02-03 01:47:36 +01:00
329ba8f381 Canonicalize upload directory when uploading to local 2025-02-03 00:51:56 +01:00
da2b6097e9 Add relative local path ankers, when parsing servers 2025-02-03 00:29:23 +01:00
f2f7f3bae9 Merge pull request 'Support uploading multiple files' (#19) from 13-allow-multiple-files-in-upload-command into master
Reviewed-on: https://stupstech.de/dev/Mr_Steppy/multi-ssh/pulls/19
2025-02-02 22:07:09 +01:00