Opened 13 years ago

Closed 10 years ago

#228 closed enhancement (fixed)

add total file count on first page

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: minor Milestone: svndigest 0.9
Component: output Version: trunk
Keywords: Cc:

Description

Since it is trivial one could add total number of files. Perhaps also for each individual author (?)

Change History (6)

comment:1 Changed 13 years ago by Jari Häkkinen

Milestone: 0.70.8

comment:2 Changed 11 years ago by Peter Johansson

Milestone: svndigest 0.8svndigest 0.9

comment:3 in reply to:  description ; Changed 10 years ago by Jari Häkkinen

Replying to peter:

Since it is trivial one could add total number of files. Perhaps also for each individual author (?)

For each author? Do you mean number of files contributed to or added? Maybe both?

comment:4 in reply to:  3 Changed 10 years ago by Peter Johansson

Replying to jari:

For each author? Do you mean number of files contributed to or added? Maybe both?

I don't know what I meant but I can come up with the following counts:

  1. Files ever touched (seen in the log)
  2. Files ever contributed (StatsAdd > 0)
  3. Files contributed to current content (ClassicStats > 0)
  4. Files added (oldest log entry for file)

Since first page is based on ClassicStats I think #3 makes most sense.

Implementation wise I think this could be done using the visitor pattern.

comment:5 Changed 10 years ago by Peter Johansson

Status: newassigned

comment:6 Changed 10 years ago by Peter Johansson

Resolution: fixed
Status: assignedclosed

(In [1254]) closes #228. Added count number of files and directories on first page. No count for individual authors.

Note: See TracTickets for help on using tickets.