-
Notifications
You must be signed in to change notification settings - Fork 201
feat: show annotations in default discovery output #1602
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
Conversation
--format tree-full
flag
The title of this PR needs to be updated when you get a chance |
--format tree-full
flag
This broke e2e
|
028a4c5
to
5c3eb6b
Compare
im continously encounting this err , any idea ? https://github.com/oras-project/oras/blob/main/test/e2e/internal/utils/init.go#L128
|
@Horiodino Running E2E tests on local could be buggy sometimes. Can you try removing the zot container, restoring everything generated under the e2e folder, and run again? |
@Horiodino Could you also share a screenshot before and after updating the command? |
5c3eb6b
to
09eaf1b
Compare
|
@Horiodino Could you fix the conflict? |
09eaf1b
to
88f1e6a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1602 +/- ##
==========================================
+ Coverage 84.70% 84.77% +0.06%
==========================================
Files 126 126
Lines 5683 5702 +19
==========================================
+ Hits 4814 4834 +20
+ Misses 619 618 -1
Partials 250 250 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Can we also mark --output
and --verbose
as deprecated and hide them from the help manual, like we did for other commands?
88f1e6a
to
2c8ff30
Compare
2c8ff30
to
8a99a15
Compare
Signed-off-by: Horiodino <holiodin@gmail.com> added test case Signed-off-by: Horiodino <holiodin@gmail.com> added test case Signed-off-by: Horiodino <holiodin@gmail.com> added test case Signed-off-by: Horiodino <holiodin@gmail.com> updated test case Signed-off-by: Horiodino <holiodin@gmail.com>
8a99a15
to
f5bac02
Compare
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.
We also need some unit tests to meet the patch coverage. @Horiodino Can I work on your branch?
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
We will need to refactor this once #1653 gets merged |
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
@FeynmanZhou Can you check if this looks good? |
#1653 has been merged. We now need to merge the main branch and refactor this PR. |
Hi @Horiodino, @wangxiaoxuan273, who is an active ORAS contributor, can help refactor the PR and resolve the conflicts. But she needs to be added as a collaborator to your forked repo to get the push permission. Would you mind setting up the permissions on your side? It can be done by following this instruction. |
Hi @Horiodino, I'm interested in doing the refactoring and it would be nice if you can give me the permission so that I can directly push to your branch. It will speed up the merge process of this PR. |
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
Per the dicussion on ORAS community meeting on Apr 15, 2025, maintainers ageed on the UX in the screenshot 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.
LGTM
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: Horiodino <holiodin@gmail.com> Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com> Signed-off-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com> Co-authored-by: Lixia (Sylvia) Lei <lixlei@microsoft.com> Co-authored-by: Xiaoxuan Wang <xiaoxuanwang@microsoft.com>
What this PR does / why we need it:
This PR introduces a new
--format tree-full
flag for theoras discover
command, as outlined in the ORAS diagnose experience proposal. The flag enables users to control the level of metadata output when discovering artifacts, including detailed annotations. By adding this feature, users will be able to print more granular metadata about the artifacts, which will improve the overall diagnostic and troubleshooting experience.Which issue(s) this PR fixes *
Fixes #1534
Please check the following list: