-
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
Add global --verbose
flag to operator-sdk
command
#1361
Add global --verbose
flag to operator-sdk
command
#1361
Conversation
Description of the change: The `scorecard` command has a verbose option, but this is better defined as a single global flag. The initial use of the flag is to add a `log.Debugf` call to see the `exec` calls that are being made. Signed-off-by: Brian Topping <[email protected]>
Hi @briantopping. Thanks for your PR. I'm waiting for a operator-framework or openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
We're able to remove other uses of
|
@joelanford Good eye, I should have done a global search. Now I'm interested in whether we ought to interact with operator-sdk/internal/util/projutil/project_util.go Lines 191 to 196 in fc22a33
|
@briantopping it would be nice to rely on |
Signed-off-by: Brian Topping <[email protected]>
Signed-off-by: Brian Topping <[email protected]>
/retest |
/shrug |
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 think a leftover debug statement but LGTM
# Conflicts: # cmd/operator-sdk/scorecard/cmd.go # internal/pkg/scorecard/scorecard.go
Signed-off-by: Brian Topping <[email protected]>
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.
One nit otherwise lgtm, thanks for your contribution! 👍
Great eye! Thanks @lilic, noted for future use! :) Co-Authored-By: briantopping <[email protected]>
/lgtm |
New changes are detected. LGTM label has been removed. |
@lilic No idea why
|
Signed-off-by: Brian Topping <[email protected]>
@briantopping Travis tests aren't managed by API CI so sadly we can't trigger retests with comments. If you hit details, there should be a restart test button on the web page. I'll restart the failed test for you now |
@briantopping Looks good overall. Additionally we want to point out this change in the |
Signed-off-by: Brian Topping <[email protected]>
@hasbro17 all set! |
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
Thanks all! Grateful for your patience while I came up-to-speed with contributing to this project! 😄 |
Description of the change:
Add global
--verbose
flag tooperator-sdk
command. Thescorecard
command has a verbose option, but this is better defined as a single global flag. The initial use of the flag is to add alog.Debugf
call to see theexec
calls that are being made.Motivation for the change:
Experimenting with creating a Bazel build around the generated project from
operator-sdk
. It was not clear what was actually happening at the runtimeexec
calls.