You are not logged in.

#1 2008-11-07 01:59:20

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

pkgstats: contribution was never that easy

Annoying bug you filed not fixed? Waiting on a package to be updated? If only there was some way you could help out and improve everybody's favourite Linux distribution... (in case you are wondering, I mean Arch).

Wait! There is! Just install the pkgstats package (pacman -Sy pkgstats), run the /usr/bin/pkgstats script as a user and help the Arch developers prioritize their efforts. Come on, all the cool kids are doing it. You can be like them!


Edit: This script only submits a list of installed packages and your architecture. In addition to this a hash of your IP is logged to ensure that not only one man is able to make the whole statistics useless.

As of version 1.0-2 the -h parameter is supported and will show you some information. (the script itself does the same as before) Of course there will be a site with some stats.

In an ideal world one would run the script only once per installation or if really lot of things have changed (not the version of packages). For example if you uninstalled Gnome and installed KDE.

See the source of simple bash script located at /usr/bin/pkgstats if you really want to know what it does. The data are sent to the following script running at archlinux.de: http://git.archlinux.de/www.archlinux.d … geList.php

Last edited by Pierre (2008-11-07 12:08:43)

Offline

#2 2008-11-07 02:07:23

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: pkgstats: contribution was never that easy

Good, idea, that! Will we also get to see some stats generated from this? Sounds interesting.

Also, what exactly is collected? Just the list of packages installed, or anything else?

Offline

#3 2008-11-07 02:13:21

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pkgstats: contribution was never that easy

Yes, of course. There will be some funky stats later. For now it only sends the architecture you use and a lsit of all installed packages. See the script: # less /usr/bin/pkgstats

Offline

#4 2008-11-07 02:51:04

lamnk
Member
Registered: 2008-01-30
Posts: 65
Website

Re: pkgstats: contribution was never that easy

lamnk@smith:~% pacman -Sy pkgstats
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
pkgstats package not found, searching for group...
error: 'pkgstats': not found in sync db

It's still not there ?

Offline

#5 2008-11-07 02:57:33

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: pkgstats: contribution was never that easy

Stickied!

Offline

#6 2008-11-07 03:48:40

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: pkgstats: contribution was never that easy

$ pkgstats --help
Thanks for your submission. :-)

Heh, alright then.


I am a gated community.

Offline

#7 2008-11-07 04:24:32

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,229
Website

Re: pkgstats: contribution was never that easy

lamnk wrote:
lamnk@smith:~% pacman -Sy pkgstats
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
pkgstats package not found, searching for group...
error: 'pkgstats': not found in sync db

It's still not there ?

Mirror not syc'ed I'd guess. I had to -Sy (since last night) so it's definately very fresh package - try a different mirror.

Offline

#8 2008-11-07 04:27:47

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,229
Website

Re: pkgstats: contribution was never that easy

$ pkgstats 
Failure: You allready submitted your package list via 202.14.166.251 at Fri, 07 Nov 2008 04:21:49 +0100.
         You are blocked until Sat, 08 Nov 2008 04:21:49 +0100

Fail. I have an Arch desktop and laptop at work through the same router. And a Desktop, Server and second Laptop at home through the same router sad

Can it be made unique using `ip-address + hostname`?

(and 'already' only has 1 L smile)

Last edited by fukawi2 (2008-11-07 04:28:46)

Offline

#9 2008-11-07 04:52:33

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: pkgstats: contribution was never that easy

fukawi2 wrote:
$ pkgstats 
Failure: You allready submitted your package list via 202.14.166.251 at Fri, 07 Nov 2008 04:21:49 +0100.
         You are blocked until Sat, 08 Nov 2008 04:21:49 +0100

Fail. I have an Arch desktop and laptop at work through the same router. And a Desktop, Server and second Laptop at home through the same router sad

Can it be made unique using `ip-address + hostname`?

(and 'already' only has 1 L smile)

No, because IP address is the only thing we can reliably discriminate submissions on that isn't user provided.

If you really want to be helpful, you can submit one of your machines each day. But there should be enough info out there from all the submissions that we will get the big picture, even if you can't submit all of your individual machines.

Offline

#10 2008-11-07 05:45:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,477
Website

Re: pkgstats: contribution was never that easy

I wanted to call this galpus (Great Arch Linux Package Usage Survey) but it sounds kinda bad...

Anyway, I am already seeing some cool stats here.  E.g. currently 85 i686 user have submitted and 24 x86_64.  So thats 3.5 times as many i686 users.  Still early days but I am going to find this interesting!  A statisticians dream!

Offline

#11 2008-11-07 05:46:57

mentallaxative
Member
From: Australia
Registered: 2008-07-14
Posts: 134
Website

Re: pkgstats: contribution was never that easy

This is a really good idea! I'd love to see the statistics when everyone has submitted.

Offline

#12 2008-11-07 06:09:32

Eldomir
Member
Registered: 2005-03-10
Posts: 11

Re: pkgstats: contribution was never that easy

Excellent news! Thank you. I can't wait to read more about it (man, --help when they're ready) and to see our stats smile

Offline

#13 2008-11-07 08:23:47

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: pkgstats: contribution was never that easy

Wasn't archstats a bit more sophisticated? Why not stick to that?

Offline

#14 2008-11-07 08:27:18

catwell
Member
From: Bretagne, France
Registered: 2008-02-20
Posts: 207
Website

Re: pkgstats: contribution was never that easy

Great idea. It's sad that it's relying on IP addresses though, because for example in my school we're all behind a NAT (which means one IP address for everybody)... It must be the same for a lot of other people too.

Yet, I understand that the problem comes from our school who chose not to give us public addresses and not from you, it's the same when we get banned from Battle.net...

Offline

#15 2008-11-07 08:36:14

jordz
Member
Registered: 2006-02-01
Posts: 250

Re: pkgstats: contribution was never that easy

I submitted my server and laptop smile Is there going to be a public site to view the stats or is it going to be build in pkgstats?
Looking forward to the stats!

Offline

#16 2008-11-07 09:18:39

Lord Illidan
Member
From: Malta
Registered: 2007-10-25
Posts: 248

Re: pkgstats: contribution was never that easy

Submitted my laptop. Very good idea, thanks!

Offline

#17 2008-11-07 10:50:48

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: pkgstats: contribution was never that easy

Alright, I have updated the orignal post with some more detailed information.

Offline

#18 2008-11-07 11:13:26

xcession
Member
From: Udon Thani, Thailand
Registered: 2008-05-07
Posts: 72
Website

Re: pkgstats: contribution was never that easy

submited my dev-serv pc and my eeepc... smile

Offline

#19 2008-11-07 11:55:03

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: pkgstats: contribution was never that easy

Thanks for your submission. :-)

you're welcome.

I'm curious for the frontend to see the stats.  And maybe we can integrate the numbers into flyspray.. ooh..

Last edited by Dieter@be (2008-11-07 11:55:20)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#20 2008-11-07 12:02:58

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: pkgstats: contribution was never that easy

Since it looks like a proposition nobody's likely to turn down, we are going to have something like a real count of users/installations, aren't we?

Offline

#21 2008-11-07 12:10:11

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: pkgstats: contribution was never that easy

I only installed i686 by mistake (wrong installation CD), so don't neglect x64 because there are more i686 users. wink

Submitted laptop, tomorrow I'll submit my desktop.

Offline

#22 2008-11-07 12:18:27

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,477
Website

Re: pkgstats: contribution was never that easy

Not everyone will see this or submit there results so the total numbers will provide us an indication of the number of installs, but an indication is all.  What it will tell us is the popularity of various packages and allow us to assess the popularity of the packages in the repos/unsupported and to focus our efforts.

FYI - 374 submissions so far

Offline

#23 2008-11-07 12:31:34

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: pkgstats: contribution was never that easy

It would be a good idea if rather than using IP addresses you could setup an account for each person and then have multiple machines per account.  That way you could obtain greater usage statistics (installed machine base for example) and also to allow more detailed analysis over time, for example do people have different desktop environments installed on their desktops as compared laptops for example.

Sounds very interesting though nonetheless, and I'd be very interested in the results, and am quite happy to donate time to analysing the results if you want smile

Offline

#24 2008-11-07 12:32:29

sparky
Member
From: Minnesota, USA
Registered: 2008-07-29
Posts: 15

Re: pkgstats: contribution was never that easy

Just a suggestion building on what's been said before...perhaps data could also be submitted for hostname *and*, say, username for the forums?

This way, you're much more likely to uniquely identify a user and machine, which could easily be used to keep the stats fresh. I'm not suggesting any complicated back-end programming to verify passwords or usernames, just a prompt when the script is run, based on the honor system.

Now you could collect more meaningful stats for Archers running multiple machines with different package sets (laptop vs. server, which may show up under the same public IP, possibly leaving one disregarded with IP only identification), and also give insight when a user does something like switch WM's. You could also see that if sparky re-submits stats for hostname 'smak', that the older data can be disregarded or refreshed.

For the sake of privacy, this data could probably be hidden from the general public, but available to those who could benifit from it (Dev's, TUs, etc).

Anyway, just my 2 cents, take it for what it's worth. big_smile

EDIT: SiC, you beat me to it by about a minute!! wink

Last edited by sparky (2008-11-07 12:33:03)

Offline

#25 2008-11-07 12:55:56

powerthunder
Member
From: Hellas
Registered: 2006-11-05
Posts: 18
Website

Re: pkgstats: contribution was never that easy

Very nice idea, soon I 'll submit my laptop. smile

Offline

Board footer

Powered by FluxBB