usenet/newsstats.git
9 years agogroupstats.pl: More input validation.
Thomas Hochstein [Sat, 18 Sep 2010 19:59:13 +0000 (21:59 +0200)] 
groupstats.pl: More input validation.

Set -o to 'pretty' for time periods.
Set -b to 10 if < 1.

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoAdd upgrade path.
Thomas Hochstein [Sat, 18 Sep 2010 17:02:46 +0000 (19:02 +0200)] 
Add upgrade path.

NewsStats.pm: Add $PackageVersion.

install.pl: Modularise program flow to subroutines.
            Add framework for database upgrade and
            upgrade instructions.

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoIntroduce end-of-line normalization and add .gitattributes.
Thomas Hochstein [Sat, 18 Sep 2010 16:45:20 +0000 (18:45 +0200)] 
Introduce end-of-line normalization and add .gitattributes.

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoAdd comments and POD.
Thomas Hochstein [Fri, 17 Sep 2010 19:53:59 +0000 (21:53 +0200)] 
Add comments and POD.

Add comments NewsStats.pm
Add POD to install.pl
Add POD to feedlog.pl
Add POD and comments to gatherstats.pl
Add POD and comments to groupstats.pl, beautify code

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoAdd documentation.
Thomas Hochstein [Fri, 17 Sep 2010 19:16:51 +0000 (21:16 +0200)] 
Add documentation.

Add doc/
Add doc/README
Add doc/INSTALL

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agogroupstats.pl: Add handling of incompatible command line options.
Thomas Hochstein [Sat, 18 Sep 2010 00:12:58 +0000 (02:12 +0200)] 
groupstats.pl: Add handling of incompatible command line options.

-t/-l/-b are incompatible. Print warning, let -l take precedence
over -t and -b over both.

-q/-d are incompatible with -l and -b. Print warning, ignore
them.

For -l, only -o 'pretty' makes sense. Force that.

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoinstall.pl: Fix chdir.
Thomas Hochstein [Fri, 17 Sep 2010 21:04:46 +0000 (23:04 +0200)] 
install.pl: Fix chdir.

Don't use path from current working directory, use path
relative to $0 instead.

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoNewsStats.pm: Warn when -p takes precedence over -m.
Thomas Hochstein [Fri, 17 Sep 2010 20:26:56 +0000 (22:26 +0200)] 
NewsStats.pm: Warn when -p takes precedence over -m.

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoAdd .gitignore
Thomas Hochstein [Fri, 17 Sep 2010 12:29:29 +0000 (14:29 +0200)] 
Add .gitignore

Ignore tools/, tools/* and newsstats.conf.

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoInitial checkin of working branch.
Thomas Hochstein [Fri, 17 Sep 2010 11:50:58 +0000 (13:50 +0200)] 
Initial checkin of working branch.

Checkin of
- NewsStats.pm
- install/install.pl
- feedlog.pl
- gatherstats.pl
- groupstats.pl

Signed-off-by: Thomas Hochstein <thh@inter.net>
9 years agoInitial checkin.
Thomas Hochstein [Fri, 17 Sep 2010 11:49:29 +0000 (13:49 +0200)] 
Initial checkin.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This page took 0.010927 seconds and 4 git commands to generate.