You are not logged in.

#51 2010-09-27 14:34:40

marfig
Member
From: Portugal
Registered: 2010-07-30
Posts: 189
Website

Re: pkgstats round two: take your vote and help improving Arch

When I mentioned votes, I was talking about voting for package priority within a user's system. Not voting for the things we like most, but the things we require most.

A script to compile installed packages and allow the user to cast a vote on some or all of them. And that's the data that would be sent. As such the user would indicate, within their installed packages, which ones he considers crucial. Statistics could still be elaborated normally, and cast votes would weight on each package (on a separate statistic if you wanted).

Anyways, just to clarify that's what I was thinking about votes. Not voting for favorite packages, although one can say it would partially reflect that.


I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal

Offline

#52 2010-09-27 14:45:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pkgstats round two: take your vote and help improving Arch

marfig wrote:

When I mentioned votes, I was talking about voting for package priority within a user's system. Not voting for the things we like most, but the things we require most.

A script to compile installed packages and allow the user to cast a vote on some or all of them. And that's the data that would be sent. As such the user would indicate, within their installed packages, which ones he considers crucial. Statistics could still be elaborated normally, and cast votes would weight on each package (on a separate statistic if you wanted).

Anyways, just to clarify that's what I was thinking about votes. Not voting for favorite packages, although one can say it would partially reflect that.

The question remains: what would high votecount mean? That developers are _required_ to do sth? I don't see that happening. That the community thinks it's important? We already have votes in the bugtracker for bugs and feature requests. Just as a loaded gun beats four aces, a patch may mean more than hundreds of votes.

Apart from testing something, I don't install packages I don't need. Which is more important: vim, xorg-server or firefox?

Offline

#53 2010-09-27 17:47:12

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: pkgstats round two: take your vote and help improving Arch

One thing that's always slightly bugged me about pkgstats is that I have quite a lot of packages installed that I don't use much (I tend to be lazy and only remove things if I need the space), and I wonder how many others are the same, leading to "false" readings. But I think Allan answered that one: it's as much about what people don't install as what they do. What's the point in devs maintaining packages in [extra] if they're never used?

Stats submitted. smile


0 Ok, 0:1

Offline

#54 2010-09-27 19:24:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pkgstats round two: take your vote and help improving Arch

I'm installing, testing and uninstalling, so there's less chance of me submitting apps I don't actually use, thus my heroic behavior helps the devs from spreading themselves too thin.

Offline

#55 2010-09-28 01:31:07

RetroX
Member
Registered: 2009-10-17
Posts: 106

Re: pkgstats round two: take your vote and help improving Arch

Snowman wrote:
RetroX wrote:

It would be nice if it tracked AUR/unknown repo packages as well, though.

It does.

I have no clue how I didn't notice that.

One thing that I do find quite odd:
pacman: 99.85 %

How would they even install packages in the first place?

Offline

#56 2010-09-28 01:33:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pkgstats round two: take your vote and help improving Arch

RetroX wrote:

How would they even install packages in the first place?

./configure && make && make install

Offline

#57 2010-09-28 01:44:17

RetroX
Member
Registered: 2009-10-17
Posts: 106

Re: pkgstats round two: take your vote and help improving Arch

karol wrote:
RetroX wrote:

How would they even install packages in the first place?

./configure && make && make install

That's not installing packages with a package manger; it's just building them and copying the files into the root filesystem.  They probably use the same terminology, but that's not what I meant.

Offline

#58 2010-09-28 01:48:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pkgstats round two: take your vote and help improving Arch

RetroX wrote:
karol wrote:
RetroX wrote:

How would they even install packages in the first place?

./configure && make && make install

That's not installing packages with a package manger; it's just building them and copying the files into the root filesystem.  They probably use the same terminology, but that's not what I meant.

That's installing pacman :-)

Offline

#59 2010-09-28 01:58:09

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: pkgstats round two: take your vote and help improving Arch

RetroX wrote:
karol wrote:
RetroX wrote:

How would they even install packages in the first place?

./configure && make && make install

That's not installing packages with a package manger; it's just building them and copying the files into the root filesystem.  They probably use the same terminology, but that's not what I meant.

They probably use pacman-git.

Offline

#60 2010-09-28 02:06:18

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

Re: pkgstats round two: take your vote and help improving Arch

Snowman wrote:

They probably use pacman-git.

That would be Toofishes (Dan).

Offline

#61 2010-09-28 07:37:26

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

Re: pkgstats round two: take your vote and help improving Arch

Or use an alternative package manager like clyde.  There are probably more.


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

Offline

#62 2010-09-28 07:43:10

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

Re: pkgstats round two: take your vote and help improving Arch

Dieter@be wrote:

Or use an alternative package manager like clyde.  There are probably more.

Clyde depends on libalpm which in the pacman package.

Offline

#63 2010-09-28 07:47:00

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

Re: pkgstats round two: take your vote and help improving Arch

Allan wrote:
Dieter@be wrote:

Or use an alternative package manager like clyde.  There are probably more.

Clyde depends on libalpm which in the pacman package.

Hmm, you sure?

[root@dieter-ws-a7n8x-arch ~]# clyde -Rs pacman
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: aif: requires pacman
:: package-query: requires pacman
:: pacman-contrib: requires pacman
:: pkgstats: requires pacman
:: yaourt: requires pacman>=3.3.3
[root@dieter-ws-a7n8x-arch ~]# pacman -Qi clyde-git | grep Depends
Depends On     : lua-lzlib  lua-yajl-git  luasocket  luafilesystem
[root@dieter-ws-a7n8x-arch ~]# 

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

Offline

#64 2010-09-28 07:48:24

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

Re: pkgstats round two: take your vote and help improving Arch

Yes...  it is a libalpm wrapper.  It is amusing that a package manager does not have correct deps! big_smile

Offline

#65 2010-09-28 07:56:32

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

Re: pkgstats round two: take your vote and help improving Arch

Allan wrote:

Yes...  it is a libalpm wrapper.  It is amusing that a package manager does not have correct deps! big_smile

Seems like you're right

[root@dieter-ws-a7n8x-arch ~]# clyde -Rs --nodeps pacman
warning: pacman is designated as a HoldPkg.
HoldPkg was found in target list. Do you want to continue? [y/N] y

Remove (3): pacman-3.4.1-1  pacman-mirrorlist-20100825-1  libfetch-2.33-1  

Total Removed Size:   2.37 MB

Do you want to remove these packages? [Y/n] 
(1/3) removing pacman                              [###########################################################################################################################################################################################################################] 100%
warning: /etc/pacman.conf saved as /etc/pacman.conf.pacsave
warning: /etc/makepkg.conf saved as /etc/makepkg.conf.pacsave
warning: /etc/pacman.d/mirrorlist saved as /etc/pacman.d/mirrorlist.pacsave
(2/3) removing pacman-mirrorlist                   [###########################################################################################################################################################################################################################] 100%
(3/3) removing libfetch                            [###########################################################################################################################################################################################################################] 100%
[root@dieter-ws-a7n8x-arch ~]# clyde -Syu
lua: error loading module 'lualpm' from file '/usr/lib/lua/5.1/lualpm.so':
    libalpm.so.5: cannot open shared object file: No such file or directory
stack traceback:
    [C]: ?
    [C]: in function 'require'
    /usr/share/lua/5.1/clydelib/util.lua:2: in main chunk
    [C]: in function 'require'
    /usr/bin/clyde:5: in main chunk
    [C]: ?

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

Offline

#66 2010-09-28 09:33:26

DaNiMoTh
Member
Registered: 2006-06-10
Posts: 260

Re: pkgstats round two: take your vote and help improving Arch

Pierre, if you want make standalone script, please see [1]. It was my try to get a counter without things of archlinux.de, maybe it can help.

It is currently running on http://danimoth.archlinuxppc.org/arconte, and haven't all the feature that pkgstats has, but maybe it is a good start point.



[1] http://github.com/kronat/arconte

Offline

#67 2010-09-28 10:32:16

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

Re: pkgstats round two: take your vote and help improving Arch

It'll most likely get more complex. ;-) But I could implement it in a way to make it easy to reuse for other arch-related projects.

Offline

#68 2010-09-29 10:04:07

PUE
Member
From: Earth/Europe/Austria
Registered: 2009-05-09
Posts: 51

Re: pkgstats round two: take your vote and help improving Arch

Neat stuff!
But the stuff should be read with a barrel of salt.
Installation base doesn't really tell you much about popularity.

Take the 90+% of gstreamer.
Gstreamer is on top of the list and hence the most popular multimedia player, right? Wrong. libwebkit depends on it, and hence about half of the webbrowsers. I'd like to argue that the web browsers are the main reason for why people have gstreamer installed.

Yes, this is an example from the fun part of the statistics, but it holds true for lots of other stuff as well. Why is avahi installed on 90+% of the machines? Because the package maintainer configured cups and sane to link against avahi.

Simply put, the reason why a lot of stuff is 'popular' is not because the stuff is popular but because something depends on it, be it a necessary dependency or not. It's something to be kept in mind, imho.

The approach of moving stuff with almost no install base to repos lower in the maintenance chain and vice versa sounds sane to me though, for this task the statistics make sense.

Offline

#69 2010-09-29 10:11:39

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: pkgstats round two: take your vote and help improving Arch

Gstreamer is on top of the list and hence the most popular multimedia player, right? Wrong. libwebkit depends on it, and hence about half of the webbrowsers. I'd like to argue that the web browsers are the main reason for why people have gstreamer installed.

It's not a mediaplayer, it is a multimedia framework - and besides browsers, is pulled in by gnome.

But in general, I trust the people who check this data to be aware of the dependencies.

Offline

#70 2010-09-29 10:47:15

PUE
Member
From: Earth/Europe/Austria
Registered: 2009-05-09
Posts: 51

Re: pkgstats round two: take your vote and help improving Arch

hokasch wrote:

Gstreamer is on top of the list and hence the most popular multimedia player, right? Wrong. libwebkit depends on it, and hence about half of the webbrowsers. I'd like to argue that the web browsers are the main reason for why people have gstreamer installed.

It's not a mediaplayer, it is a multimedia framework - and besides browsers, is pulled in by gnome.

I know they call it a framework but I don't see a big difference between gstreamer and the other media players, each can be used as backend, each one has frontends, they are all mainly used for reproducing multimedia, they are media players.

But in general, I trust the people who check this data to be aware of the dependencies.

I sure hope so, that install base doesn't necessarily mean popularity but can also mean dependency is definitely something to be kept in mind. With the AUR the situation is slightly different, but largely depends on how people use the AUR. I guess AUR helpers, probably not deliberately, encourage the usage of AUR PKGBUILDs without modification, which would result in the same dependency problem.

I think there are nice tools that help with viewing relations between packages and I hope they'll be used. Until dynamic linking finds wider usage and most dependencies can be made optdepends we'll have to deal with issues arising from buildtime dependencies.

Offline

#71 2010-09-30 09:28:56

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: pkgstats round two: take your vote and help improving Arch

PUE wrote:

Installation base doesn't really tell you much about popularity.

You just work in reverse if the package in question is more of a dependency than a program that can be "used". GStreamer is definitely not something you would use/run directly, unlike MPlayer. In MPlayer's case, it is both a dependency and a popular program. However, a popular dependency which does not necessarily have a practical use-case is _still_ popular, because in the end you have to take care of it if the parent popular package needs it. As such, purpose is served.

Last edited by schivmeister (2010-09-30 09:29:45)


I need real, proper pen and paper for this.

Offline

#72 2010-09-30 15:16:28

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: pkgstats round two: take your vote and help improving Arch

Well, I think installing pkgstats is the least one can do for helping developers if they 'waste' lots of hours and efforts on maintaining those packages for us common users. So it's installed on one more PC.

Offline

#73 2010-10-02 03:08:46

RetroX
Member
Registered: 2009-10-17
Posts: 106

Re: pkgstats round two: take your vote and help improving Arch

PUE wrote:

Simply put, the reason why a lot of stuff is 'popular' is not because the stuff is popular but because something depends on it, be it a necessary dependency or not. It's something to be kept in mind, imho.

If this is the case, whether or not that a package was installed explicitly or as a dependency should be tracked as well.

Offline

#74 2010-10-02 03:53:15

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: pkgstats round two: take your vote and help improving Arch

Heh, this helped me weed out some unnecessary packages from core that i had installed, just check what the rest of the folks have uninstalled.

How the hell can one of the participants not have pkgstats installed? And another doesn't have pacman...

Offline

#75 2010-10-02 07:54:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pkgstats round two: take your vote and help improving Arch

hatten wrote:

And another doesn't have pacman...

https://bbs.archlinux.org/viewtopic.php … 75#p832175

Offline

Board footer

Powered by FluxBB