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:
-
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.
-
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.
Is your feature request related to a problem? Please describe.
I'm looking for a simpler way to download the
_statisticsfile(s) after a build is completed onbuild.opensuse.org. I useosc getbinaries, but most of the time I just want to look at the_statisticswithout downloading gigabytes.Describe the solution you'd like
I looked at the code a little, and I'm thinking of two possibilities:
It seems relatively simple to add something like
--stats-onlytogetbinaries, but I'm not confident enough to propose a patch at this time.It may make more sense to create a
getstatisticssub-command instead, that just gets all_statisticsfor 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.