]> gitweb.ps.run Git - ps-cgit/commit
Add a 'stats' page to each repo
authorLars Hjemli <hjemli@gmail.com>
Sat, 6 Dec 2008 16:38:19 +0000 (17:38 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sat, 6 Dec 2008 16:38:19 +0000 (17:38 +0100)
commitf86a23ff537258d36bf8f1876fa7a4bede6673d8
tree8328d415416058cdc5b0fd2c6564ddcab5766c7a
parent140012d7a8e51df5a9f9c556696778b86ade4fc9
Add a 'stats' page to each repo

This new page, which is disabled by default, can be used to print some
statistics about the number of commits per period in the repository,
where period can be either weeks, months, quarters or years.

The function can be activated globally by setting 'enable-stats=1' in
cgitrc and disabled for individual repos by setting 'repo.enable-stats=0'.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Makefile
cgit.c
cgit.css
cgit.h
cgitrc.5.txt
cmd.c
shared.c
ui-shared.c
ui-stats.c [new file with mode: 0644]
ui-stats.h [new file with mode: 0644]