Skip to content
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 information about command groups to registry index schema. #996

Closed
kadel opened this issue Dec 8, 2022 · 0 comments · Fixed by devfile/registry-support#163 or devfile/registry-support#165
Assignees
Labels
area/registry Devfile registry for stacks and infrastructure

Comments

@kadel
Copy link
Member

kadel commented Dec 8, 2022

Which area this feature is related to?

/area registry

Which functionality do you think we should add?

Add information to the registry index about what command groups are defined in the devfile stack

for example, something like this:

"commandGroups": {
  "build": true, 
  "run": true,
  "test": false,
  "debug": false,
  "deploy": false
}

Why is this needed? Is your feature request related to a problem?

Odo shows users what commands are available to them. This is useful for users to know that they, for example, can't use odo deploy if the stack doesn't have deploy command.

Odo has a command that shows this information for all Stacks in the registry.
It needs to fetch every Devfile stack from the registry to get that info.
It would be nice to get that info without downloading every devfile.

In general it might be useful for other tools to be ablet to quickly see what "features" each devfile stack supports.

Target Date: 2023-02-14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry Devfile registry for stacks and infrastructure
Projects
None yet
2 participants