Thomas Hochstein
59d0c5ef86
install.pl: Change handling of upgrades.
...
Drop predefined actions in favor of arbitrary statements.
Minor code fixup.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-19 16:53:07 +02:00
Thomas Hochstein
53dcbea63e
README: Fix spelling, small changes.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-19 13:34:27 +02:00
Thomas Hochstein
313610f63c
gatherstats.pl: Add documentation of 'disregard' to POD.
...
Database entries in DBTableRaw marked 'disregard' will
be ignored by gatherstats. Document that.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-19 13:32:12 +02:00
Thomas Hochstein
76ead5f97b
feedlog.pl: Fix annoying logging error.
...
warn() output to errlog was not activated by '-d' debug
switch, but on by default and just deactivated by '-d'.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-19 13:27:28 +02:00
Thomas Hochstein
4bbd46d336
NewsStats.pm: Fix $VERSION and $PackageVersion.
...
Set to 0.01 from 0.1
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-19 00:21:42 +02:00
Thomas Hochstein
9c141b0ca7
install.pl: Fix installation instructions.
...
Example newsfeeds entry was missing a backslash
(had to be quoted).
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-19 00:21:12 +02:00
Thomas Hochstein
d8695b1c04
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>
2010-09-18 21:59:13 +02:00
Thomas Hochstein
f6d15ca78e
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>
2010-09-18 20:54:02 +02:00
Thomas Hochstein
2832c235b2
Introduce end-of-line normalization and add .gitattributes.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-18 20:53:31 +02:00
Thomas Hochstein
3430c89868
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>
2010-09-18 20:47:32 +02:00
Thomas Hochstein
610b5ef492
Add documentation.
...
Add doc/
Add doc/README
Add doc/INSTALL
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-18 20:45:41 +02:00
Thomas Hochstein
13c5a175ef
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>
2010-09-18 20:45:33 +02:00
Thomas Hochstein
2af6c2902f
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>
2010-09-18 20:45:26 +02:00
Thomas Hochstein
b221278d97
NewsStats.pm: Warn when -p takes precedence over -m.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-18 20:45:18 +02:00
Thomas Hochstein
acfce7c3d4
Add .gitignore
...
Ignore tools/, tools/* and newsstats.conf.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-18 20:45:11 +02:00
Thomas Hochstein
741336c210
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>
2010-09-18 20:44:56 +02:00
Thomas Hochstein
4db873f74d
Initial checkin.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-17 13:49:29 +02:00