-
Notifications
You must be signed in to change notification settings - Fork 138
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
OCM-5281 | Feat | Add region validation from ocm-shards and list regions command #586
Conversation
lgtm, thanks Tirth! |
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
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
cmd/ocm/list/rhRegion/cmd.go
Outdated
Use: "rh-regions", | ||
Short: "List available OCM regions", | ||
Long: "List available OCM regions", | ||
Example: ` # List all supported OCM regions ocm list rh-regions`, |
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.
should this be ocm list rh-regions
only?
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.
Example sections in other files have the same format : https://github.com/openshift-online/ocm-cli/blob/main/cmd/ocm/list/version/cmd.go#L38
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.
Okay, but IMO that's not really helpful.
go 1.18 | ||
go 1.21 |
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.
is the go version update required here? I'm wondering if it can/should be handled in a separate MR.
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.
OCM SDK uses latest golang : openshift-online/ocm-sdk-go@1252182#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
We can create a separate MR here though.
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
* OCM-4962 | Feat | Add OAuth login using PKCE (openshift-online#590) * OCM-5759 | feat: Add Device Code Flow (openshift-online#591) * OCM-5281 | Feat | Add region validation from ocm-shards and list regions command (openshift-online#586) * Add region validation from ocm-shards and list regions command * Fixed mior debug changes * Marked rh region list flag hidden in cmd * Formatting change in example section in cmd file * OCM-4964: Secure store config * OCM-4964: Go mod tidy * OCM-4964: go mod tidy * OCM-4964: Secure store updates * OCM-4965: Use keyring for oauth flows * Temp: modify pub/release for testing * Add auth method password * Missed auth method test --------- Co-authored-by: tirthct <[email protected]>
Changed
Tested