K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / doc / popularity-contest / examples /
server ip : 104.21.89.46

your ip : 172.70.131.107

H O M E


Filename/usr/share/doc/popularity-contest/examples/README.examples
Size1.37 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified13-May-2013 17:49
Last accessed07-Jul-2025 02:42
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image

This directory contains some scripts used to post-process popularity-contest
entries. You should have a lot of submissions from different users (at
least 100 of them, if possible) for these results to be valid.

To collect results, use procmail or some other mail alias to e-mail
submissions to a file called, say, new-popcon-entries.

You should run popcon-process.sh once a day, or so. It calls prepop.pl to
split the mailbox file into a directory (popcon-entries) with one file per
submission, and only one submission per participant. (Since each
participant makes a submission only once per day, it's very important to
remove duplicates.)

HINT: if you have an account on popcon.debian.org, you can find a pre-processed
popcon-entries directory in /org/popcon.debian.org/popcon-mail. Feel free to
use these files to generate your own statistics.

Now you can do, for example:

cat popcon-entries/*/* | popanal.py

which creates a file named results. Output lines look like this:

<name> <vote> <old> <recent-ctime> <no-files>

<name> is the package name;
<vote> is the number of people who use this package regularly;
<old> is the number of people who installed, but don't use this package
regularly;
<recent-ctime> is the number of people who upgraded this package recently;
<no-files> is the number of people whose entry didn't contain enough
information (atime and ctime were 0).