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

chore: move ParseRepoPath to internal package #817

Merged
merged 5 commits into from
Feb 16, 2023

Conversation

qweeah
Copy link
Contributor

@qweeah qweeah commented Feb 15, 2023

Putting it in cmd/oras/internal will trigger code coverage scan on command declaration code, which effects our code coverage.

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@qweeah qweeah marked this pull request as ready for review February 15, 2023 14:27
Copy link
Member

@TerryHowe TerryHowe left a comment

Choose a reason for hiding this comment

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

LGTM

@qweeah qweeah marked this pull request as draft February 16, 2023 00:22
@qweeah qweeah marked this pull request as ready for review February 16, 2023 00:22
@qweeah
Copy link
Contributor Author

qweeah commented Feb 16, 2023

I am not sure why this doesn't trigger codcov auto comment. The coverage rate increases ~7% in https://app.codecov.io/gh/oras-project/oras/pulls.

@codecov-commenter
Copy link

Codecov Report

Merging #817 (4d320b7) into main (4484599) will increase coverage by 7.47%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #817      +/-   ##
==========================================
+ Coverage   56.03%   63.50%   +7.47%     
==========================================
  Files          23       21       -2     
  Lines         953      844     -109     
==========================================
+ Hits          534      536       +2     
+ Misses        376      265     -111     
  Partials       43       43              
Impacted Files Coverage Δ
internal/repository/repository.go 100.00% <100.00%> (ø)
cmd/oras/repository/ls.go
cmd/oras/repository/cmd.go
cmd/oras/repository/tags.go

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@shizhMSFT shizhMSFT merged commit 89dc7a5 into oras-project:main Feb 16, 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.

None yet

4 participants