Skip to content

watch: move sync logic into separate package#10791

Merged
glours merged 1 commit intodocker:v2from
milas:watch-refactor-sync
Jul 19, 2023
Merged

watch: move sync logic into separate package#10791
glours merged 1 commit intodocker:v2from
milas:watch-refactor-sync

Conversation

@milas
Copy link
Copy Markdown
Contributor

@milas milas commented Jul 10, 2023

What I did
Just moving some code around in preparation for an alternative sync implementation that can do bulk transfers by using tar.

Related issue
https://docker.atlassian.net/browse/ENV-191

(not mandatory) A picture of a cute animal, if possible in relation to what you did
beaver

@milas milas requested a review from a team July 10, 2023 16:24
@milas milas self-assigned this Jul 10, 2023
@milas milas requested review from StefanScherer, glours, laurazard, ndeloof, nicksieger and ulyssessouza and removed request for a team July 10, 2023 16:24
@milas milas force-pushed the watch-refactor-sync branch from 5a1a0f1 to cb4427e Compare July 11, 2023 12:46
Copy link
Copy Markdown
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@glours glours force-pushed the watch-refactor-sync branch from cb4427e to edbbea3 Compare July 19, 2023 10:12
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 19, 2023

Codecov Report

Patch coverage: 16.66% and project coverage change: -0.08 ⚠️

Comparison is base (150b88a) 60.04% compared to head (edbbea3) 59.97%.

❗ Current head edbbea3 differs from pull request most recent head cb17c3c. Consider uploading reports for the commit cb17c3c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10791      +/-   ##
==========================================
- Coverage   60.04%   59.97%   -0.08%     
==========================================
  Files         117      118       +1     
  Lines       10043    10065      +22     
==========================================
+ Hits         6030     6036       +6     
- Misses       3418     3435      +17     
+ Partials      595      594       -1     
Impacted Files Coverage Δ
internal/sync/docker_cp.go 0.00% <0.00%> (ø)
pkg/compose/watch.go 25.76% <57.14%> (+3.67%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Just moving some code around in preparation for an alternative
sync implementation that can do bulk transfers by using `tar`.

Signed-off-by: Milas Bowman <[email protected]>
@glours glours force-pushed the watch-refactor-sync branch from edbbea3 to cb17c3c Compare July 19, 2023 10:25
@glours glours merged commit 8318f66 into docker:v2 Jul 19, 2023
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.

3 participants