Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/sync: listall interface add to followlink parameters #3942

Merged
merged 13 commits into from
Aug 1, 2023

Conversation

zhijian-pro
Copy link
Contributor

@zhijian-pro zhijian-pro commented Jul 27, 2023

close #3934

@zhoucheng361 zhoucheng361 changed the title cnd/sync: sync list all dont follow link cmd/sync: sync list all dont follow link Jul 27, 2023
@zhijian-pro zhijian-pro changed the title cmd/sync: sync list all dont follow link cmd/sync: listall interface add to followlink parameters Jul 27, 2023
@zhijian-pro zhijian-pro marked this pull request as ready for review July 27, 2023 09:56
@zhijian-pro zhijian-pro marked this pull request as draft July 28, 2023 01:42
@zhijian-pro zhijian-pro marked this pull request as ready for review July 28, 2023 05:11
@zhijian-pro zhijian-pro requested a review from SandyXSD July 28, 2023 06:09
@SandyXSD SandyXSD requested a review from davies July 28, 2023 06:51
@zhijian-pro zhijian-pro force-pushed the fix_sync_dir_symlink branch from 7584cd3 to de18c57 Compare July 31, 2023 03:00
@github-actions
Copy link

Mutate Test Report
pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5710480692/job/15470754576

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5710480692/job/15470754688

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5710480692/job/15470754822

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5710480692/job/15470754929

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5710480692/job/15470755155

pkg/object/object_storage_test.go-1-1: score:0.41 failed:38, passed:26, compile error:0, out of coverage:6, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5710480692/job/15470754400

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@github-actions
Copy link

Mutate Test Report
pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711267831/job/15472703233

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711267831/job/15472703360

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711267831/job/15472703534

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711267831/job/15472703655

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711267831/job/15472703765

pkg/object/object_storage_test.go-1-1: score:0.41 failed:38, passed:26, compile error:0, out of coverage:6, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711267831/job/15472703066

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@github-actions
Copy link

Mutate Test Report
pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711592693/job/15473536980

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711592693/job/15473537078

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711592693/job/15473537193

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711592693/job/15473537291

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711592693/job/15473537421

pkg/object/object_storage_test.go-1-1: score:0.41 failed:38, passed:26, compile error:0, out of coverage:6, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711592693/job/15473536830

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@github-actions
Copy link

Mutate Test Report
pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711631642/job/15473667951

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711631642/job/15473668162

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711631642/job/15473668356

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711631642/job/15473668540

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711631642/job/15473668683

pkg/object/object_storage_test.go-1-1: score:0.41 failed:38, passed:26, compile error:0, out of coverage:6, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711631642/job/15473667746

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@github-actions
Copy link

Mutate Test Report
pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711730845/job/15474199326

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711730845/job/15474199486

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711730845/job/15474199620

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711730845/job/15474199793

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711730845/job/15474199955

pkg/object/object_storage_test.go-1-1: score:0.41 failed:38, passed:26, compile error:0, out of coverage:6, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711730845/job/15474199091

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@github-actions
Copy link

Mutate Test Report
pkg/object/filesystem_test.go-1-1: score:0.00 failed:0, passed:0, compile error:0, out of coverage:0, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711889451/job/15474373640

pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711889451/job/15474373996

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711889451/job/15474374163

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711889451/job/15474374321

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711889451/job/15474374478

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711889451/job/15474374695

pkg/object/object_storage_test.go-1-1: score:0.41 failed:38, passed:26, compile error:0, out of coverage:6, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5711889451/job/15474373836

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@github-actions
Copy link

Mutate Test Report
pkg/object/filesystem_test.go-1-1: score:0.00 failed:0, passed:0, compile error:0, out of coverage:0, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712117617/job/15475055793

pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712117617/job/15475056296

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712117617/job/15475056519

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712117617/job/15475056746

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712117617/job/15475057014

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712117617/job/15475057244

pkg/object/object_storage_test.go-1-1: score:0.41 failed:38, passed:26, compile error:0, out of coverage:6, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712117617/job/15475056080

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@zhijian-pro zhijian-pro force-pushed the fix_sync_dir_symlink branch from 0f12ecb to 4b29837 Compare July 31, 2023 10:11
@github-actions
Copy link

Mutate Test Report
pkg/object/filesystem_test.go-1-1: score:0.00 failed:0, passed:0, compile error:0, out of coverage:0, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712990432/job/15477612638

pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712990432/job/15477612985

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712990432/job/15477613159

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712990432/job/15477613344

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712990432/job/15477613546

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712990432/job/15477613701

pkg/object/object_storage_test.go-1-1: score:0.44 failed:35, passed:27, compile error:0, out of coverage:8, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5712990432/job/15477612809

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@github-actions
Copy link

Mutate Test Report
pkg/object/filesystem_test.go-1-1: score:0.00 failed:0, passed:0, compile error:0, out of coverage:0, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713332884/job/15478648985

pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713332884/job/15478649461

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713332884/job/15478649644

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713332884/job/15478649857

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713332884/job/15478650037

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713332884/job/15478650235

pkg/object/object_storage_test.go-1-1: score:0.44 failed:35, passed:27, compile error:0, out of coverage:8, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713332884/job/15478649248

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@github-actions
Copy link

Mutate Test Report
pkg/object/filesystem_test.go-1-1: score:0.00 failed:0, passed:0, compile error:0, out of coverage:0, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713414921/job/15478850075

pkg/sync/sync_test.go-1-4: score:0.65 failed:14, passed:26, compile error:0, out of coverage:83, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713414921/job/15478850447

pkg/sync/sync_test.go-2-4: score:0.63 failed:25, passed:42, compile error:0, out of coverage:56, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713414921/job/15478850663

pkg/sync/sync_test.go-3-4: score:0.36 failed:58, passed:32, compile error:0, out of coverage:33, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713414921/job/15478850879

pkg/sync/sync_test.go-4-4: score:0.51 failed:21, passed:22, compile error:0, out of coverage:78, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713414921/job/15478851043

pkg/vfs/backup_test.go-1-1: score:0.50 failed:24, passed:24, compile error:0, out of coverage:14, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713414921/job/15478851192

pkg/object/object_storage_test.go-1-1: score:0.44 failed:35, passed:27, compile error:0, out of coverage:8, skip by comment:0, others:0
Job detail: https://github.com/juicedata/juicefs/actions/runs/5713414921/job/15478850292

Usage: https://github.com/juicedata/juicefs/blob/main/.github/scripts/mutate/how_to_use_mutate_test.md

@davies davies merged commit 66bdd05 into main Aug 1, 2023
@davies davies deleted the fix_sync_dir_symlink branch August 1, 2023 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sync --links not working
2 participants