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

update: Package registry refactoring #190

Merged
merged 11 commits into from
Nov 9, 2022

Conversation

patrickzheng200
Copy link
Contributor

@patrickzheng200 patrickzheng200 commented Nov 8, 2022

PR review order: This PR -> #192 -> #191 -> #186

This PR refactors package registry. Please only review files inside the registry folder.

The original registry package is moved into the internal folder. Once this PR is merged, internal/registry shall be removed in a separate PR.

Signed-off-by: Patrick Zheng [email protected]

Signed-off-by: Patrick Zheng <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Nov 8, 2022

Codecov Report

Merging #190 (c5a5fee) into main (a44d663) will decrease coverage by 2.69%.
The diff coverage is 31.11%.

@@            Coverage Diff             @@
##             main     #190      +/-   ##
==========================================
- Coverage   80.76%   78.07%   -2.70%     
==========================================
  Files          22       22              
  Lines        1716     1651      -65     
==========================================
- Hits         1386     1289      -97     
- Misses        258      291      +33     
+ Partials       72       71       -1     
Impacted Files Coverage Δ
verification/verifier.go 83.33% <ø> (ø)
verification/verifier_helpers.go 68.85% <ø> (ø)
registry/repository.go 33.84% <31.11%> (-57.70%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

registry/repositoryClient.go Outdated Show resolved Hide resolved
registry/repositoryClient.go Outdated Show resolved Hide resolved
registry/repositoryClient.go Outdated Show resolved Hide resolved
registry/repository.go Show resolved Hide resolved
registry/repositoryClient.go Outdated Show resolved Hide resolved
registry/repositoryClient.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
Signed-off-by: Patrick Zheng <[email protected]>
registry/interface.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/interface.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <[email protected]>
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
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

registry/interface.go Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/interface.go Outdated Show resolved Hide resolved
registry/interface.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Outdated Show resolved Hide resolved
registry/repository.go Show resolved Hide resolved
Signed-off-by: Patrick Zheng <[email protected]>
registry/repository.go Outdated Show resolved Hide resolved
Signed-off-by: Patrick Zheng <[email protected]>
Copy link
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Patrick Zheng <[email protected]>
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 c3e6e07 into notaryproject:main Nov 9, 2022
@patrickzheng200 patrickzheng200 deleted the registry branch November 9, 2022 08:48
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.

6 participants