Skip to content

Get just the _statistics file(s) #1678

@bberberov

Description

@bberberov

Is your feature request related to a problem? Please describe.
I'm looking for a simpler way to download the _statistics file(s) after a build is completed on build.opensuse.org. I use osc getbinaries, but most of the time I just want to look at the _statistics without downloading gigabytes.

Describe the solution you'd like
I looked at the code a little, and I'm thinking of two possibilities:

  1. It seems relatively simple to add something like --stats-only to getbinaries, but I'm not confident enough to propose a patch at this time.

  2. It may make more sense to create a getstatistics sub-command instead, that just gets all _statistics for all configured repos for the package. That way I don't have to lookup what repos and arches are configured for the package, since the files are usually very small.

Describe alternatives you've considered
I looked a little but at using osc api, but I don't want to specify all the necessary options, when I'm already in the directory of a locally checked out package.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions