| Age | Commit message (Collapse) | Author |
|
I forgot to add the reapr installs to the makefile
|
|
Added reapr util and general cleanup logic to remove clutter
|
|
ssync-reapr will delete the run files pushed to the ssync output
dir (default ~/.local/share/ssync/runs/) which can accumulate over
time. The default is to only delete files older than a day.
We run the reap as the first step of every ssync - to ensure it clears
out the necessary files
|
|
|
|
Hit a bug where a filename had what was considered valid regex and I
don't know the best way right now to represent it as I would want
while still regex. So simplified
|
|
Should help debug potential things
|
|
|
|
I get why but like :/ come on
|
|
Add missing config option in ssync.5
Release 2.1.1
|
|
|
|
Replace function defs with dash legal function syntax:
function fn { } -> fn() { }
|
|
Running `sudo make install` will install to /usr/local
installing all of the scripts as well as the documentation, setting
the release version for everything as well
|
|
|
|
|
|
|
|
An improvement could be adding "remote_root_dir" option to ssync-fetch
so we can use it in cases of rsync
|
|
|
|
Use config to generate the necessary options for each sub process
running:
1) ssync-index REMOTE
2) ssync-index LOCAL
3) ssync-queue
4) ssync-fetch
|
|
|
|
|
|
|
|
This version will require two separate calls to index local and
remote.
Local should be `ssync-index -b -o /output/local.idx ROOT_DIR`
Remote should be `ssync-index -r -w N -o /output/remote.idx ROOT_DIR`
|
|
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
|
|
When we find files but nothing to sync keep the file around.
|
|
For debugging it can be helpful to see when we've listed files but
nothing to sync vs when we've found nothing to get at all.
|
|
We don't need the run file to know there was nothing to fetch
|
|
This prevents duplicate fetching from occuring
|
|
|
|
Wrap the remote connection with " " to avoid breaking when there is a (
or other shell characters in the file
|
|
Typos in the fetch file variable and not using the last run file
variable.
|
|
|
|
|
|
|
|
|
|
|