Miao Wang
|
dca04a3220
|
Merge remote-tracking branch 'origin/pull/198'
|
2024-04-03 19:52:38 +08:00 |
|
Arnaud Rebillout
|
c45974c0bf
|
Update debian stage1 rsync options
Updated almost 3 years ago, cf.
https://salsa.debian.org/mirror-team/archvsync/-/merge_requests/2
The ref mentioned in the code is still good, so you can compare this MR
with what's currently in ftpsync:
https://salsa.debian.org/mirror-team/archvsync/-/blob/master/bin/ftpsync#L431
Thanks
|
2024-04-03 18:17:03 +07:00 |
|
Miao Wang
|
45099fc7d3
|
Fix config_diff panics when old config or new config is empty
Fixes #190
|
2023-04-19 00:53:45 +08:00 |
|
Miao Wang
|
4007bb2e4d
|
Add unit test for config_diff when old or new is empty
|
2023-04-18 19:59:10 +08:00 |
|
Miao Wang
|
c07aaffe65
|
Merge branch 'cgroupv2', and bump version to v0.8.0
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
|
2021-09-02 22:22:26 +08:00 |
|
Miao Wang
|
1804a31b6a
|
Bugfix change the order of options in 2f9e96a
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
|
2021-09-02 22:19:05 +08:00 |
|
Miao Wang
|
f8b6ea9c4e
|
cgroupv2: add test for reexec
|
2021-07-29 14:37:10 +08:00 |
|
Miao Wang
|
1bc0285905
|
cgroupv2: bypass RequireDevices check
|
2021-07-27 02:16:51 +08:00 |
|
Miao Wang
|
e719dc443b
|
cgroupv2: improve unit test
|
2021-07-26 23:10:16 +08:00 |
|
Miao Wang
|
0f05c69c36
|
[WIP] cgroupv2: support start with cgroupv2
|
2021-07-25 16:24:13 +08:00 |
|
Miao Wang
|
28d160a7f0
|
[WIP] Cgroupv2: fix test
|
2021-07-25 14:54:30 +08:00 |
|
Miao Wang
|
2c4d2d6ae0
|
[WIP] cgroupv2: add cgroup add and del
|
2021-07-25 04:15:28 +08:00 |
|
Miao Wang
|
02a144744f
|
[WIP] cgroupv2: add init cgroup
|
2021-07-25 02:58:12 +08:00 |
|
Miao Wang
|
3ba70c6c71
|
cgroupv2: create cgroup manager on startup (WIP)
|
2021-07-23 18:46:39 +08:00 |
|
Miao Wang
|
2949b9c58c
|
cgroupv2: change newCgroupHook interface
|
2021-07-23 15:29:28 +08:00 |
|
Miao Wang
|
27c33f86b3
|
cgroup: add reexec hook
|
2021-07-22 19:09:00 +08:00 |
|
Miao Wang
|
f0ccdc47dc
|
docker: support memory limit
|
2021-07-12 22:26:13 +08:00 |
|
Miao Wang
|
3ce5c2ede3
|
change type of memlimit from string to int64
|
2021-07-12 21:44:43 +08:00 |
|
♥️
|
60beeb6ccd
|
add useIPv4 option to two stage rsync (#150)
|
2021-01-07 14:35:21 +08:00 |
|
Jiajie Chen
|
5a9c6b9020
|
Mock btrfs hook in non linux platforms like darwin
|
2020-09-17 12:27:46 +08:00 |
|
Miao Wang
|
2f9e96a75a
|
add --filter "risk .~tmp~/" to rsync options
This option is for delete `.~tmp~/` folder upon successful sync,
`--delete-excluded` will not be needed.
|
2020-09-15 20:01:24 +08:00 |
|
Chen
|
984f8a1eb5
|
Update two stage rsync profiles (#135)
* Update two stage rsync profiles
* Fix tests of two stage rsync provider
|
2020-09-14 14:48:20 +08:00 |
|
Jiajie Chen
|
b4b81ef7e9
|
Fix typo: registor -> register
|
2020-09-10 21:32:22 +08:00 |
|
Jiajie Chen
|
c8600d094e
|
Add LastRegister to WorkerStatus
|
2020-09-10 21:31:31 +08:00 |
|
z4yx
|
2ba3a27fa3
|
ignore the SIGTERM failure
|
2020-09-06 19:23:26 +08:00 |
|
z4yx
|
85b2105a2b
|
[worker] retry registration
|
2020-06-17 21:34:55 +08:00 |
|
zyx
|
7b0cd490b7
|
fix misuse of a variable
|
2020-06-08 22:23:12 +08:00 |
|
zyx
|
b5d2a0ad89
|
bug fix: jobs not being scheduled after timeout
|
2020-06-04 09:37:20 +08:00 |
|
zyx
|
d8963c9946
|
test rsync inside a Docker container
|
2020-06-03 21:51:04 +08:00 |
|
zyx
|
198afa72cd
|
bug fix: rsync can access the exclude file in Docker (close #59)
|
2020-06-03 21:50:38 +08:00 |
|
zyx
|
85ce9c1270
|
wait for docker container removal
|
2020-06-03 19:47:14 +08:00 |
|
zyx
|
c00eb12a75
|
Two new options for rsync provider
- rsync_no_timeout=true/false # disable --timeout option
- rsync_timeout=n # set --timeout=n
related to issue #121
|
2020-06-03 13:26:49 +08:00 |
|
zyx
|
31862210ba
|
implement the timeout
|
2020-05-25 19:15:05 +08:00 |
|
zyx
|
e47ba2097e
|
add a timeout field to providers
|
2020-05-25 18:24:05 +08:00 |
|
zyx
|
e8c7ff3d7f
|
config items of timeout
|
2020-05-25 18:08:31 +08:00 |
|
z4yx
|
38b0156fae
|
[bug fix] provider is not terminated if premature stop command received
|
2020-05-09 18:42:54 +08:00 |
|
z4yx
|
001703a059
|
CI runs slower, give it more time
|
2020-03-29 12:01:39 +08:00 |
|
z4yx
|
e8e6ab6ed6
|
Merge branch 'wip-newlog'
|
2020-03-29 11:47:53 +08:00 |
|
z4yx
|
1491b6c42b
|
format the code
|
2020-03-29 09:06:19 +08:00 |
|
Miao Wang
|
7a9895350b
|
Support nested mirror config
|
2020-03-29 00:24:58 +08:00 |
|
z4yx
|
91209cab60
|
translate rsync exit code to error message (solve #20). May help #109 and #110
|
2020-03-28 16:26:40 +08:00 |
|
z4yx
|
1fb9f85862
|
closing log files where they were opened
|
2020-03-28 16:26:40 +08:00 |
|
Phy
|
4d461bd172
|
Use logger to print some debug messages than fmt.print
|
2020-03-23 01:20:49 -04:00 |
|
zyx
|
b1f2679fbf
|
[cmd provider] add support of match size in logs
|
2020-03-20 10:30:44 +08:00 |
|
zyx
|
aee1a705b7
|
remove "--contimeout=120" from default rsync options
|
2020-03-16 22:23:47 +08:00 |
|
zyx
|
9eb72c5db0
|
fix misuse of variables
|
2020-03-16 21:59:34 +08:00 |
|
z4yx
|
b490c22984
|
add test of rsyncEnv
|
2020-03-16 21:16:23 +08:00 |
|
z4yx
|
ae5ff25d20
|
in case rsyncEnv is nil
|
2020-03-16 21:11:15 +08:00 |
|
z4yx
|
365f49e6d3
|
add support of env config for rsync provider
|
2020-03-16 20:59:08 +08:00 |
|
z4yx
|
c41d7a4038
|
Bring docker test back
commit 4540ba24c72cb2d24e2e04870025dfa233dedf30
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 11:16:13 2020 +0800
wait longer
commit c8f07b81a7fe5fdef9224e8bc187500c4d67f049
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 10:55:49 2020 +0800
try to Terminate
commit 10d2d4b9d0756cf8f60fe27e1e41ae29b5ea6cbe
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 10:50:26 2020 +0800
forward the error
commit 38c96ee44d31088b9e6de67ebb745358fac8d49a
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 10:31:39 2020 +0800
now enable the assertion
commit 3b3c46a065a035d906d4cc5022d42e30b1f52a08
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 10:26:40 2020 +0800
rm un-related info
commit dd7ef7e3d0a0765c1fc48296d70966b3b4d581dd
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 10:12:01 2020 +0800
print err of provider.Run
commit 49a7b57dbf52d410c0dfe796be9c2f6213884931
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 09:55:48 2020 +0800
wait until it exits
commit a3e8f699072e3252b3300c667f1425a966aedb39
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 09:54:19 2020 +0800
targeting alpine:3.8
commit f30b8565049bb373a1a91a34ad07c8c3df8e1036
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 09:47:27 2020 +0800
see what happens
commit 8c21229a8be8e2ac0737bbc4bb88ba54e9fb7a20
Author: z4yx <z4yx@users.noreply.github.com>
Date: Sat Mar 14 09:30:50 2020 +0800
remove one assertion
commit 123368e6ef07aa63c489bb49bdf370d3abdd17bb
Author: z4yx <z4yx@users.noreply.github.com>
Date: Fri Mar 13 23:32:45 2020 +0800
docker test somehow works now
commit 94fa294a9bbedb569e6dd9cc7e4f27e73ed97443
Author: z4yx <z4yx@users.noreply.github.com>
Date: Fri Mar 13 23:27:12 2020 +0800
should use -d
commit b35bae2a9cb5e006c513da95377ab9487fc4341a
Author: z4yx <z4yx@users.noreply.github.com>
Date: Fri Mar 13 23:22:25 2020 +0800
docker run not working??
commit 9aea0036f434d333087f0cff3ce5165a53554e5f
Author: z4yx <z4yx@users.noreply.github.com>
Date: Fri Mar 13 23:12:39 2020 +0800
test if docker works
commit f92578b159587a8bbda296bbf9261fb4c5e2f186
Author: z4yx <z4yx@users.noreply.github.com>
Date: Fri Mar 13 17:42:00 2020 +0800
debugging docker_test
commit b649e32f76549711af597ce3a642309a41a08bf9
Author: z4yx <z4yx@users.noreply.github.com>
Date: Fri Mar 13 17:27:55 2020 +0800
Revert "remove docker_test.go"
This reverts commit a517a4bb6407e873f9b3893bdddebcd369679a03.
|
2020-03-14 11:23:19 +08:00 |
|