iRail/The-DataTank — Issue #23: TDTStats all and total support
Author: lievenjanssen
Created: 2012-03-03 07:00:45+00:00
State: open

Change all so it shows you all packages and all resources with their date and counts.

Add total which totalizes packages and resources.

e.g.

TDTStats/Month/all/all/2012/03 will show

package, resouce, day, count
package1, resource1, 1, 200
package1, resource2, 1, 250
package2, resource3, 1, 300
package2, resource3, 2, 350

TDTStats/Month/total/all/2012/03 will show

resouce, day, count
resource1, 1, 200
resource2, 1, 250
resource3, 2, 300
resource3, 2, 350

(This is not interesting but is implemented for the sake of completeness.)

TDTStats/Month/all/total/2012/03 will show

package, day, count
package1, 1, 450
package2, 1, 300
package2, 2, 350

TDTStats/Month/total/total/2012/03 will show

day, count
1, 750
2, 350