Skip to content

Possibility to remove selected packages from the builtin Library #333

Description

@nuwandiw

We are are doing the bundle configuration with Java.

Sources for the "my-app" policy is created as Git sources and additionally we include "envoy-v2.1" as below
sources.put("envoy-v2.1", Source.builder()
.builtin("envoy-v2.1")
.build());

"my-app" contains it's own system.log package. With "my-app" sources and "envoy-v2.1" source added as requirements, bundle building with the ocp ctl gives the following error.

requirement "my-app" contains conflicting package system.log - package system.log from "envoy-v2.1"

Is there a way that I can remove only the system.log package from "envoy-v2.1" ?

Tried with path() and prefix() approach to prefix the system.log with something else. But if I specify .path("system.log") in the requirement, it drops all the other paths that I actually need but just don't want to prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions