Skip to content

Allow xattr components to target existing repo namespaces #65

Description

@p5

When using user.component xattr to tag files that are generated at install time (e.g. .pyc bytecode), I would like to group those files in the parent RPM that created it, however chunkah always places xattr-claimed files into the xattr/ namespace, creating a separate component from the RPM-owned files.

For example
The google-cloud-cli RPM generates 200ish MB of .pyc files at install time, which is not "owned" by the RPM. They will be updated together, so should ideally be in the same component & layer.

If we allowed the user.component to include a repo prefix, e.g. "rpm/google-cloud-cli", and this would be joined into an RPM component of that name. I think it's pretty safe that, if a component name includes "rpm/" or "apt/" etc, that the user would want this behaviour.

Would also help (though not the perfect solution for) #35

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions