-
Notifications
You must be signed in to change notification settings - Fork 547
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
Refactor based on discussions in #1650 #1674
Conversation
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
@mattmoor @hectorj2f |
// at authority.Sources to determine additional information for the | ||
// WithRemoteOptions below, at least the 'TargetRepository' | ||
// https://github.com/sigstore/cosign/issues/1651 | ||
opts := ociremote.WithRemoteOptions(remote.WithAuthFromKeychain(kc)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also include the ociremote.Option
argument from above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, it's never currently used, so just left it in the TODO, but done :)
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My one comment isn't new, but we should probably still sort it out.
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
There was a problem hiding this 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: Ville Aikas <vaikas@chainguard.dev>
Codecov Report
@@ Coverage Diff @@
## main #1674 +/- ##
==========================================
+ Coverage 29.20% 29.25% +0.05%
==========================================
Files 140 140
Lines 8340 8346 +6
==========================================
+ Hits 2436 2442 +6
Misses 5639 5639
Partials 265 265
Continue to review full report at Codecov.
|
* Refactor based on discussions in sigstore#1650 Signed-off-by: Ville Aikas <vaikas@chainguard.dev> * Simplify return signature. Signed-off-by: Ville Aikas <vaikas@chainguard.dev> * pr feedback. Signed-off-by: Ville Aikas <vaikas@chainguard.dev> * remove now unnecessary var. Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas vaikas@chainguard.dev
Summary
Refactor code based on discussions in #1650 as followups.
Ticket Link
Fixes
Release Note