aboutsummaryrefslogtreecommitdiff
path: root/ssync-fetch
AgeCommit message (Collapse)Author
2025-12-14Add dry-run flag for testingSteph Enders
Should help debug potential things
2025-12-14Use KEY_FILE in rsync backend in ssync-fetchSteph Enders
2025-12-14Fix == for sh compatSteph Enders
I get why but like :/ come on
2025-12-13Initial work on making scripts work in non-bash envsSteph Enders
Replace function defs with dash legal function syntax: function fn { } -> fn() { }
2025-12-12Enable rsync backend for ssyncrewriteSteph Enders
An improvement could be adding "remote_root_dir" option to ssync-fetch so we can use it in cases of rsync
2025-12-12Remove unused fetch concurrency flagSteph Enders
2025-12-12Exit fetch if queue empty (and untabify)Steph Enders
2025-12-12Break ssync into multiple processesSteph Enders
Breaking ssync into 3 sub-processes: 1) ssync-index - indexes remote and local dirs 2) ssync-queue - generates queue of yet-fetched files 3) ssync-fetch - downloads the queue Which will ultimately be executed using ssync which will allow for unified config files and transfer locking. The rewrite is being done in hopes of preventing "missing files" during large queues and ensure completeness. The breakdown into multiple files should also help with narrowing the logic and improving the process without interfering with the execution and readability of the other stages. This commit has complete subprocesses - though ssync-index needs remediation to remove the config file - as we need predictable I/O to be able to pass the index files into the queue process