-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
bundle validate: new alpha flag --output=<text|json-alpha1>
to format results
#3011
bundle validate: new alpha flag --output=<text|json-alpha1>
to format results
#3011
Conversation
HI @estroz, Thank your for your review and great suggestions. All are addressed with 1 exception only as described above. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
To me this seems like a large code change for effectively just calling json.Marshal
on the result of the validation.
--json
to output the result of operator-sdk bundle validate
in JSON format.--output
to output the result of operator-sdk bundle validate
in JSON format.
This comment has been minimized.
This comment has been minimized.
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.
I changed the impl to use the dep instead of we impl the output structure which makes the thing easier and cleaner. See:
Let me know what do you think and if we can move forward with now.
Hi @estroz, After all possibilities and suggestions, it is now updated and done on with your ideal one. Please, feel free to check. :-) Relly tks for the help, I think that it is much better now following your approach. 🥇 |
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.
Getting there, although the JSON spec should be internal to the SDK (for now).
Hi @estroz, All is done here, could you please give a hand in its review? |
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.
Structure is getting there.
Hi @estroz, All done as suggested Just here: #3011 (comment) I do not move with your comment because I thought that would be better re-check first since it would mean shows |
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.
A few nits then 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
New changes are detected. LGTM label has been removed. |
…rator-sdk bundle validate` in JSON format.
--output
to output the result of operator-sdk bundle validate
in JSON format.--output=<text|json-alpha1>
to format results
Description of the change:
Alpha hidden flag. See: