Skip to content

No bindings available for download-size #64

@joebonrichie

Description

@joebonrichie

PackageKit provides a variant of pk_backend_job_details() called pk_backend_job_details_full() which includes the download_size field

https://github.com/PackageKit/PackageKit/blob/v1.3.2/src/pk-backend-job.h#L198

This is not hooked up to the PackageKit-Qt bindings

https://github.com/PackageKit/PackageKit-Qt/blob/v1.1.4/src/details.h#L33

Note that not all backends support the pk_backend_job_details_full() variant see:

PackageKit/PackageKit#781

So some care will have to been taken in either this repo or downstream users to gracefully fallback

Making the the download_size field available will allow downstream users such as discover to show the Download Size for available packagekit updates

Example screenshot Image

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