Skip to content

Add information about command groups to registry index schema.  #996

@kadel

Description

@kadel

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

Metadata

Metadata

Assignees

Labels

area/registryDevfile registry for stacks and infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions