37 Commits

Author SHA1 Message Date
Shengqi Chen
d2b3e731bf
Fix numerous lint issues
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-02-27 22:42:49 +08:00
Shengqi Chen
ef32197fef
Run go fmt
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-11 16:00:34 +08:00
Shengqi Chen
99c7ab6b65
Fix more linter issues
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-11 15:53:42 +08:00
Shengqi Chen
c73becc0f1
chore: fix typo, close #203
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-11 14:59:50 +08:00
Miao Wang
60f92ceebb
Fix incomplete usage on tunasynctl set-size 2022-12-12 00:14:05 +08:00
Miao Wang
27c33f86b3 cgroup: add reexec hook 2021-07-22 19:09:00 +08:00
zack.liu
600874ae54 Add --format and --status for tunasynctl 2020-06-22 11:25:18 +08:00
z4yx
2bbd4afda8 remove logger.Error() 2020-03-29 11:54:39 +08:00
z4yx
95d6acb026 tunasynctl: print command results with plain text instead of logging messages 2020-03-28 17:07:53 +08:00
z4yx
b132192448 Add a debugging log level to tunasynctl 2020-03-28 16:33:56 +08:00
Phy
5c01e3fa22 Use fmt.Println for cli JSON output 2020-03-23 10:19:55 -04:00
Phy
4d461bd172 Use logger to print some debug messages than fmt.print 2020-03-23 01:20:49 -04:00
z4yx
ad28e8aacc using Go Modules 2020-03-13 13:55:57 +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
zhang
6241576b12 bug fix: tunasynctl failed to parse datetime when you list jobs of specific worker 2018-06-13 10:28:48 +08:00
bigeagle
ca106f1360
Merge pull request #82 from tuna/dev
New feature: remove a worker with tunasynctl
2018-05-31 21:22:46 +08:00
Yuxiang Zhang
7e601d9fff New feature: remove a worker with tunasynctl
Fix #78
2018-05-31 12:32:22 +08:00
z4yx
c750aa1871 new feature: run "tunasynctl start" with "-f" to override concurrent job limit 2018-05-30 18:59:24 +08:00
Yuxiang Zhang
4fe7d03e54 Move the WebMirrorStatus to internal package. Fix the list command of tunasynctl 2018-05-29 18:48:33 +08:00
bigeagle
aa4c31a32b
feat(tunasynctl): implemented 'set-size' command to update a mirror size 2016-12-18 23:30:41 +08:00
bigeagle
9ffb101cc7
chore(tunasync): bump version to 0.2-dev 2016-12-12 23:23:06 +08:00
bigeagle
97e9725774
fix(cmd): make tunasynctl work with both HTTP and HTTPS 2016-12-11 02:13:19 +08:00
bigeagle
add7b936e3 refactor(cmd): pinning cli.v1 2016-11-20 00:01:47 +08:00
bigeagle
ca80dff5cb
feat(manager): flush disabled jobs 2016-08-02 23:24:27 +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
16c49b8083 feat(worker): add profiling support
Signed-off-by: bigeagle <justin.w.xd@gmail.com>
2016-06-03 00:40:30 +08:00
bigeagle
fa98e4f029 fix(worker): do not reload if config has errors 2016-05-19 11:42:08 +08: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
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
51fa12900d
feature(worker): ability to hot reload mirror job configrations, close #18 2016-05-02 17:45:21 +08:00
walkerning
2ea22ec1ae
feature(cmd): add default config files for tunasynctl 2016-04-30 16:44:45 +08:00
bigeagle
a644294bd7
style: better logging for tunasynctl 2016-04-30 16:43:55 +08:00
bigeagle
f8fd1ae460
style: better logging 2016-04-30 16:43:47 +08:00
walkerning
6e84da0f6a
feature(cmd): add tunasynctl command line tool 2016-04-30 16:43:40 +08:00
walkerning
bda7e50d3c
feature(cmd): add tunasync command line tool 2016-04-30 16:43:34 +08:00