[opensuse-buildservice] Download statistics of a specific project?
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/ -- With best regards, Carsten Hoeger
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
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@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> Is that an overall number or just per day? Are these counters reliable at all? -- With best regards, Carsten Hoeger
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
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@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/............ ?)
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' -- With best regards, Carsten Hoeger
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. -- Andreas Bauer SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nürnberg -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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. -- With best regards, Carsten Hoeger
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 -- Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure SUSE LINUX Products GmbH Research & Development
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. -- With best regards, Carsten Hoeger
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. -- Andreas Bauer SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nürnberg -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (5)
-
Andreas Bauer
-
Carsten Hoeger
-
Dominique Leuenberger
-
Peter Poeml
-
Petit Eric