-
Notifications
You must be signed in to change notification settings - Fork 181
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: improving error log for oras push
and oras attach
when the annotation file is invalid
#1026
Conversation
oras push
and oras attach
when the annotation file is invalidoras push
and oras attach
when the annotation file is invalid
@1Shubham7 Can you sign the commits via following https://github.com/oras-project/oras/pull/1026/checks?check_run_id=15187109754 |
figured it out, it should be fine now. @qweeah can you check it out now. |
Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>
Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>
Signed-off-by: Sajay Antony <sajaya@microsoft.com> Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>
Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>
@qweeah Please have a look at it now. |
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## main #1026 +/- ##
==========================================
+ Coverage 81.21% 81.29% +0.07%
==========================================
Files 57 57
Lines 2907 2908 +1
==========================================
+ Hits 2361 2364 +3
+ Misses 373 371 -2
Partials 173 173
|
fix: move stale into .github/workflows (oras-project#1031)
Signed-off-by: Shubham Singh <116020663+1Shubham7@users.noreply.github.com>
Co-authored-by: Billy Zha <qweeah@gmail.com> Signed-off-by: Shubham Singh <116020663+1Shubham7@users.noreply.github.com>
Maintainers, I am seeing another issue, some errors end with a period (".") while some don't. I had a discussion with @qweeah . Making commits to deal with this. |
Signed-off-by: Shubham Singh <116020663+1Shubham7@users.noreply.github.com>
Co-authored-by: Billy Zha <qweeah@gmail.com> Signed-off-by: Shubham Singh <116020663+1Shubham7@users.noreply.github.com>
it has multiple errors @qweeah . changing it. |
Signed-off-by: Shubham Singh <116020663+1Shubham7@users.noreply.github.com>
Signed-off-by: Shubham Singh <116020663+1Shubham7@users.noreply.github.com>
@qweeah please have a look now. I think its completed. |
@toddysm Can you help review and confirm the UX in the screen shot? Thanks cc @FeynmanZhou |
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
oras push
and oras attach
when the annotation file is invalidoras push
and oras attach
when the annotation file is invalid
… annotation file is invalid (oras-project#1026) Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>
What this PR does / why we need it:
If a malformed JSON file is provided via --annotation-file flag, oras used to output
Error: json: cannot unmarshal string into Go value of type map[string]string
PR to improve this to
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1021
screen shot of the final version
Please check the following list: