Fără Descriere

zyx aee1a705b7 remove "--contimeout=120" from default rsync options 5 ani în urmă
.github c41d7a4038 Bring docker test back 5 ani în urmă
autocomplete 83fc766147 feat(bash and zsh autocompletion for tunasynctl): 9 ani în urmă
cmd ad28e8aacc using Go Modules 5 ani în urmă
docs 22cfdfc9c2 [mirror config] extra rsync options (#107) 5 ani în urmă
internal c99916cc2a Bump version to 0.4.3 5 ani în urmă
manager ad28e8aacc using Go Modules 5 ani în urmă
systemd 28c8145137 feature(worker): limit rsync memory using cgroup 9 ani în urmă
tests 5c8d90608c feature(worker): implemented multi-file configrations. closing #23 9 ani în urmă
worker aee1a705b7 remove "--contimeout=120" from default rsync options 5 ani în urmă
.gitignore 03fdaeeb7f chore(cmd): added git hash and build date to version 9 ani în urmă
.testpackages.txt 44af0d5e62 feature(worker): framework of mirror provider 9 ani în urmă
LICENSE 78f3501e19 Initial commit 11 ani în urmă
Makefile 3a2888dd5d Bye Travis! 5 ani în urmă
README.md 3a2888dd5d Bye Travis! 5 ani în urmă
go.mod 07cd7b5f1f update go.mod 5 ani în urmă
go.sum 07cd7b5f1f update go.mod 5 ani în urmă
package.json c311648546 chore(git): Made this repo commitizen frendly 9 ani în urmă

README.md

tunasync

Build Status Coverage Status Commitizen friendly GPLv3

Get Started

Download

Pre-built binary for Linux x86_64 is available at Github releases.

Design

# Architecture

- Manager: Central instance for status and job management
- Worker: Runs mirror jobs

+------------+ +---+                  +---+
| Client API | |   |    Job Status    |   |    +----------+     +----------+ 
+------------+ |   +----------------->|   |--->|  mirror  +---->|  mirror  | 
+------------+ |   |                  | w |    |  config  |     | provider | 
| Worker API | | H |                  | o |    +----------+     +----+-----+ 
+------------+ | T |   Job Control    | r |                          |       
+------------+ | T +----------------->| k |       +------------+     |       
| Job/Status | | P |   Start/Stop/... | e |       | mirror job |<----+       
| Management | | S |                  | r |       +------^-----+             
+------------+ |   |   Update Status  |   |    +---------+---------+         
+------------+ |   <------------------+   |    |     Scheduler     |
|   BoltDB   | |   |                  |   |    +-------------------+
+------------+ +---+                  +---+


# Job Run Process


PreSyncing                           Syncing                               Success
+-----------+     +----------+    +-----------+    +-------------+     +--------------+
|  pre-job  +--+->| pre-exec +--->|  job run  +--->|  post-exec  +-+-->| post-success |
+-----------+  ^  +----------+    +-----------+    +-------------+ |   +--------------+
               |                                                   |
               |                +-----------------+                | Failed
               +----------------+    post-fail    |<---------------+
                                +-----------------+

Building

Go version: 1.13

make all

Binaries in the build/.