Skip to content

Expose arch in Python bindings #91

@alebastr

Description

@alebastr

I'm trying to write a Python code that traverses the Fedora comps and writes a list of packages for the groups, grouping the packages by supported architectures (an update for comps-sync.py in Fedora's workstation-ostree-config).

The data we need, <packagereq arch="..." and <groupid arch="..." attributes are not exposed through the Python bindings. Would it be possible to add support for that?


I've tried to write the necessary bindings myself, but I lack the python C API knowledge required to debug a few remaining crashes. I can send a draft PR, but IMO it would be better if someone familiar with the codebase could work on that.

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