- Add a test suite
There is currently no kind of test suite or regression tests. Something like
that is badly needed.
+ - separate directories (bin, config, ...)
+ - make NewsStats installable in accordance with LFS and customary procedures,
+ i.e. scripts to /usr/local/news/bin or /usr/lib/news/bin, configuration
+ to /usr/local/news/etc or /etc/news and so on
* Additional features
- Add hierarchy information (GroupInfo - Bugs #19 #20 #21 #22 #23 #24 #25 #26)
* Individual improvements
+ NewsStats.pm
- - Add error handling when reading config (Bug #13)
- NewsStats should check if all mandatory options are set. Some syntax or
- content related checks would be in order.
+ - Improve error handling when reading config
+ Some syntax or content related checks would be in order.
Some other tests - working database connection, valid database and table
names - would be nice.
+ install/install.pl
- - Complete rewrite (like groupstats.pl, include changes in NewsStats.pm)
+ - Read current version from a file dropped and updated by installer
- Add / enhance / test error handling
- General tests and optimisations
+ feedlog.pl
- - Complete rewrite (like groupstats.pl, include changes in NewsStats.pm)
- - Gracefully handle interruptions to database connection, at least log
- lost postings (Bug #30).
- - Buffer output that cannot be written to database (Bug #31).
- Add / enhance / test error handling
- General tests and optimisations