Complete rewrite of groupstats.pl and NewsStats.pm.
authorThomas Hochstein <thh@inter.net>
Wed, 2 May 2012 16:11:43 +0000 (18:11 +0200)
committerThomas Hochstein <thh@inter.net>
Fri, 12 Oct 2012 22:43:39 +0000 (00:43 +0200)
commitedd250f2652311094fff5ef352702af44f3a8a1b
treecae936e4347f2c2992dfbac32a70a808a7731a73
parent3c7a7dfef501708b721793885239472667a9d50e
Complete rewrite of groupstats.pl and NewsStats.pm.

* Switch to Getopt::Long, change coding style;
  limit line length.

* Replace 'die' and 'warn' by calls to &Bleat().

* Completely redo options and processing:
  - merge -m/-p/-a into --month
  - replace -i/-q/-d with - much more powerful -
    --group-by/--order-by
  - replace -t/-l with - much more powerful -
    --lower/--upper/--boundary
  - remove -b and replace it with --report

  Fixes #33.

* Add new report types, boundaries and sorting options:
  - report types 'average' and 'sums'
  - boundaries 'average' and 'sums'
  - upper and/or lower boundary
  - sort output independently

  Issue #35.
  Fixes #34, #38.

* Add possibility to cross-check newsgroups against
  checkgroups file.

* Complete rewrite of groupstats.pl internal logic:
  - modularize construction fo SQL queries
  - remove unnecessary special cases
  - refactor code into NewsStats.pm functions as much
    as possible

  Issue #37.
  Fixes #36.

* Rework output formats, fix padding problem by making use
  of modularized SQL queries.

  Fixes #15, #32.

* Add some more consistency checks.

  Issue #12.

* Redo documentation.

* Update TODO list.

Signed-off-by: Thomas Hochstein <thh@inter.net>
NewsStats.pm
doc/TODO
groupstats.pl
This page took 0.011652 seconds and 4 git commands to generate.