Skip to content

feat: --annotation for index create#1499

Merged
qweeah merged 15 commits into
oras-project:mainfrom
wangxiaoxuan273:index-create-annotation
Sep 23, 2024
Merged

feat: --annotation for index create#1499
qweeah merged 15 commits into
oras-project:mainfrom
wangxiaoxuan273:index-create-annotation

Conversation

@wangxiaoxuan273

@wangxiaoxuan273 wangxiaoxuan273 commented Sep 13, 2024

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Part of #1053

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

Xiaoxuan Wang added 2 commits September 13, 2024 15:55
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
@codecov

codecov Bot commented Sep 13, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.10%. Comparing base (961e9f8) to head (1b039e4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1499      +/-   ##
==========================================
+ Coverage   86.01%   86.10%   +0.08%     
==========================================
  Files         117      118       +1     
  Lines        4226     4224       -2     
==========================================
+ Hits         3635     3637       +2     
+ Misses        353      350       -3     
+ Partials      238      237       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wangxiaoxuan273 wangxiaoxuan273 changed the title feat: --annotation, --annotation-file, --subject for index create feat: --annotation, --annotation-file for index create Sep 13, 2024
@wangxiaoxuan273 wangxiaoxuan273 changed the title feat: --annotation, --annotation-file for index create feat: --annotation, --annotation-file for index create Sep 13, 2024
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
@wangxiaoxuan273 wangxiaoxuan273 changed the title feat: --annotation, --annotation-file for index create feat: --annotation for index create Sep 14, 2024
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Xiaoxuan Wang added 2 commits September 18, 2024 11:34
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Comment thread cmd/oras/root/manifest/index/create.go Outdated
Xiaoxuan Wang added 6 commits September 19, 2024 15:08
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>

@Wwwsylvia Wwwsylvia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. But I am not a maintainer.

Comment thread cmd/oras/internal/option/packer.go Outdated
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@qweeah qweeah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM with minor suggestions.

Comment thread cmd/oras/internal/option/annotation.go Outdated
Comment thread cmd/oras/internal/option/annotation.go
fix
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
@qweeah qweeah merged commit 8dc05a7 into oras-project:main Sep 23, 2024
@wangxiaoxuan273 wangxiaoxuan273 deleted the index-create-annotation branch September 23, 2024 02:03
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.

4 participants