Skip to content

Improve listing of compatible plugins for images with children #1596

@maverickgoose28

Description

@maverickgoose28

I am trying to list plugins that are compatible to be run against an image *and* any child images.

However, when using target-query --children <target> -l the plugins returned are the intersect of the plugins that can be run against all images.

For example, if there is an image A that has child docker container images B and C, if I run the command target-query --children <target> -l the docker plugin would not be returned because it's only valid for image A.

I feel like it would make more sense to return the superset of all plugins that would be compatible with A, B, or C, even if that includes some plugins that aren't compatible with all images?

Also, as a workaround I tried to get the plugins for each child by using target-query <target> --child <child path or index> -l and it returns the plugins for the parent not the child. Would it make more sense to return the plugins compatible with the child in this scenario?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions