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: add subject reference into attach output #671

Merged
merged 3 commits into from
Nov 4, 2022

Conversation

qweeah
Copy link
Contributor

@qweeah qweeah commented Nov 3, 2022

Resolves #674
Signed-off-by: Billy Zha jinzha1@microsoft.com

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
cmd/oras/attach.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

Codecov Report

Merging #671 (ab76b5f) into main (0348739) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #671   +/-   ##
=======================================
  Coverage   72.12%   72.12%           
=======================================
  Files          14       14           
  Lines         513      513           
=======================================
  Hits          370      370           
  Misses        114      114           
  Partials       29       29           

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>
Comment on lines 147 to 148
fmt.Println("Attached to", targetRef)
fmt.Println("Subject:", targetRef)
Copy link
Contributor

@shizhMSFT shizhMSFT Nov 4, 2022

Choose a reason for hiding this comment

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

This line is duplicated. Let's remove the line 148.

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 690716b into oras-project:main Nov 4, 2022
TerryHowe pushed a commit to TerryHowe/oras that referenced this pull request Feb 2, 2023
Resolves oras-project#674

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
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.

Show the subject reference with FQDN after oras attach
3 participants