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

feat: enable tagging manifests #519

Merged
merged 7 commits into from
Sep 5, 2022
Merged

Conversation

wju-MSFT
Copy link
Contributor

Resolve #471

Signed-off-by: Jun [email protected]

@codecov-commenter
Copy link

Codecov Report

Merging #519 (090e005) into main (fcdc769) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #519   +/-   ##
=======================================
  Coverage   73.43%   73.43%           
=======================================
  Files           9        9           
  Lines         399      399           
=======================================
  Hits          293      293           
  Misses         85       85           
  Partials       21       21           

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

cmd/oras/tag/tag.go Outdated Show resolved Hide resolved
cmd/oras/tag/tag.go Outdated Show resolved Hide resolved
cmd/oras/tag/tag.go Outdated Show resolved Hide resolved
cmd/oras/tag/tag.go Outdated Show resolved Hide resolved
cmd/oras/tag/tag.go Outdated Show resolved Hide resolved
Signed-off-by: Jun <[email protected]>
Signed-off-by: Jun <[email protected]>
cmd/oras/tag/tag.go Outdated Show resolved Hide resolved
@qweeah
Copy link
Contributor

qweeah commented Aug 25, 2022

@jwang1013 Need to resolve the DCO

Signed-off-by: Jun <[email protected]>
Copy link
Contributor

@qweeah qweeah 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: Jun <[email protected]>
cmd/oras/tag/tag.go Outdated Show resolved Hide resolved
cmd/oras/tag/tag.go Outdated Show resolved Hide resolved
return errors.NewErrInvalidReference(repo.Reference)
}

return oras.Tag(ctx, repo, opts.srcRef, opts.targetRef)
Copy link
Contributor

Choose a reason for hiding this comment

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

We probably need to consider the output when tagging multiple tags. /cc @FeynmanZhou @yizha1

This change will be in another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ack.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, we need to provide output msg for different kinds of tagging results. @wju-MSFT Let's discuss and confirm it.

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. @wju-MSFT The PR needs to be rebased to be merged.

Jun added 2 commits September 5, 2022 13:48
Signed-off-by: Jun <[email protected]>
Signed-off-by: Jun <[email protected]>
@wju-MSFT
Copy link
Contributor Author

wju-MSFT commented Sep 5, 2022

@shizhMSFT PR is rebased and ready to be merged.

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 67dd9b0 into oras-project:main Sep 5, 2022
@wju-MSFT wju-MSFT deleted the wju/471 branch September 20, 2022 03:35
TerryHowe pushed a commit to TerryHowe/oras that referenced this pull request Feb 2, 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.

Command to create a tag for a manifest in the remote registry
7 participants