Hi,
is it possible to fetch download statistics of a specific project only using the OBS API?
I don't see anything in https://api.opensuse.org/apidocs/
2009/3/5 Carsten Hoeger choeger@opensuse.org:
Hi,
is it possible to fetch download statistics of a specific project only using the OBS API?
I don't see anything in https://api.opensuse.org/apidocs/
Globaly, no i asked it few time :-)
-- With best regards,
Carsten Hoeger
On Thu, Mar 05, Petit Eric wrote:
is it possible to fetch download statistics of a specific project only using the OBS API?
I don't see anything in https://api.opensuse.org/apidocs/
Globaly, no i asked it few time :-)
As obs already HAS counters internally, it should not to difficult to query them.
Now that I did some queries and had a look at the counters, they seem to be very low.
E.g.:
<count package="wine" architecture="i586" version="0.9.37" filetype="rpm" filename="wine" release="12.1" project="Emulators:Wine" repository="SLE-10"> 691 </count>
Is that an overall number or just per day? Are these counters reliable at all?
2009/3/5 Carsten Hoeger choeger@opensuse.org:
On Thu, Mar 05, Petit Eric wrote:
is it possible to fetch download statistics of a specific project only using the OBS API?
I don't see anything in https://api.opensuse.org/apidocs/
Globaly, no i asked it few time :-)
As obs already HAS counters internally, it should not to difficult to query them.
Now that I did some queries and had a look at the counters, they seem to be very low.
E.g.:
<count package="wine" architecture="i586" version="0.9.37" filetype="rpm" filename="wine" release="12.1" project="Emulators:Wine" repository="SLE-10"> 691
</count>
what is the GET REST query you used to get this xml outpu ? (https://api.opensuse.org/............ ?)
Is that an overall number or just per day? Are these counters reliable at all?
-- With best regards,
Carsten Hoeger
On Thu, Mar 05, Petit Eric wrote:
is it possible to fetch download statistics of a specific project only using the OBS API?
I don't see anything in https://api.opensuse.org/apidocs/
Globaly, no i asked it few time :-)
As obs already HAS counters internally, it should not to difficult to query them.
Now that I did some queries and had a look at the counters, they seem to be very low.
E.g.:
<count package="wine" architecture="i586" version="0.9.37" filetype="rpm" filename="wine" release="12.1" project="Emulators:Wine" repository="SLE-10"> 691
</count>
what is the GET REST query you used to get this xml outpu ? (https://api.opensuse.org/............ ?)
curl -u USERNAME:PASSWORD \ 'https://api.opensuse.org/statistics/download_counter'
or
curl -u USERNAME:PASSWORD \ 'https://api.opensuse.org/statistics/download_counter?limit=NNN'
Carsten Hoeger schrieb:
On Thu, Mar 05, Petit Eric wrote:
is it possible to fetch download statistics of a specific project only using the OBS API?
I don't see anything in https://api.opensuse.org/apidocs/
Globaly, no i asked it few time :-)
As obs already HAS counters internally, it should not to difficult to query them.
Now that I did some queries and had a look at the counters, they seem to be very low.
E.g.:
<count package="wine" architecture="i586" version="0.9.37" filetype="rpm" filename="wine" release="12.1" project="Emulators:Wine" repository="SLE-10"> 691
</count>
Is that an overall number or just per day? Are these counters reliable at all?
That's the overall number, but the statistics updater has been offline/unmaintained for quite some time now. The numbers are most certainly wrong.
On 3/5/2009 at 12:01, Andreas Bauer abauer@suse.de wrote:
<count package="wine" architecture="i586" version="0.9.37" filetype="rpm" filename="wine" release="12.1" project="Emulators:Wine" repository="SLE-10"> 691
</count>
That's the overall number, but the statistics updater has been offline/unmaintained for quite some time now. The numbers are most certainly wrong.
I sure hope they are wrong ;) Wine has been moving up to 1.1.16 or so by now.. so having statistics on how it looked at 0.9.xx does not sound very interesting anymore.
BTW Carsten: the link you posted gives me only results for Wine and some mozilla. I hope it's note all that is being downloaded from OBS.
Dominique
On Thu, Mar 05, Dominique Leuenberger wrote:
<count package="wine" architecture="i586" version="0.9.37" filetype="rpm" filename="wine" release="12.1" project="Emulators:Wine" repository="SLE-10"> 691
</count>
That's the overall number, but the statistics updater has been offline/unmaintained for quite some time now. The numbers are most certainly wrong.
I sure hope they are wrong ;) Wine has been moving up to 1.1.16 or so by now.. so having statistics on how it looked at 0.9.xx does not sound very interesting anymore.
BTW Carsten: the link you posted gives me only results for Wine and some mozilla. I hope it's note all that is being downloaded from OBS.
You need to set a higher value of the limit parameter.
On Thu, Mar 05, 2009 at 12:01:39PM +0100, Andreas Bauer wrote:
Carsten Hoeger schrieb:
On Thu, Mar 05, Petit Eric wrote:
is it possible to fetch download statistics of a specific project only using the OBS API?
I don't see anything in https://api.opensuse.org/apidocs/
Globaly, no i asked it few time :-)
As obs already HAS counters internally, it should not to difficult to query them.
Now that I did some queries and had a look at the counters, they seem to be very low.
E.g.:
<count package="wine" architecture="i586" version="0.9.37" filetype="rpm" filename="wine" release="12.1" project="Emulators:Wine" repository="SLE-10"> 691
</count>
Is that an overall number or just per day? Are these counters reliable at all?
That's the overall number, but the statistics updater has been offline/unmaintained for quite some time now. The numbers are most certainly wrong.
Yes, they must be very wrong. The last analysis on the raw data was probably a year old or two ago? Also, the logging of the raw data has been very spotty for periods, which nobody noticed because the data was never accessible. I actually stopped logging a while ago because the data is not used at all, and incorrect enough to suggest a fresh start when we intend to resurrect this.
Peter
On Fri, Mar 06, Peter Pöml wrote:
That's the overall number, but the statistics updater has been offline/unmaintained for quite some time now. The numbers are most certainly wrong.
Yes, they must be very wrong. The last analysis on the raw data was probably a year old or two ago? Also, the logging of the raw data has been very spotty for periods, which nobody noticed because the data was never accessible. I actually stopped logging a while ago because the data is not used at all, and incorrect enough to suggest a fresh start when we intend to resurrect this.
I'd at least completely remove that feature at least in the GUI. Better to show no stats then wrong stats.
Carsten Hoeger schrieb:
On Fri, Mar 06, Peter Pöml wrote:
That's the overall number, but the statistics updater has been offline/unmaintained for quite some time now. The numbers are most certainly wrong.
Yes, they must be very wrong. The last analysis on the raw data was probably a year old or two ago? Also, the logging of the raw data has been very spotty for periods, which nobody noticed because the data was never accessible. I actually stopped logging a while ago because the data is not used at all, and incorrect enough to suggest a fresh start when we intend to resurrect this.
I'd at least completely remove that feature at least in the GUI. Better to show no stats then wrong stats.
I agree. Link removed.
buildservice@lists.opensuse.org