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

nydusify: small improvements for mount & check subcommands #1615

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

imeoer
Copy link
Collaborator

@imeoer imeoer commented Aug 28, 2024

  • Add --prefetch option for enabling full image data prefetch.
  • Support HTTP_PROXY / HTTPS_PROXY env for enabling proxy for nydusd.
  • Change nydusd log level to warn for mount & check subcommands.

Relevant Issue (if applicable)

If there are Issues related to this PullRequest, please list it.

Details

Please describe the details of PullRequest.

Types of changes

What types of changes does your PullRequest introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

- Add `--prefetch` option for enabling full image data prefetch.
- Support `HTTP_PROXY` / `HTTPS_PROXY` env for enabling proxy for nydusd.
- Change nydusd log level to `warn` for mount & check subcommands.

Signed-off-by: Yan Song <[email protected]>
@imeoer imeoer requested a review from a team as a code owner August 28, 2024 02:41
@imeoer imeoer requested review from ccx1024cc, gaius-qi and power-more and removed request for a team August 28, 2024 02:41
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 61.38%. Comparing base (52ed07b) to head (5b88ceb).
Report is 1 commits behind head on master.

Files Patch % Lines
contrib/nydusify/pkg/utils/backend.go 0.00% 22 Missing ⚠️
contrib/nydusify/cmd/nydusify.go 0.00% 2 Missing ⚠️
contrib/nydusify/pkg/checker/rule/filesystem.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1615      +/-   ##
==========================================
- Coverage   61.44%   61.38%   -0.06%     
==========================================
  Files         145      146       +1     
  Lines       48032    48040       +8     
  Branches    46007    46007              
==========================================
- Hits        29512    29490      -22     
- Misses      16963    16987      +24     
- Partials     1557     1563       +6     
Files Coverage Δ
contrib/nydusify/pkg/checker/rule/filesystem.go 0.00% <0.00%> (ø)
contrib/nydusify/cmd/nydusify.go 13.40% <0.00%> (ø)
contrib/nydusify/pkg/utils/backend.go 0.00% <0.00%> (ø)

... and 6 files with indirect coverage changes

Copy link

@NehemiahMi NehemiahMi left a comment

Choose a reason for hiding this comment

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

add ut best

@imeoer imeoer merged commit 3eb5c7b into dragonflyoss:master Aug 28, 2024
25 checks passed
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.

2 participants