Commit Graph

516 Commits

Author SHA1 Message Date
z4yx 908f098c72 [mirror config] job fails on pattern match in log 2020-03-09 21:48:06 +08:00
Yuxiang Zhang 22cfdfc9c2
[mirror config] extra rsync options (#107)
* support "rsync_options" array in config

* add test for new options

* fix tests
2020-03-09 20:48:09 +08:00
z4yx 36010dc33e Merge branch 'master' of github.com:tuna/tunasync 2019-11-30 00:08:59 +08:00
z4yx bc416a6088 add tests for post-hooks 2019-11-30 00:08:46 +08:00
z4yx a065a11b38 change timeout in tests 2019-11-07 12:29:57 +08:00
z4yx b4fe4db82a Merge remote-tracking branch 'origin/dev' 2019-11-04 23:11:34 +08:00
z4yx 839363aaaa reschedule the job if any hook fails 2019-11-04 22:52:03 +08:00
Yuxiang Zhang 08aee8eb42
Merge pull request #98 from ziqin/feature/btrfs-snapshot
Reimplement Btrfs snapshots hook
2019-08-31 10:57:44 +08:00
Jeeken Wang 501f77ee41 Merge branch 'master' into feature/btrfs-snapshot 2019-08-15 01:26:28 +08:00
z4yx 9e91fd706e Merge branch 'dev' 2019-08-13 23:10:43 +08:00
z4yx 94cf0b4bdb fix possible null dereferencing, reported by #96 2019-08-13 23:07:01 +08:00
WANG Ziqin 8fd2059013 add doc for setup btrfs snapshots 2019-08-02 13:31:33 +08:00
WANG Ziqin 6b56c4254c feat(btrfs_snapshot_hook): reimplemented Btrfs snapshots
TODO: test coverage
2019-08-02 13:31:33 +08:00
Yuxiang Zhang 3872c41607
Merge pull request #97 from ziqin/master
Refine: remove outer `provider`s which shadow the embedded `provider`s provided by `emptyHook`
2019-08-02 09:27:04 +08:00
WANG Ziqin 30259da0f0 fix nil pointer dereference: check err first 2019-08-02 02:15:22 +08:00
WANG Ziqin 4854d9b981 Fix test: initialize dockerHook with embedded provider 2019-07-31 17:29:28 +08:00
WANG Ziqin 06fce98c00 Eliminate duplicate mirrorProvider in Hooks 2019-07-31 16:11:56 +08:00
Jeeken Wang 8408236646 Update "Job Run Process" diagram according to runJobWrapper 2019-07-31 12:26:09 +08:00
z4yx 540eea8aeb set golang version to 1.11 2019-07-05 16:54:29 +08:00
z4yx a6fc97889d [bug fix] stalled scheduler if post-sync hook runs for a time which is longer than the sync interval 2019-07-05 16:29:00 +08:00
Yuxiang Zhang 5f7d974469
Merge pull request #93 from vgxbj/patch-1
Fix ascii chart for `Job Run Process`
2019-05-30 10:16:22 +08:00
Guō Xīng 3b52f93e7e
Fix ascii chart for `Job Run Process` 2019-05-29 14:32:50 +08:00
zyx 1025189542 fix possible null dereferencing in server_test 2019-04-13 11:13:17 +08:00
zyx 9f91d90fc5 check Retry configuration in providers 2019-04-13 11:01:56 +08:00
zyx 1aa4ae9cc1 Merge remote-tracking branch 'kinosang/master' into wip-test-pr 2019-04-13 02:07:41 +08:00
zyx d0deeb19a9 extract mirror size from rsync provider automatically 2019-04-13 01:27:35 +08:00
zyx a283328dc4 increase test converage of worker 2019-04-12 09:43:57 +08:00
zyx 1890bbed3c add tests for last commit 2019-04-11 12:36:43 +08:00
zyx ddc9efd155 report next scheduled sync time 2019-04-11 12:36:18 +08:00
zyx 7eb119b892 singleton of worker is not used, so remove it 2019-04-11 10:07:42 +08:00
zyx 96f11f57ed throw an error if executing reload command without worker id 2019-04-09 22:30:08 +08:00
Yuxiang Zhang 3e6e6f9b14
Update tips.md 2019-04-07 21:48:57 +08:00
Yuxiang Zhang b06cadfe06
Update tips.md 2019-04-07 21:48:00 +08:00
Yuxiang Zhang 9c34372ae4
add link to tips.md 2019-04-07 21:35:40 +08:00
Yuxiang Zhang ebbfff40f6
Merge pull request #91 from SCU-MingYuan/master
Added some control tips
2019-04-07 21:33:33 +08:00
GaryH4 5eeade22fc
Update tips.md 2019-04-07 19:55:13 +08:00
GaryH4 4b3741308b
Update tips.md 2019-04-06 23:48:33 +08:00
GaryH4 7d495c1956
Update tips.md 2019-04-06 23:40:43 +08:00
GaryH4 0bf8400077
Added some tips 2019-04-06 23:30:04 +08:00
Yuxiang Zhang c611759394
Update get_started.md 2019-04-06 11:21:22 +08:00
Yuxiang Zhang 279aa32b68
Update get_started.md 2019-04-06 11:09:24 +08:00
Yuxiang Zhang 025544449a
remove section of certificate generation 2019-04-06 10:56:38 +08:00
zyx 90d419ca66 add tests for last commit 2019-03-31 12:16:45 +08:00
zyx 96cb975412 Let user create ZFS dataset manually due to security considerations 2019-03-31 12:09:42 +08:00
王邈 ff3e690497
Revert "change owner of folder to current user after creating zfs dataset (close #89)"
This reverts commit a58e6d37ae and
re-opens #89.

Signed-off-by: 王邈 <shankerwangmiao@gmail.com>
2019-03-26 00:30:06 +08:00
zyx a58e6d37ae change owner of folder to current user after creating zfs dataset (close #89) 2019-03-25 23:40:04 +08:00
zhang 7a4a8ad486 Merge branch 'master' of github.com:tuna/tunasync 2018-10-25 22:52:21 +08:00
zhang e1c0c25efa add example of worker config 2018-10-25 22:52:02 +08:00
z4yx 9ac374527a regenerate travis deploy key 2018-10-25 17:27:32 +08:00
z4yx f03626d4e1 update Get Started document 2018-10-25 17:23:02 +08:00