You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
That will probably work according to the getbinaries usage:
usage:
osc getbinaries REPOSITORY # works in checked out project/package (check out all archs in subdirs)
osc getbinaries REPOSITORY ARCHITECTURE # works in checked out project/package
osc getbinaries PROJECT REPOSITORY ARCHITECTURE
osc getbinaries PROJECT PACKAGE REPOSITORY ARCHITECTURE
osc getbinaries PROJECT PACKAGE REPOSITORY ARCHITECTURE FILE
I'd like not to have to enter PROJECT and PACKAGE when "in checked out project/package". If I can get _statistics for allREPOSITORY and ARCHITECTURE combinations, without separate commands, that would be great too. Other commands like checkconstraints work simply when "in checked out project/package", for example.
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 onbuild.opensuse.org
. I useosc 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
togetbinaries
, 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.The text was updated successfully, but these errors were encountered: