536 Commits

Author SHA1 Message Date
Miao Wang
702c68c439 Merge remote-tracking branch 'origin/pull/222' 2026-05-15 17:46:02 +08:00
tedaimeng
b576b073f2 fix bold text 2026-05-15 13:57:17 +08:00
tedaimeng
084791b430 Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-15 13:44:20 +08:00
tedaimeng
8089e1aff7 update docs structure 2026-05-15 12:57:25 +08:00
tedaimeng
7ab99bd55d Add detailed config documents 2026-05-15 12:52:00 +08:00
Shengqi Chen
6be7eebb1e Bump to v0.10.0
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
v0.10.0
2026-04-13 21:57:25 +08:00
Shengqi Chen
5832e11b51 Merge pull request #221 from tuna/go-1.25
Bump toolchain, CI and dependencies
2026-04-13 21:53:49 +08:00
Shengqi Chen
9b9eb38a13 tests: add coverage for internal logger
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2026-04-13 21:36:02 +08:00
Miao Wang
b9bed819d9 fix: reexec fd 3 handling under coverage 2026-04-13 21:36:02 +08:00
Shengqi Chen
0ed5931562 build: fix for go toolchain bug by setting GOTOOLCHAIN
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2026-04-13 21:36:02 +08:00
Shengqi Chen
125cf40779 deps: bump to go 1.26.2 to fix CI error
See: https://stackoverflow.com/questions/79780882/go-no-such-tool-covdata-in-go-1-25

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2026-04-13 21:36:02 +08:00
Shengqi Chen
8fe7246c5b refactor: upgrade core Go deps and modernize logging
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2026-04-13 21:36:02 +08:00
Shengqi Chen
aa658112f6 ci: use go version from go.mod
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2026-04-13 13:11:55 +08:00
Shengqi Chen
e5e307c2e9 deps: bump go.mod, update some dependencies
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2026-04-13 13:05:09 +08:00
Shengqi Chen
14738534f7 ci: bump action versions, use alpnie 2.23 in tests
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2026-04-13 12:55:10 +08:00
Shengqi Chen
a93fbc1092 Merge pull request #220 from yaoge123/feat/rsync-success-exit-codes
Add rsync-specific success exit code configuration
2026-04-13 12:42:10 +08:00
yaoge123
93db9a79d8 refactor(worker): simplify success exit code deduplication 2026-04-13 11:31:43 +08:00
yaoge123
840c2c5726 docs: clarify rsync success exit code configuration 2026-04-13 10:29:24 +08:00
yaoge123
407edbc17e refactor(worker): deduplicate merged success exit codes 2026-04-13 07:17:39 +08:00
yaoge123
43b2e63add feat(worker): add rsync success exit code configuration 2026-04-13 07:14:05 +08:00
Chen
26ceb49c2b Merge pull request #212 from tuna/dependabot/go_modules/golang.org/x/net-0.38.0
build(deps): bump golang.org/x/net from 0.35.0 to 0.38.0
2025-07-25 06:59:16 +02:00
dependabot[bot]
51e5cbf746 build(deps): bump golang.org/x/net from 0.35.0 to 0.38.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.35.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 23:13:10 +00:00
Shengqi Chen
528b799bc4 Bump to v0.9.3
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
v0.9.3
2025-02-28 15:19:17 +08:00
Shengqi Chen
436386fb73 ci: include git tag in release tarball
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-02-28 15:19:09 +08:00
Shengqi Chen
0933b65144 Run go get -u
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-02-28 15:17:24 +08:00
Shengqi Chen
833027a6a0 Merge pull request #209 from tuna/success_exit_code
Allow setting success exit codes globally and for each mirror (fixes #207)
2025-02-28 15:14:34 +08:00
Shengqi Chen
a5b72b8c55 Add tests for success_exit_codes in config and provider
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-02-28 14:44:23 +08:00
Shengqi Chen
033aa60540 Implement mirror.success_exit_codes and global.dangerous_global_success_exit_codes
Signed-off-by: Harry Chen <i@harrychen.xyz>
2025-02-28 14:43:51 +08:00
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
c01de06ac3 Bump to v0.9.2
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
v0.9.2
2025-02-27 22:22:06 +08:00
Shengqi Chen
ece3e3d9e3 ci: use go 1.23
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-02-27 22:15:22 +08:00
Shengqi Chen
0a00097301 Run go get -u
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-02-27 22:13:53 +08:00
Shengqi Chen
245a8bfc3f Merge pull request #208 from tuna/rsync-opts
More configuration options for rsync
2025-02-27 22:07:37 +08:00
Harry Chen
a64557b86d Implement global.rsync_options (fixes #206)
Signed-off-by: Harry Chen <i@harrychen.xyz>
2025-02-27 17:37:22 +08:00
Harry Chen
27e4307375 Implement rsync_override_only in mirrorConfig
Signed-off-by: Harry Chen <i@harrychen.xyz>
2025-02-27 16:45:43 +08:00
Shengqi Chen
ad97ef8421 Bump to v0.9.1
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
v0.9.1
2025-01-12 16:15:02 +08:00
Shengqi Chen
748f276d49 Merge pull request #205 from tuna/test/ci
Fix unit tests in CI
2025-01-12 16:14:16 +08:00
Shengqi Chen
0ebfc58126 ci: fix wrong input coverage filename
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-12 16:04:30 +08:00
Shengqi Chen
ab8d1c2120 remove all cmd source files from coverage, make shanker happy
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-12 15:55:20 +08:00
Shengqi Chen
559f5705f6 ci: rename all coverage files to .gcov, ignore them in git
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-12 15:51:20 +08:00
Shengqi Chen
f8d7ea1828 ci: limit branches to master to avoid duplicated runs
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-12 15:45:57 +08:00
Shengqi Chen
b4ca6f4c1e Run go get -u
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-12 15:19:32 +08:00
Miao Wang
113df44f19 cgroup: upgrade to containerd/cgroup/v3 2025-01-12 04:07:01 +08:00
Miao Wang
e903c644f2 Fix CI test for cgroupv1
The test binary is complied on ubuntu 22.04, linked with higher version
of glibc than debian bullseye integrates after upgrading to golang 1.22

Solve this problem by disabling cgo.
2025-01-12 04:07:00 +08:00
Shengqi Chen
181fddb87c ci: update release.yml
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
v0.9.0
2025-01-11 16:42:56 +08:00
Shengqi Chen
a6a03decf0 doc: update README and bump to v0.9.0
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-11 16:14:44 +08:00
Shengqi Chen
5fb63e119c ci: compile for more architectures when releasing
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-11 16:12:14 +08:00
Shengqi Chen
95c4d54ee2 Replace boltdb with bbolt, fix #173, close #174
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2025-01-11 16:06:35 +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