View Issue Details

IDProjectCategoryView StatusLast Update
0000027NewsStatsReportspublic2018-01-01 21:33
ReporterthhAssigned Tothh 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product VersionProduct Build 
Target Version0.01Fixed in Version0.01 
Summary0000027: Save reports to file
DescriptionIt's already possible to redirect output from STDOUT to a file, but it would be preferable if groupstats would be able to save it reports automatically, month-wise (except for -b and -l output).

groupstats should accept a filename template, e.g. "stats", and create monthly report files "stats-2010-01", "stats-2010-02" etc., according to the time period setting.

'-f' could be used as a command line switch for that.
TagsNo tags attached.

Activities

thh

thh

2010-11-01 22:11

administrator   ~0000015

Fix committed to master branch as 78389b28e945178cad3f43a63e5d1091334e8dab.
thh

thh

2018-01-01 21:33

administrator   ~0000083

Mass closign resolved bugs.

Related Changesets

NewsStats: master 78389b28

2010-11-01 14:57:18

thh

Details Diff
groupstats.pl: Add '-f' option.

Add '-f' switch to save monthly reports to a file with
a filename made up by adding year and month to template
submitted via '-f filename': filename-YYYY-MM
Modify OutputData() accordingly.
Ignore '-c' if '-f' is set.
Allow & force '-o dump' if '-f' is set even if a time
period is defined.
Change documentation accodingly.

Fixes 0000027.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Affected Issues
0000027
mod - NewsStats.pm Diff File
mod - groupstats.pl Diff File

Issue History

Date Modified Username Field Change
2010-09-20 06:43 thh New Issue
2010-10-11 11:35 thh Status new => acknowledged
2010-10-11 11:35 thh Target Version => 0.01
2010-11-01 12:26 thh Status acknowledged => assigned
2010-11-01 12:26 thh Assigned To => guest
2010-11-01 22:11 thh Changeset attached => NewsStats master 78389b28
2010-11-01 22:11 thh Note Added: 0000015
2010-11-01 22:11 thh Status assigned => resolved
2010-11-01 22:11 thh Resolution open => fixed
2010-11-01 22:15 thh Fixed in Version => 0.01
2018-01-01 21:33 thh Status resolved => closed
2018-01-01 21:33 thh Note Added: 0000083