Commit Graph

218 Commits

Author SHA1 Message Date
bigeagle 6dd06c954c Merge pull request #51 from tuna/dev
Dev
2016-11-20 01:11:22 +08:00
bigeagle 03d22b7683 refactor(removing unneeded script files): 2016-11-20 01:10:24 +08:00
bigeagle e9a7fc2de2 docs(tunasync): prebuilt binaries on Github releases, close #41 2016-11-20 01:09:00 +08:00
bigeagle 2c428b7c66 fix(manager): fix cli package in manager/config_test 2016-11-20 00:58:41 +08:00
bigeagle e37bb44fa3 ci(tunasync): upload to github releases 2016-11-20 00:51:20 +08:00
bigeagle 89f79b975f docs(tunasync): use a single `worker.conf` file, dropping `include` 2016-11-20 00:03:10 +08:00
bigeagle add7b936e3 refactor(cmd): pinning cli.v1 2016-11-20 00:01:47 +08:00
bigeagle 6225e86d12 Merge pull request #48 from tuna/huiyiqun-patch-1
Update README.md
2016-11-06 21:24:36 +08:00
huiyiqun d3b92f4a51 Update README.md
Add method to build tunasync
2016-11-06 06:53:45 -06:00
bigeagle 9edb80663c Merge pull request #45 from tuna/docs
docs(tunasync): First step on documentation: get started, zh_CN version.
2016-10-31 01:28:19 +08:00
Wang Kang 70d73b5709 docs(tunasync): First step on documentation: get started, zh_CN version.
Closing #44
2016-10-31 01:21:42 +08:00
bigeagle 22a7f867ae Merge pull request #40 from tuna/dev
feat(worker): added global `exec_on_success` and `exec_on_failure` op…
2016-10-21 01:27:56 +08:00
bigeagle 5e7eda4e8b Merge branch 'master' into dev 2016-10-21 01:22:58 +08:00
bigeagle 2b83ea4b45 feat(worker): added global `exec_on_success` and `exec_on_failure` options
if `exec_on_success` is set on mirror-level config, it overrides the global option; if on mirror

level, extra hook cmd is needed, use `exec_on_success_extra` option
2016-10-21 01:20:31 +08:00
bigeagle 1bf0bcb12a Merge pull request #38 from tuna/dev
Dev
2016-08-02 23:41:25 +08:00
bigeagle 83fc766147
feat(bash and zsh autocompletion for tunasynctl): 2016-08-02 23:31:54 +08:00
bigeagle ca80dff5cb
feat(manager): flush disabled jobs 2016-08-02 23:24:27 +08:00
bigeagle 0db8fc6614 Merge pull request #37 from tuna/dev
Dev
2016-08-02 22:22:01 +08:00
bigeagle 437acd3f01
fix(worker): cgroup hook now ensure child progresses are killed 2016-08-02 21:55:41 +08:00
bigeagle c8af09f129
fix(worker): fix log file leakage of two-stage-sync provider. closing #36 2016-08-02 21:39:16 +08:00
bigeagle 24bdfe5b33 Merge pull request #35 from tuna/dev
Dev
2016-06-15 15:04:22 +08:00
bigeagle 03fdaeeb7f chore(cmd): added git hash and build date to version 2016-06-15 14:58:27 +08:00
bigeagle d292f9b0e3
feat(tunasync): add `tunasynctl reload` subcommand 2016-06-15 14:01:10 +08:00
bigeagle 8cb46476cf Merge pull request #34 from tuna/dev
fix(worker): fix resource leakage caused by time.Tick(), closing #33
2016-06-15 00:36:08 +08:00
bigeagle 613d46e4e3
fix(worker): fix resource leakage caused by time.Tick(), closing #33 2016-06-15 00:31:53 +08:00
bigeagle 2ab9ed6e21 Merge pull request #31 from tuna/dev
feat(worker): added username option for rsync providers
2016-06-14 21:41:44 +08:00
bigeagle b2da29fb36 Merge branch 'master' into dev 2016-06-14 21:38:47 +08:00
bigeagle ebeee6bc34
feat(worker): added username option for rsync providers 2016-06-14 21:37:03 +08:00
bigeagle 4e9c146557 Merge pull request #30 from tuna/dev
Dev
2016-06-03 01:39:32 +08:00
bigeagle 16c49b8083 feat(worker): add profiling support
Signed-off-by: bigeagle <justin.w.xd@gmail.com>
2016-06-03 00:40:30 +08:00
bigeagle f6d53c16d6 fix(worker): do not init cgroup if it's not enabled 2016-05-19 11:42:22 +08:00
bigeagle fa98e4f029 fix(worker): do not reload if config has errors 2016-05-19 11:42:08 +08:00
bigeagle 3762e7a1a5 Merge pull request #28 from walkerning/fix-cmd-cli
fix(cmd): change deprecated signature to cli.ActionFunc
2016-05-10 04:15:14 -05:00
walkerning 4c5e18cb92 fix(cmd): change deprecated signature to cli.ActionFunc
load configurations from all config files in correct order
2016-05-10 16:41:47 +08:00
bigeagle 28c8145137
feature(worker): limit rsync memory using cgroup 2016-05-08 17:24:41 +08:00
bigeagle ccc31d9289
refactor(worker): added Type() method to provider 2016-05-08 16:26:58 +08:00
bigeagle c25e508a00
docs: update README.md
remove TODO, use github issues instead
2016-05-05 13:07:43 +08:00
bigeagle c311648546
chore(git): Made this repo commitizen frendly 2016-05-05 11:45:51 +08:00
bigeagle b88a56dc4b Merge pull request #24 from tuna/dev
Dev
2016-05-03 06:55:40 -05:00
bigeagle 5c8d90608c
feature(worker): implemented multi-file configrations. closing #23 2016-05-03 16:52:38 +08:00
bigeagle 4f3a91cda7
feature(systemd): add reload command 2016-05-02 22:32:31 +08:00
bigeagle ba46e3a63a Merge pull request #22 from tuna/dev
Dev
2016-05-02 09:22:16 -05:00
bigeagle 5b5f020075
style(worker): put exported methods together 2016-05-02 22:19:02 +08:00
bigeagle 76ad3d40d6
feature(worker): when SIGINT/SIGTERM received, stop all the jobs and update their status before quit. Close #19. 2016-05-02 22:16:49 +08:00
bigeagle 2d2df656af Merge pull request #21 from tuna/dev
bug fixes and implement worker's hot reloading config file, closing #18
2016-05-02 06:17:00 -05:00
bigeagle dbc96b475a
added systemd service files 2016-05-02 19:04:21 +08:00
bigeagle f768b48d72
feature(manager): let manager log job syncing event 2016-05-02 18:58:22 +08:00
bigeagle 65984053eb
fix(worker): fixed scheduling bugs 2016-05-02 18:56:45 +08:00
bigeagle 51fa12900d
feature(worker): ability to hot reload mirror job configrations, close #18 2016-05-02 17:45:21 +08:00
bigeagle fecfc8f3b1
fix(worker): log file link should use relative path 2016-05-02 13:38:25 +08:00