Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

feature: add client stream writer for Streaming #1186

Merged
merged 5 commits into from
Feb 12, 2020

Conversation

jim3ma
Copy link
Member

@jim3ma jim3ma commented Jan 16, 2020

Signed-off-by: 楚贤 chuxian.mjj@antfin.com

Ⅰ. Describe what this PR did

Add ClientStreamWriter to implement Streaming

Ⅱ. Does this pull request fix one issue?

This PR is pre-commit for Proposal #1164

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@pouchrobot
Copy link
Collaborator

We found this is your first time to contribute to Dragonfly, @jim3ma
👏 We really appreciate it.
Just remind that you have read the contribution guide: https://github.com/dragonflyoss/Dragonfly/blob/master/CONTRIBUTING.md
If you didn't, you should do that first. If done, welcome again and please enjoy hacking! 🍻

@jim3ma jim3ma changed the title [WIP]feature: add client stream writer for Streaming feature: add client stream writer for Streaming Jan 16, 2020
@codecov-io
Copy link

codecov-io commented Jan 16, 2020

Codecov Report

Merging #1186 into master will decrease coverage by 0.09%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #1186     +/-   ##
=========================================
- Coverage   47.61%   47.51%   -0.1%     
=========================================
  Files         115      116      +1     
  Lines        7254     7370    +116     
=========================================
+ Hits         3454     3502     +48     
- Misses       3523     3585     +62     
- Partials      277      283      +6
Impacted Files Coverage Δ
dfget/config/config.go 89.41% <ø> (ø) ⬆️
dfget/core/downloader/downloader.go 100% <ø> (ø) ⬆️
...t/core/downloader/p2p_downloader/p2p_downloader.go 0% <0%> (ø) ⬆️
...et/core/downloader/p2p_downloader/client_writer.go 5.08% <0%> (-0.58%) ⬇️
.../downloader/p2p_downloader/client_stream_writer.go 38.66% <38.66%> (ø)
...core/downloader/back_downloader/back_downloader.go 66.66% <76%> (+4.4%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7332a3...6692474. Read the comment docs.

@jim3ma jim3ma requested a review from lowzj January 16, 2020 08:16
Signed-off-by: 楚贤 <chuxian.mjj@antfin.com>
@jim3ma jim3ma force-pushed the add-client-stream-writer branch 4 times, most recently from ec86192 to 7512a28 Compare January 20, 2020 11:04
Signed-off-by: 楚贤 <chuxian.mjj@antfin.com>
Signed-off-by: 楚贤 <chuxian.mjj@antfin.com>
Signed-off-by: 楚贤 <chuxian.mjj@antfin.com>
Signed-off-by: 楚贤 <chuxian.mjj@antfin.com>
Copy link
Member

@lowzj lowzj left a comment

Choose a reason for hiding this comment

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

lgtm

@lowzj lowzj merged commit 790e620 into dragonflyoss:master Feb 12, 2020
sungjunyoung pushed a commit to sungjunyoung/Dragonfly that referenced this pull request May 8, 2022
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants