-
Notifications
You must be signed in to change notification settings - Fork 244
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
Show Devfile Stack versions in "odo registry" output #6397
Show Devfile Stack versions in "odo registry" output #6397
Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
Skipping CI for Draft Pull Request. |
… when listing Stack versions
This allows seeing them in a meaningful order in both human-readable and JSON outputs.
Similar to the "version" field, this represents the list of starter projects of the default Stack version.
59e95e9
to
6d8f383
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Thanks Armel |
/override ci/prow/v4.11-integration-e2e All tests passing on IBM Cloud. |
@rm3l: Overrode contexts on behalf of rm3l: ci/prow/v4.11-integration-e2e In response to this:
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. |
/override ci/prow/v4.11-integration-e2e All tests passing on IBM Cloud. |
@rm3l: Overrode contexts on behalf of rm3l: ci/prow/v4.11-integration-e2e In response to this:
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. |
What type of PR is this:
/kind feature
/area registry
What does this PR do / why we need it:
This PR fetches and displays the Devfile Stack versions in the "odo registry" output (both human-readable and JSON).
As discussed in the linked issue, it does so by first querying (using the Devfile library) the
/v2index
registry endpoint (which should expose a list of stack versions), and falls back to the/index
endpoint if the/v2index
is not available.See #6314 for more context.
For backward compatibility, the
Version
andStarter Projects
fields have not been removed. Just like before, they are representing the version and starter projects of the default Stack version.Which issue(s) this PR fixes:
Fixes #6314
PR acceptance criteria:
Unit test
Integration test
Documentation
odo registry
command referenceodo registry -o json
How to test changes / Special notes to the reviewer:
odo registry
:odo registry
odo registry --details