~abone/ubuntu/natty/popularity-contest/fix-742017

« back to all changes in this revision

Viewing changes to README.examples

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-07-21 17:46:13 UTC
  • mfrom: (1.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050721174613-u3xtfc8ch68rwtwu
Tags: 1.30ubuntu1
* Resynchronise with Debian.
* debian/config: Default USEHTTP to true on upgrades.
* popcon-upload-ubuntu: Replace ubuntulinux.org with ubuntu.com.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
To collect results, use procmail or some other mail alias to e-mail
7
7
submissions to a file called, say, new-popcon-entries.
8
8
 
9
 
You should run popcon-process.sh once a day, or so.  It calls prepop.py to
 
9
You should run popcon-process.sh once a day, or so.  It calls prepop.pl to
10
10
split the mailbox file into a directory (popcon-entries) with one file per
11
11
submission, and only one submission per participant.  (Since each
12
12
participant makes a submission only once per day, it's very important to
13
13
remove duplicates.)
14
14
 
15
 
HINT: if you have an account on master.debian.org, you can find a
16
 
pre-processed popcon-entries directory in /home/apenwarr.  Feel free to use
17
 
these files to generate your own statistics.
 
15
HINT: if you have an account on popcon.debian.org, you can find a pre-processed
 
16
popcon-entries directory in /org/popcon.debian.org/popcon-mail.  Feel free to
 
17
use these files to generate your own statistics.
18
18
 
19
19
Now you can do, for example:
20
20
 
21
21
        cat popcon-entries/*/* | popanal.py
22
22
        
23
 
which creates a bunch of files named results.soemthing-or-other, with one
24
 
"results" file per Debian package section.  Output lines look like this:
 
23
which creates a file named results.  Output lines look like this:
25
24
 
26
25
   <name> <vote> <old> <recent-ctime> <no-files>
27
26